:root {
  --ink: #102233;
  --muted: #647487;
  --soft: #f5f8ff;
  --surface: #ffffff;
  --surface-blue: #edf4ff;
  --primary: #0b5ed7;
  --primary-dark: #083b86;
  --accent: #d62839;
  --mint: #f27b86;
  --line: rgba(16, 36, 62, 0.12);
  --shadow: 0 24px 70px rgba(8, 59, 134, 0.16);
  --shadow-soft: 0 12px 36px rgba(8, 59, 134, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 164px;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: #f8fbff;
  line-height: 1.6;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-band {
  background: rgba(237, 244, 255, 0.58);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero.section-band {
  position: relative;
  background: url("../images/neww.png") center / cover no-repeat;
}

.hero.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero.section-band > * {
  position: relative;
  z-index: 1;
}

.top-strip {
  color: #eff8ff;
  background: linear-gradient(90deg, #052d6b 0%, #083b86 45%, #0b5ed7 100%);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  max-height: 80px;
  transition: max-height 320ms ease, opacity 320ms ease, border-width 320ms ease;
}

.site-header.scrolled .top-strip {
  max-height: 0;
  opacity: 0;
  border-width: 0;
}

.marquee {
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  padding: 9px 0;
  animation: marquee 22s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

.marquee-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d5e;
  box-shadow: 0 0 0 3px rgba(255, 77, 94, 0.25);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 77, 94, 0.7);
  animation: ripple 1.6s ease-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.phone-icon {
  display: inline-block;
  width: 9px;
  height: 9px;
  border: 2px solid #9fd6ff;
  border-radius: 50%;
  position: relative;
}

.phone-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #9fd6ff;
}

.marquee-divider {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 14px;
  border-radius: 50%;
  background: rgba(159, 214, 255, 0.5);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 34, 51, 0.08);
}

.navbar {
  height: 124px;
  min-height: 0;
  display: flex;
  align-items: center;
}

.nav-inner,
.nav-links,
.brand,
.hero-actions,
.quick-points,
.footer-grid,
.newsletter {
  display: flex;
  align-items: center;
}

.nav-inner {
  justify-content: flex-start;
  gap: 18px;
}

.brand {
  gap: 0;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  border-radius: var(--radius);
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(11, 94, 215, 0.26);
}
.brand-logo {
  width: 124px;
  height: 124px;
  object-fit: contain;
  display: block;
  transform: translateY(8px);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.03rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  margin-left: auto;
  gap: 6px;
  padding: 6px;
  border: 1.5px solid rgba(16, 34, 51, 0.16);
  border-radius: 999px;
  background: rgba(245, 248, 255, 0.6);
  color: #102233;
  font-weight: 800;
  font-size: 1.18rem;
}

.nav-links > a,
.nav-item .dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  font-weight: 800;
}

.nav-links > a::after,
.nav-item .dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-links > a:hover::after,
.nav-links > a.active::after,
.nav-item .dropdown-toggle:hover::after,
.nav-item.open .dropdown-toggle::after {
  transform: scaleX(1);
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-item .dropdown-toggle:hover,
.nav-item.open .dropdown-toggle {
  color: var(--primary-dark);
}

.nav-item {
  position: relative;
}

.nav-item .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-item .chevron {
  flex: 0 0 auto;
  margin-top: -1px;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.open .chevron,
.nav-item:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 264px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 60px rgba(8, 59, 134, 0.22);
  border: 1px solid rgba(8, 59, 134, 0.08);
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease, transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-title {
  margin: 2px 8px 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.dropdown-item span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #41a4ff);
  box-shadow: 0 6px 14px rgba(11, 94, 215, 0.3);
}

.dropdown-item:nth-child(3n + 1) span {
  background: linear-gradient(135deg, #0b5ed7, #41a4ff);
}

.dropdown-item:nth-child(3n + 2) span {
  background: linear-gradient(135deg, #d62839, #ff7a56);
}

.dropdown-item:nth-child(3n) span {
  background: linear-gradient(135deg, var(--ink), #33506e);
}

.dropdown-item:hover {
  background: var(--surface-blue);
  transform: translateX(4px);
}

.dropdown-item .name-mark {
  margin-left: auto;
}
.call-button {
  position: relative;
  margin-left: 4px;
  min-width: 208px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #f21522;
  box-shadow: 0 12px 30px rgba(242, 21, 34, 0.35);
  overflow: hidden;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.call-button::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
  transform: translateX(-60%) rotate(12deg);
  transition: transform 500ms ease;
  pointer-events: none;
}

.call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(242, 21, 34, 0.45);
}

.call-button:hover::before {
  transform: translateX(60%) rotate(12deg);
}

.call-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b5ed7;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: ring 2.4s ease-in-out infinite;
}

.call-icon svg {
  display: block;
  color: #ffffff;
}

.call-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.call-text small {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.call-text strong {
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.call-button::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  top: 50%;
  left: 37px;
  transform: translate(-50%, -50%);
  animation: ring-wave 2.4s ease-out infinite;
  pointer-events: none;
}

.nabh-badge {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
}

.nabh-badge img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.nabh-page {
  min-height: calc(100vh - 124px);
  padding: 76px 0 92px;
  background:
    radial-gradient(700px 360px at 8% 8%, rgba(11, 94, 215, 0.08), transparent 60%),
    radial-gradient(720px 340px at 92% 88%, rgba(214, 40, 57, 0.07), transparent 64%),
    #f8fbff;
}

.nabh-layout {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  text-align: left;
}

.nabh-panel {
  position: sticky;
  top: 152px;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 32px 28px;
  border: 1px solid rgba(8, 59, 134, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.nabh-panel img {
  width: min(220px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
}

.nabh-panel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--primary);
  font-weight: 800;
}

.nabh-content {
  max-width: 860px;
}

.nabh-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.nabh-lead {
  max-width: 760px;
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.7;
  font-weight: 700;
}

.nabh-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.nabh-copy p {
  margin: 0;
}

.nabh-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.nabh-points div {
  padding: 20px;
  border: 1px solid rgba(8, 59, 134, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(8, 59, 134, 0.08);
}

.nabh-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.nabh-points span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

@keyframes ring {
  0%,
  22% {
    transform: rotate(0deg);
  }
  28% {
    transform: rotate(-24deg);
  }
  34% {
    transform: rotate(20deg);
  }
  40% {
    transform: rotate(-16deg);
  }
  46% {
    transform: rotate(12deg);
  }
  52% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes ring-wave {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.9;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 86px 0 64px;
}

.page#about {
  min-height: calc(100vh - 164px);
  padding: 0;
  overflow: hidden;
}

.page.home {
  position: relative;
  height: calc(100vh - 164px);
  max-height: calc(100vh - 164px);
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  background-color: #dbe2ef;
  background-image: url("../images/maun.png"),
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 56%,
      #d8d2d8 72%,
      #e6d4d6 100%
    );
  background-position: right center, left top;
  background-size: contain, 100% 100%;
  background-repeat: no-repeat, no-repeat;
}

.page.home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) calc(100% - (100vh - 164px) * 4 / 3 - 180px),
      rgba(219, 226, 239, 0.82) calc(100% - (100vh - 164px) * 4 / 3 - 40px),
      rgba(230, 212, 214, 0.48) calc(100% - (100vh - 164px) * 4 / 3 + 110px),
      rgba(230, 212, 214, 0.04) calc(100% - (100vh - 164px) * 4 / 3 + 280px),
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
}

.home-intro {
  position: absolute;
  left: 6.5%;
  top: calc(50vh - var(--header-h, 164px));
  transform: translateY(-50%);
  width: min(740px, 52%);
  text-align: left;
  z-index: 1;
}

.home-intro[data-reveal] {
  transform: translateY(calc(-50% + 18px));
}

.home-intro[data-reveal].revealed {
  transform: translateY(-50%);
}

.home-intro .eyebrow {
  margin-bottom: 18px;
  font-size: 1.15rem;
}


.hl-blue {
  color: var(--primary);
}

.hl-red {
  color: var(--accent);
}


.home-intro h1 {
  margin-bottom: 26px;
  line-height: 1.06;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
}

.home-intro h1 .hl-red {
  white-space: nowrap;
}

.home-intro .home-history {
  max-width: 650px;
  font-size: 1.06rem;
  font-weight: 550;
}

.home-intro .intro-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-intro .btn {
  padding: 16px 34px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease,
    transform 200ms ease;
}

.home-intro .btn-primary {
  color: #ffffff;
  background: var(--primary);
}

.home-intro .btn-primary:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--primary);
}

.home-intro .btn-ghost {
  color: #ffffff;
  background: var(--accent);
}

.home-intro .btn-ghost:hover {
  color: var(--accent);
  background: #ffffff;
  border-color: var(--accent);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-24px);
  }
  50% {
    transform: translateY(-42px);
  }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 90px);
  align-items: flex-start;
  text-align: left;
}

.about-media {
  position: relative;
  width: 100%;
}

.about-blob {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 62%;
  height: 62%;
  border-radius: 34% 66% 62% 38% / 48% 42% 58% 52%;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.12), rgba(65, 164, 255, 0.24));
  z-index: 0;
}

.about-blob::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -52px;
  width: 55%;
  height: 55%;
  border-radius: 44% 56% 38% 62% / 58% 44% 56% 42%;
  background: linear-gradient(135deg, rgba(214, 40, 57, 0.1), rgba(214, 40, 57, 0.2));
}

.about-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(11, 94, 215, 0.22);
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 5px solid var(--primary);
  border-radius: 32px;
  z-index: -1;
  opacity: 0.85;
}

.about-frame img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  border-radius: 26px;
}

.about-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
}

.about-copy h1 .hl-blue {
  white-space: nowrap;
}

.about-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-copy .eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.about-history,
.about-commit {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-history {
  margin-bottom: 12px;
}

.about-commit {
  margin-bottom: 16px;
}

.about-copy .emergency-card {
  margin-top: 16px;
  max-width: 520px;
}

.emergency-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, var(--surface-blue));
  border: 1px solid rgba(11, 94, 215, 0.14);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emergency-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.emergency-card .pulse-dot {
  flex: 0 0 auto;
}

.emergency-card h3 {
  margin: 0 0 6px;
}

.emergency-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.phone-link {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.phone-link .hl-red {
  color: var(--accent);
}

.page#blog {
  height: calc(100vh - 164px);
  min-height: calc(100vh - 164px);
  padding: 32px 0;
  background:
    radial-gradient(640px 320px at 10% 6%, rgba(11, 94, 215, 0.07), transparent 62%),
    radial-gradient(720px 360px at 92% 95%, rgba(214, 40, 57, 0.06), transparent 62%),
    radial-gradient(480px 240px at 85% 8%, rgba(237, 244, 255, 0.9), transparent 60%),
    #f8fbff;
}

.page#blog .section-heading {
  margin-bottom: 26px;
}

.page#blog h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1;
}

.page#blog .section-heading h1 .hl-blue {
  color: var(--primary);
}

.page#blog .section-heading h1 .hl-red {
  color: var(--accent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin-inline: auto;
  text-align: left;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 26px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(8, 59, 134, 0.1);
  box-shadow: 0 10px 30px rgba(8, 59, 134, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--primary), #41a4ff);
}

.blog-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--accent), #f27b86);
}

.blog-card:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--ink), #33506e);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 59, 134, 0.22);
  box-shadow: 0 28px 56px rgba(8, 59, 134, 0.16);
}

.blog-cat {
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #41a4ff);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card:nth-child(3n + 2) .blog-cat {
  background: linear-gradient(135deg, var(--accent), #f27b86);
}

.blog-card:nth-child(3n) .blog-cat {
  background: linear-gradient(135deg, var(--ink), #33506e);
}

.blog-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.3;
}

.blog-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.blog-link {
  margin-top: auto;
  padding: 4px 0 0;
  border: 0;
  background: none;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.blog-link::after {
  content: " ->";
  display: inline-block;
  transition: transform 200ms ease;
}

.blog-link:hover {
  color: var(--accent);
}

.blog-link:hover::after {
  transform: translateX(4px);
}

.page h1 {
  margin-bottom: 10px;
}

.page p {
  margin: 0;
  color: var(--muted);
}

.hero {
  padding: 86px 0 64px;
  overflow: hidden;
}

.hero-grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  font-family: "Sora", "Manrope", Arial, sans-serif;
  letter-spacing: -0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.85rem, 6vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-text,
.section-copy > p,
.choice p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 16px 34px rgba(11, 94, 215, 0.24);
}

.secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(11, 94, 215, 0.2);
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.quick-points {
  margin-top: 28px;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-points span {
  color: #305266;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 94, 215, 0.16);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-panel {
  min-height: 520px;
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(11, 94, 215, 0.2);
}

.hero-panel::before {
  width: 320px;
  height: 320px;
  right: -70px;
  top: -64px;
}

.hero-panel::after {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -40px;
  background: rgba(214, 40, 57, 0.08);
}

.pulse-card,
.orbit-card,
.glass-chart {
  position: absolute;
  z-index: 2;
}

.main-card {
  left: 46px;
  top: 58px;
  width: min(330px, calc(100% - 72px));
  min-height: 210px;
  padding: 30px;
  border-radius: var(--radius);
  color: #ffffff;
  background: #d62839;
  box-shadow: 0 24px 58px rgba(214, 40, 57, 0.22);
}

.main-card p {
  margin: 22px 0 8px;
  opacity: 0.86;
}

.main-card strong {
  display: block;
  max-width: 250px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.medical-cross {
  width: 58px;
  height: 58px;
  position: relative;
  display: block;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.medical-cross::before,
.medical-cross::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 28px;
  height: 8px;
  border-radius: 99px;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.medical-cross::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.orbit-card {
  display: grid;
  place-items: center;
  width: 140px;
  height: 112px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.orbit-card span {
  color: var(--primary-dark);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.orbit-card small {
  color: var(--muted);
  font-weight: 700;
}

.card-one {
  right: 42px;
  top: 156px;
}

.card-two {
  left: 84px;
  bottom: 68px;
}

.glass-chart {
  right: 50px;
  bottom: 54px;
  width: 210px;
  height: 180px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.glass-chart i {
  flex: 1;
  border-radius: 99px 99px 4px 4px;
  background: var(--primary);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -52px;
  position: relative;
  z-index: 4;
}

.intro article,
.service-card,
.doctor-card,
.testimonial-grid blockquote,
.appointment-form,
.about-card,
.stats article,
.tab-panel {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 34, 51, 0.08);
  box-shadow: var(--shadow-soft);
}

.intro article {
  padding: 28px;
}

.intro span,
.service-icon,
.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #ffffff;
  border-radius: var(--radius);
  background: var(--primary);
  font-weight: 800;
}

.intro p,
.service-card p,
.doctor-card p,
.testimonial-grid p,
.tab-panel p {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 0;
}

.about,
.choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.section-copy {
  max-width: 680px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list div {
  padding: 18px;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: var(--soft);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  color: var(--muted);
  margin-top: 4px;
}

.about-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.care-ring {
  position: absolute;
  inset: 64px 32px 32px 70px;
}

.care-ring span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(11, 94, 215, 0.22);
}

.care-ring span:nth-child(1) {
  inset: 0;
}

.care-ring span:nth-child(2) {
  inset: 56px;
  background: rgba(255, 255, 255, 0.54);
}

.care-ring span:nth-child(3) {
  inset: 112px;
  background: var(--primary);
  box-shadow: 0 18px 34px rgba(11, 94, 215, 0.22);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.service-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stats article {
  padding: 22px;
  text-align: center;
}

.home-intro h1 .hl-blue {
  white-space: nowrap;
}

.stats strong {
  display: block;
  color: var(--primary-dark);
  font-size: 2.45rem;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab {
  min-height: 44px;
  border: 1px solid rgba(11, 94, 215, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  color: #305266;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  color: #ffffff;
  background: var(--primary);
}

.tab-panel {
  display: none;
  max-width: 830px;
  padding: 32px;
}

.tab-panel.active {
  display: block;
}

.appointment-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 42px;
  margin-top: 88px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  color: #ffffff;
  background: #083b86;
  box-shadow: var(--shadow);
}

.appointment-strip .eyebrow,
.appointment-strip h2 {
  color: #ffffff;
}

.appointment-strip .button {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: none;
}

.doctor-slider {
  position: relative;
  max-width: none;
  margin-inline: auto;
  overflow: hidden;
  padding: 4px 78px 8px;
}

.doctor-track {
  display: flex;
  gap: 14px;
  transition: transform 550ms cubic-bezier(0.3, 0.9, 0.3, 1);
}

.doctor-track .doctor-card {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(11, 94, 215, 0.3);
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(5, 30, 70, 0.18);
  transition: background 200ms ease, color 200ms ease,
    transform 200ms ease, border-color 200ms ease;
}

.slider-btn.prev {
  left: 10px;
  transform: translateY(-50%);
}

.slider-btn.next {
  right: 10px;
  transform: translateY(-50%);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev:disabled,
.slider-btn.next:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.slider-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(11, 94, 215, 0.25);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.slider-dots .dot.active {
  background: var(--primary);
  transform: scale(1.35);
}

@media (max-width: 760px) {
  .doctor-track {
    gap: 12px;
  }

  .doctor-track .doctor-card {
    flex: 0 0 100%;
  }

  .doctor-slider {
    padding: 4px 46px 8px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-btn.prev {
    left: 4px;
  }

  .slider-btn.next {
    right: 4px;
  }

  .slider-dots {
    margin-top: 16px;
  }
}

.page#doctors {
  display: block;
  height: auto;
  max-height: none;
  min-height: auto;
  padding: 76px 0 84px;
}

.doctor-pin {
  position: relative;
  top: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.doctor-pin .container {
  width: 100%;
}

.page#doctors .section-heading {
  margin-bottom: 24px;
}

.page#doctors h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0;
}

.page#doctors .doctor-card {
  padding: 12px;
}

.doctor-card {
  position: relative;
  padding: 12px;
  text-align: left;
  display: flex;
  align-items: stretch;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.doctor-slider .doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(11, 94, 215, 0.18);
}

.doctor-photo {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  flex: 1 0 100%;
  width: 100%;
  min-height: clamp(300px, 48vh, 600px);
  flex-shrink: 0;
  background: var(--surface-blue);
}

.doctor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.doctor-photo.has-photo img {
  position: absolute;
  inset: 0;
}

.doctor-photo.has-photo .doctor-placeholder {
  display: none;
}

.doctor-card:hover .doctor-photo img {
  transform: translateY(-14px) scale(1.04);
}

.doctor-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(8, 59, 134, 0.4);
  background:
    radial-gradient(320px 200px at 50% 20%, rgba(65, 164, 255, 0.18), transparent 70%),
    linear-gradient(160deg, #eaf2ff 0%, #dde9fb 100%);
  border: 2px dashed rgba(11, 94, 215, 0.35);
  border-radius: 16px;
}

.doctor-placeholder span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(8, 59, 134, 0.55);
}

.doctor-card:hover .doctor-placeholder {
  color: var(--primary);
  border-color: rgba(11, 94, 215, 0.55);
}

.doctor-card:hover .doctor-placeholder span {
  color: var(--primary);
}

.doctor-card.jumped .doctor-photo {
  box-shadow: 0 0 0 4px var(--primary), 0 18px 40px rgba(11, 94, 215, 0.3);
  animation: doctorPulse 900ms ease 2;
}

@keyframes doctorPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.doctor-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px 16px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(
    to top,
    rgba(222, 62, 78, 0.97) 0%,
    rgba(235, 92, 103, 0.93) 48%,
    rgba(247, 138, 140, 0.55) 78%,
    transparent 100%
  );
  transform: translateY(calc(100% - 12px));
  opacity: 0;
  pointer-events: none;
  transition: transform 380ms cubic-bezier(0.3, 0.9, 0.3, 1), opacity 260ms ease;
}

.doctor-id {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.doctor-role {
  margin: 0;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(190, 30, 45, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doctor-card:hover .doctor-info {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.page#doctors h3 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  text-shadow: 0 2px 6px rgba(190, 30, 45, 0.4);
}

.doctor-card:hover h3 {
  color: #ffffff;
}

.doctor-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5, 30, 70, 0.3);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.doctor-more:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.profile-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-dark);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5, 30, 70, 0.25);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.profile-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.12);
}

.profile-btn::after {
  content: "View Profile";
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(5, 25, 60, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.profile-btn:hover::after {
  opacity: 1;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  opacity: 0;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.profile-modal.open {
  visibility: visible;
  opacity: 1;
}

.profile-box {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(340px, 42%) 1fr;
  background: #ffffff;
  overflow: auto;
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(0.32, 0.85, 0.36, 1);
}

.profile-modal.open .profile-box {
  transform: translateY(0);
}

.profile-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 130;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(5, 20, 60, 0.25);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.profile-close:hover {
  background: var(--accent);
  color: #ffffff;
  transform: rotate(90deg);
}

.profile-photo {
  position: relative;
  height: 100%;
  background: var(--surface-blue);
  overflow: hidden;
}

.profile-photo::before {
  content: "Photo Coming Soon";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(8, 59, 134, 0.5);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-photo:has(img:not([hidden]))::before,
.profile-photo:has(img:not([hidden]))::after {
  display: none;
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 45, 107, 0.35), transparent 60%);
}

.profile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-body {
  margin: auto;
  width: 100%;
  max-width: 660px;
  padding: 56px 48px;
  text-align: left;
}

.profile-body .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.profile-body .eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.profile-body h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.profile-role {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11, 94, 215, 0.09);
  border: 1px solid rgba(11, 94, 215, 0.22);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.85rem;
}

.profile-spec {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(214, 40, 57, 0.08);
  border: 1px solid rgba(214, 40, 57, 0.22);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
}

.profile-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.profile-meta-item {
  padding: 16px 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, var(--surface-blue));
  border: 1px solid rgba(11, 94, 215, 0.12);
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.profile-meta-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 94, 215, 0.14);
}

.profile-meta-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(11, 94, 215, 0.28);
}

.profile-meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
  font-weight: 700;
}

.profile-meta-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.profile-about-block {
  padding: 22px 24px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4f8ff, #ffffff);
  border: 1px solid rgba(11, 94, 215, 0.1);
  border-left: 4px solid var(--primary);
}

.profile-about-block h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.profile-about {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.profile-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease,
    border-color 200ms ease, transform 200ms ease;
}

.profile-actions .btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.profile-actions .btn-primary:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.profile-actions .profile-call {
  background: var(--accent);
  color: #ffffff;
}

.profile-actions .profile-call:hover {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .profile-box {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    height: 36vh;
    min-height: 0;
  }

  .profile-body {
    padding: 32px 24px 40px;
  }

  .profile-meta {
    grid-template-columns: 1fr;
  }
}

.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  opacity: 0;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.blog-modal.open {
  visibility: visible;
  opacity: 1;
}

.blog-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f8fbff;
  overflow: auto;
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(0.32, 0.85, 0.36, 1);
}

.blog-modal.open .blog-box {
  transform: translateY(0);
}

.blog-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 130;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(5, 20, 60, 0.25);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.blog-close:hover {
  background: var(--accent);
  color: #ffffff;
  transform: rotate(90deg);
}

.blog-box-header {
  position: relative;
  padding: 92px 48px 56px;
  color: #ffffff;
  background:
    radial-gradient(520px 260px at 88% 12%, rgba(65, 164, 255, 0.35), transparent 60%),
    radial-gradient(480px 240px at 8% 90%, rgba(214, 40, 57, 0.28), transparent 60%),
    linear-gradient(120deg, #052d6b 0%, #083b86 50%, #0b5ed7 100%);
  overflow: hidden;
}

.blog-box-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

.blog-box-header > * {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
}

.blog-box-cat {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(214, 40, 57, 0.35);
}

.blog-box-header h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.blog-box-lead {
  margin: 0;
  color: rgba(239, 248, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.7;
}

.blog-box-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  padding: 56px 48px 72px;
  text-align: left;
}

.blog-article h3 {
  margin: 34px 0 12px;
  font-size: 1.35rem;
  color: var(--ink);
}

.blog-article h3:first-child {
  margin-top: 0;
}

.blog-article p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-article ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.blog-article li {
  margin-bottom: 8px;
}

.blog-article li::marker {
  color: var(--accent);
}

.blog-box-side {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 32px 28px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(8, 59, 134, 0.1);
  box-shadow: 0 12px 36px rgba(8, 59, 134, 0.1);
}

.blog-box-side h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.2rem;
}

.blog-box-side p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.blog-box-side .btn {
  width: 100%;
  margin-top: 12px;
  justify-content: center;
}

@media (max-width: 900px) {
  .blog-box-header {
    padding: 84px 28px 44px;
  }

  .blog-box-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 28px 64px;
  }

  .blog-box-side {
    position: static;
  }
}

.company-network {
  padding: 92px 0 106px;
  background:
    radial-gradient(540px 260px at 12% 8%, rgba(11, 94, 215, 0.1), transparent 65%),
    radial-gradient(520px 260px at 92% 88%, rgba(214, 40, 57, 0.08), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.company-network > .container {
  width: min(1600px, 96%);
}

.company-shell {
  position: relative;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(34px, 4.8vw, 56px);
  border: 1px solid rgba(8, 59, 134, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 255, 0.76));
  box-shadow: 0 26px 68px rgba(8, 59, 134, 0.14);
}

.company-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #41a4ff, var(--accent));
}

.company-network-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  text-align: left;
}

.company-network-head .eyebrow {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.company-network-head h2 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  line-height: 1.08;
  white-space: nowrap;
}

.company-network-head::after {
  content: "Trusted Healthcare Partners";
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(8, 59, 134, 0.12);
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.embedded-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.embedded-brand {
  position: relative;
  min-height: 188px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 59, 134, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(248, 251, 255, 0.92) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.embedded-brand::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 10px;
  border: 1px dashed rgba(8, 59, 134, 0.16);
}

.embedded-brand:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 59, 134, 0.22);
  box-shadow: 0 20px 46px rgba(8, 59, 134, 0.16);
}

.company-badge {
  position: relative;
  z-index: 1;
  width: calc(100% - 28px);
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid rgba(8, 59, 134, 0.12);
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(8, 59, 134, 0.1);
}

.company-logo {
  display: block;
  width: min(152px, 88%);
  height: 84px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.company-badge span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
}

.logo-emblem {
  position: relative;
  z-index: 1;
  width: min(104px, 72%);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(8, 59, 134, 0.12);
  box-shadow: 0 12px 28px rgba(8, 59, 134, 0.1);
}

.logo-emblem::before,
.logo-emblem::after,
.logo-emblem i,
.logo-emblem i::before,
.logo-emblem i::after {
  content: "";
  position: absolute;
  display: block;
}

.mark-cross::before,
.mark-cross::after {
  width: 44px;
  height: 11px;
  border-radius: 999px;
  background: var(--primary);
}

.mark-cross::after {
  transform: rotate(90deg);
}

.mark-shield::before {
  width: 42px;
  height: 48px;
  border-radius: 20px 20px 24px 24px;
  background: linear-gradient(135deg, var(--accent), #f27b86);
  clip-path: polygon(50% 0, 88% 14%, 82% 72%, 50% 100%, 18% 72%, 12% 14%);
}

.mark-shield::after {
  width: 20px;
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
}

.mark-pulse::before {
  width: 62px;
  height: 28px;
  border: solid var(--primary-dark);
  border-width: 0 0 5px 0;
  clip-path: polygon(0 62%, 18% 62%, 28% 28%, 42% 88%, 56% 44%, 68% 62%, 100% 62%, 100% 100%, 0 100%);
}

.mark-ring::before {
  width: 50px;
  height: 50px;
  border: 8px solid var(--primary);
  border-right-color: var(--accent);
  border-radius: 50%;
}

.mark-plus::before {
  width: 56px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #41a4ff);
}

.mark-plus::after {
  width: 28px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), #f27b86);
}

.mark-care::before {
  width: 54px;
  height: 34px;
  border-radius: 28px 28px 8px 8px;
  background: linear-gradient(135deg, var(--primary-dark), #33506e);
}

.mark-care::after {
  width: 22px;
  height: 22px;
  top: 28px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 980px) {
  .company-network-head {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .company-network-head::after {
    justify-self: center;
  }

  .company-network-head h2 {
    white-space: normal;
  }

  .embedded-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .company-network {
    padding: 54px 0 62px;
  }

  .company-shell {
    padding: 24px 16px;
  }

  .company-network-head::after {
    display: none;
  }

  .embedded-brand-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .embedded-brand {
    min-height: 146px;
  }

  .company-badge {
    min-height: 114px;
  }

  .company-logo {
    height: 58px;
  }
}
.page#gallery {
  min-height: auto;
  padding: 96px 0 88px;
  overflow: hidden;
}

.page#gallery .section-heading {
  margin-bottom: 24px;
}

.page#gallery .section-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.page#gallery .section-heading h1 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.gallery-carousel {
  max-width: 1060px;
  margin-inline: auto;
}

.gallery-slider {
  overflow: hidden;
  border-radius: 18px;
  cursor: grab;
}

.gallery-slider.dragging {
  cursor: grabbing;
}

.gallery-slider.dragging .gallery-track {
  transition: none;
}

.gallery-track {
  display: flex;
  flex-direction: row;
  transition: transform 480ms cubic-bezier(0.34, 1.2, 0.64, 1);
}

.gallery-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr;
  gap: 18px;
  min-width: 100%;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: var(--surface-blue);
  box-shadow: 0 6px 16px rgba(8, 59, 134, 0.10);
}

.gallery-item:only-child {
  grid-column: 1 / -1;
  aspect-ratio: 8 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

/* Preserve the complete frame of the landscape geotagged photographs. */
.gallery-item img[src*="Geo-tagging"] {
  object-fit: contain;
  background: #f8fbff;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover img[src*="Geo-tagging"] {
  transform: scale(1.025);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 45, 107, 0.65), transparent 55%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 18, 0.94);
  backdrop-filter: blur(8px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms ease, visibility 300ms ease;
  cursor: zoom-out;
}

.gallery-lightbox.open {
  visibility: visible;
  opacity: 1;
}

.gallery-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  cursor: default;
  transform: scale(0.92);
  transition: transform 350ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

.gallery-lightbox.open img {
  transform: scale(1);
}

.gallery-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.gallery-lightbox-close:hover {
  background: var(--accent);
  color: #ffffff;
  transform: rotate(90deg);
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 0;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.gallery-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.gallery-count {
  min-width: 68px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .page#gallery {
    padding: 72px 0 64px;
  }

  .gallery-item figcaption {
    font-size: 0.85rem;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 8px;
  }
}
.testimonial-grid blockquote {
  margin: 0;
  padding: 28px;
}

.testimonial-grid p::before {
  content: "\"";
  color: var(--primary);
  font-size: 2.4rem;
  line-height: 0;
}

.testimonial-grid cite {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.work-hours {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid rgba(11, 94, 215, 0.12);
}

.work-hours span {
  color: var(--muted);
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.appointment-form label {
  display: grid;
  gap: 6px;
  color: #304253;
  font-weight: 800;
  text-align: left;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea,
.newsletter input {
  width: 100%;
  border: 1px solid rgba(16, 34, 51, 0.12);
  border-radius: var(--radius);
  background: #fbfefe;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus,
.newsletter input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.page.contact {
  height: auto;
  min-height: auto;
  padding: clamp(72px, 8vw, 104px) 0;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(370px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
}

.contact-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  min-height: auto;
  padding: 8px 0 8px 30px;
  text-align: left;
}

.contact-info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: min(70%, 420px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  transform: translateY(-50%);
}

.contact-info .eyebrow {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.contact-info h2 {
  max-width: 660px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(2.3rem, 4.25vw, 3.85rem);
  line-height: 1.03;
}

.contact-lead {
  margin: 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
  margin-top: 24px;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(8, 59, 134, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(8, 59, 134, 0.1);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.contact-action:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 59, 134, 0.22);
  box-shadow: 0 20px 44px rgba(8, 59, 134, 0.16);
}

.contact-action.emergency {
  color: #ffffff;
  background: linear-gradient(135deg, #f21522, #d62839);
  border-color: rgba(242, 21, 34, 0.28);
  box-shadow: 0 16px 38px rgba(242, 21, 34, 0.24);
}

.contact-action-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--surface-blue);
}

.contact-action.emergency .contact-action-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.contact-action small,
.contact-action strong {
  display: block;
  line-height: 1.25;
}


.contact-action small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-action.emergency small {
  color: rgba(255, 255, 255, 0.82);
}

.contact-action strong {
  color: var(--ink);
  font-size: 1.05rem;
  white-space: nowrap;
}

.contact-action.emergency strong {
  color: #ffffff;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 108px;
  padding: 14px;
  border: 1px solid rgba(8, 59, 134, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.contact-detail-mark {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(214, 40, 57, 0.12);
}

.contact-detail-mark.blue {
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(11, 94, 215, 0.12);
}

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.98rem;
}

.contact-detail p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.appointment-form {
  display: grid;
  gap: 13px;
  width: min(400px, 100%);
  padding: 26px 28px;
  text-align: left;
  border: 1px solid rgba(8, 59, 134, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(8, 59, 134, 0.14);
}

.appointment-form h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.28rem;
}

.form-intro {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.appointment-form label {
  gap: 6px;
  font-size: 0.85rem;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  padding: 11px 13px;
  font-size: 0.92rem;
}

.appointment-form .btn {
  justify-content: center;
  margin-top: 2px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.appointment-form .btn-primary {
  background: #f21522;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(242, 21, 34, 0.35);
}

.appointment-form .btn-primary::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
  transform: translateX(-60%) rotate(12deg);
  transition: transform 500ms ease;
  pointer-events: none;
}

.appointment-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(242, 21, 34, 0.45);
}

.appointment-form .btn-primary:hover::before {
  transform: translateX(60%) rotate(12deg);
}

.form-status {
  font-size: 0.88rem;
}

.contact-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 56px 0 170px;
}

.site-footer {
  color: #dcebf0;
  background: #10243e;
  position: relative;
  z-index: 2;
  padding: 72px 0 36px;
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(320px, 400px);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}

.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  min-height: 0;
  text-align: left;
  margin-left: 0;
}

.foot-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px clamp(24px, 4vw, 56px);
  width: 100%;
  min-width: 0;
  margin: 0;
}

.foot-doctors .foot-doc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  column-gap: 24px;
}

.foot-doctors .foot-doc-list a {
  white-space: nowrap;
}

.foot-col h3 {
  margin-bottom: 18px;
  color: #f21522;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.foot-col a {
  display: block;
  color: #d9e6f0;
  margin: 9px 0;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 180ms ease, transform 180ms ease;
}

.foot-col a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.foot-logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.foot-history {
  margin: 0;
  color: #dcebf0;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 460px;
}

.footer-socials {
  width: 100%;
  margin: 0;
  gap: 14px;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.footer-card-area {
  min-height: 140px;
}

.footer-socials-center {
  justify-content: center;
}

.footer-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.footer-socials .social-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  color: #f21522;
  background: rgba(242, 21, 34, 0.12);
  border: 1.5px solid rgba(242, 21, 34, 0.45);
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.footer-socials .social-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
  background: #f21522;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-card-area {
  min-height: 140px;
}

.footer-intro-card {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 280px;
  z-index: 2;
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.footer-intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 50%;
  padding: 2px;
  background: linear-gradient(120deg, #ffe38a, #ffb84d, #f21522, #0b5ed7, #5aa7ff, #ffe38a);
  border-radius: 16px 16px 0 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.footer-intro-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 55%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%);
  background-size: 250% 100%;
  opacity: 0;
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}

.footer-intro-card .footer-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  transform: none;
}

.footer-intro-card .footer-history {
  margin: 16px 0 0;
  color: #000000;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.footer-visit {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin-left: 0;
}

.footer-map-card,
.footer-review-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.footer-map-card iframe {
  display: block;
  width: 100%;
  height: 156px;
  border: 0;
  filter: saturate(0.9) contrast(1.05);
}

.footer-map-link,
.footer-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-map-link {
  color: #ffffff;
  background: rgba(11, 94, 215, 0.24);
}

.footer-map-link:hover {
  background: var(--primary);
}

.footer-review-card {
  display: grid;
  grid-template-columns: 184px 1fr;
  align-items: stretch;
  min-height: 184px;
}

.review-qr {
  display: grid;
  place-items: center;
  padding: 12px;
  background: #ffffff;
}

.review-qr img {
  display: block;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  object-fit: contain;
}
.footer-review-button {
  color: #ffffff;
  background: linear-gradient(135deg, #f21522, #d62839);
}

.footer-review-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #d62839, #0b5ed7);
}

.footer-review-button svg {
  flex: 0 0 auto;
}
@media (max-width: 1120px) {
  .foot-inner {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }

  .footer-visit {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  }

  .footer-map-card iframe {
    height: 180px;
  }
}

@media (max-width: 760px) {
  .foot-inner {
    grid-template-columns: 1fr;
  }

  .footer-visit {
    grid-column: auto;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .footer-review-card {
    grid-template-columns: 184px 1fr;
  }
}
.footer-grid h2 {
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid a:not(.brand) {
  display: block;
  color: #dcebf0;
  margin: 8px 0;
}

.work-hours-panel {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.work-hours-panel h2 {
  margin-bottom: 14px;
}

.work-hour-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #dcebf0;
  font-size: 0.95rem;
  font-weight: 600;
}

.hour-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7fb0ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hour-icon svg {
  display: block;
  flex: 0 0 auto;
}

.hour-dot {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(214, 40, 57, 0.14);
  border: 1px solid rgba(214, 40, 57, 0.35);
}

.hour-dot i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

.hour-dot i::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--accent);
  animation: open-pulse 2s ease-out infinite;
}

@keyframes open-pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.footer-call {
  margin-top: 8px;
  margin-left: 0;
  min-width: 0;
  width: auto;
  min-height: 46px;
  padding: 7px 16px;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-call .call-text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.footer-call .call-text strong {
  font-size: 0.9rem;
}

.footer-call .call-icon {
  width: 32px;
  height: 32px;
}

.footer-call .call-icon svg {
  width: 15px;
  height: 15px;
}

.footer-phone {
  margin-top: 6px;
  font-weight: 800;
  color: #ffffff !important;
}

.newsletter {
  align-items: stretch;
  gap: 8px;
}

.newsletter button {
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--primary);
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

.copyright {
  margin-top: 42px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #bcd2dc;
  font-size: 0.9rem;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--primary-dark);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
  font-weight: 800;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms ease, transform 450ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {

  .page#blog {
    height: auto;
    min-height: auto;
    padding: 64px 0;
  }
  .page.contact {
    height: auto;
    min-height: auto;
    padding: 64px 0;
  }
  .hero-grid,
  .about,
  .choice,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-info {
    max-width: 700px;
    min-height: auto;
    margin-inline: auto;
    padding-left: 0;
    text-align: center;
  }

  .contact-info::before {
    left: 50%;
    top: -20px;
    width: 96px;
    height: 5px;
    transform: translateX(-50%);
  }

  .contact-lead {
    margin-inline: auto;
  }

  .contact-actions {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .contact-details {
    max-width: 620px;
    margin-inline: auto;
    text-align: left;
  }

  .contact-wrap .appointment-form {
    margin-inline: auto;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    min-height: auto;
  }

  .about-copy {
    text-align: center;
  }

  .about-media {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .about-copy .emergency-card {
    margin-inline: auto;
  }

  .page#about {
    padding: 40px 0;
  }

  .hero-panel {
    min-height: 460px;
  }

  .intro,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page#doctors {
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 0;
  }

  .doctor-pin .container {
    max-width: none;
  }

  .stats {
    max-width: 700px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .section {
    padding: 68px 0;
  }

  .marquee-track {
    animation-duration: 12s;
  }

  .nav-toggle {
    display: block;
  }
  .call-button {
    display: none;
  }

  .nabh-badge {
    width: 72px;
    height: 72px;
    margin-left: auto;
  }

  .nabh-badge img {
    width: 72px;
    height: 72px;
  }

  .simple-header .static-links {
    display: none;
  }

  .nabh-page {
    padding: 46px 0 68px;
  }

  .nabh-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nabh-panel {
    position: static;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    padding: 18px;
  }

  .nabh-panel img {
    width: 92px;
  }

  .nabh-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .nabh-lead {
    font-size: 1rem;
  }

  .nabh-points {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    inset: 118px 14px auto 14px;
    display: grid;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-item .dropdown-toggle::after {
    margin-top: 0;
  }

  .nav-item::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border-color: var(--line);
  }

  .nav-item:hover .dropdown-menu,
  .nav-item.open .dropdown-menu {
    transform: none;
    display: grid;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-panel {
    min-height: 430px;
  }

  .main-card {
    left: 22px;
    top: 28px;
  }

  .card-one {
    right: 18px;
    top: 206px;
  }

  .card-two {
    left: 22px;
    bottom: 22px;
  }

  .glass-chart {
    right: 18px;
    bottom: 22px;
    width: 160px;
    height: 134px;
    padding: 18px;
  }

  .intro,
  .service-grid,
  .testimonial-grid,
  .stats,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .appointment-strip {
    display: grid;
    padding: 30px;
  }

  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 44px;
  }

  .foot-brand {
    padding-left: 0;
  }

  .foot-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.foot-inner {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  grid-template-areas:
    "brand links"
    "brand visit";
  gap: 28px clamp(32px, 5vw, 64px);
}

.foot-brand {
  grid-area: brand;
  align-items: stretch;
  gap: 18px;
  min-height: 0;
  text-align: left;
}

.footer-intro-card {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  min-height: 280px;
  aspect-ratio: auto;
}

.footer-socials {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  justify-content: center;
}

.foot-links {
  grid-area: links;
  grid-template-columns: minmax(120px, 0.8fr) minmax(280px, 1.35fr) minmax(180px, 1fr);
}

.foot-col {
  min-width: 0;
}

.foot-doctors .foot-doc-list {
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  column-gap: 18px;
}

.footer-visit {
  grid-area: visit;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  margin: 8px 0 0;
}

.footer-map-link,
.footer-review-button {
  justify-content: center;
}

@media (max-width: 1120px) {
  .foot-inner {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    grid-template-areas:
      "brand links"
      "brand visit";
    gap: 28px 36px;
  }

  .foot-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-blogs {
    grid-column: 1 / -1;
  }

  .footer-visit {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  }
}

@media (max-width: 760px) {
  .footer-review-card {
    grid-template-columns: 160px 1fr;
    min-height: 160px;
  }

  .review-qr img {
    max-width: 136px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .foot-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "visit";
    gap: 34px;
  }

  .foot-brand {
    max-width: 340px;
    margin-inline: auto;
  }

  .foot-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .foot-blogs {
    grid-column: auto;
  }

  .footer-visit {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 500px;
  }

  .main-card {
    width: calc(100% - 44px);
  }

  .card-one,
  .card-two,
  .glass-chart {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-left: 22px;
    margin-top: 254px;
  }

  .card-two,
  .glass-chart {
    margin-top: 14px;
  }

  .glass-chart {
    width: calc(100% - 44px);
  }

  .newsletter {
    display: grid;
  }
}
/* Deployment responsive hardening */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  min-width: 0;
}

@media (max-width: 1180px) {
  .navbar {
    height: auto;
    min-height: 104px;
    padding: 8px 0;
  }

  .brand-logo {
    width: 96px;
    height: 96px;
    transform: none;
  }

  .nav-inner {
    gap: 12px;
  }

  .nav-links {
    font-size: 0.98rem;
  }

  .nav-links > a,
  .nav-item .dropdown-toggle {
    padding: 8px 10px;
  }

  .call-button {
    min-width: 178px;
    padding-inline: 14px;
  }

  .nabh-badge,
  .nabh-badge img {
    width: 82px;
    height: 82px;
  }

  .page.home,
  .page#about,
  .page#blog,
  .page.contact {
    height: auto;
    max-height: none;
    min-height: auto;
  }

  .page.home {
    min-height: 660px;
    padding: 96px 0 72px;
    align-items: center;
    background-position: right bottom, left top;
    background-size: min(58vw, 680px) auto, 100% 100%;
  }

  .home-intro {
    position: relative;
    left: auto;
    top: auto;
    width: var(--container);
    max-width: 620px;
    margin: 0 auto 0 6vw;
    transform: none !important;
  }

  .home-intro[data-reveal],
  .home-intro[data-reveal].revealed {
    transform: none !important;
  }

  .about-grid {
    gap: 56px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .doctor-track .doctor-card {
    flex: 0 0 calc((100% - 14px) / 2);
  }

  html {
    scroll-padding-top: 118px;
  }

  .page {
    min-height: auto;
    padding: 72px 0;
  }

  .page.home {
    min-height: auto;
    display: block;
    padding: 72px 0 360px;
    background-position: center bottom, left top;
    background-size: min(92vw, 620px) auto, 100% 100%;
  }

  .page.home::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 54%, rgba(255, 255, 255, 0.25) 100%);
  }

  .home-intro {
    width: var(--container);
    max-width: 720px;
    margin-inline: auto;
  }

  .home-intro h1 .hl-red,
  .about-copy h1 .hl-blue {
    white-space: normal;
  }

  .about-frame img {
    min-height: 320px;
    max-height: 460px;
  }

  .doctor-pin {
    position: relative;
    height: auto;
    min-height: auto;
    padding: 72px 0;
    overflow: visible;
  }

  .doctor-slider {
    width: 100%;
  }

  .doctor-track {
    align-items: stretch;
  }

  .doctor-photo {
    min-height: clamp(320px, 56vw, 520px);
  }

  .profile-box {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 42vh;
  }

  .profile-body {
    padding: 48px 28px 72px;
  }

  .profile-stats,
  .profile-actions,
  .blog-box-body,
  .contact-actions,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    align-items: start;
  }

  .contact-wrap .appointment-form {
    width: min(560px, 100%);
  }

  .footer-review-card {
    grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  html {
    scroll-padding-top: 100px;
  }

  body {
    font-size: 15px;
  }

  .top-strip {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .marquee-track {
    padding: 7px 0;
  }

  .navbar {
    min-height: 82px;
  }

  .nav-inner {
    width: min(100% - 18px, 1180px);
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
  }

  .nabh-badge,
  .nabh-badge img {
    width: 54px;
    height: 54px;
  }

  .nav-links {
    inset: 92px 10px auto 10px;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    border-radius: 12px;
    font-size: 1rem;
    z-index: 50;
  }

  .dropdown-menu {
    max-height: 52dvh;
    overflow-y: auto;
  }

  .dropdown-item {
    white-space: normal;
  }

  .page.home {
    padding: 56px 0 300px;
    background-size: min(105vw, 520px) auto, 100% 100%;
  }

  .home-intro h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .home-intro .eyebrow {
    font-size: 0.95rem;
  }

  .home-intro .home-history {
    font-size: 0.96rem;
  }

  .home-intro .intro-ctas,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-intro .btn,
  .btn,
  .button {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-inline: 18px;
  }

  .about-grid {
    gap: 36px;
  }

  .about-frame,
  .about-frame img {
    border-radius: 18px;
  }

  .about-frame::after,
  .about-blob {
    display: none;
  }

  .about-frame img {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .emergency-card {
    align-items: flex-start;
    border-radius: 14px;
  }

  .phone-link {
    font-size: 1.05rem;
    word-break: break-word;
  }

  .doctor-pin {
    padding: 60px 0;
  }

  .doctor-track .doctor-card {
    flex: 0 0 100% !important;
  }

  .doctor-slider {
    padding: 4px 42px 8px;
  }

  .doctor-photo {
    min-height: min(460px, 112vw);
  }

  .doctor-info {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    gap: 8px;
    padding: 18px 12px 14px;
  }

  .doctor-role {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .doctor-more {
    padding: 8px 12px;
    font-size: 0.74rem;
  }

  .profile-btn::after {
    display: none;
  }

  .gallery-page {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:only-child {
    aspect-ratio: 4 / 3;
    grid-column: auto;
  }

  .gallery-item figcaption,
  .gallery-item::after {
    opacity: 1;
  }

  .gallery-item figcaption {
    transform: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card {
    padding: 22px 20px;
  }

  .blog-box-header {
    padding: 76px 20px 34px;
  }

  .blog-box-body {
    padding: 32px 20px 54px;
  }

  .contact-info h2 {
    line-height: 1.06;
  }

  .contact-action {
    min-height: 72px;
  }

  .contact-action strong {
    white-space: normal;
    word-break: break-word;
  }

  .appointment-form {
    padding: 22px 18px;
  }

  .site-footer {
    padding: 48px 0 28px;
  }

  .footer-intro-card {
    min-height: auto;
    padding: 22px 18px;
  }

  .foot-brand {
    max-width: none;
  }

  .foot-doctors .foot-doc-list {
    grid-template-columns: 1fr;
  }

  .foot-doctors .foot-doc-list a {
    white-space: normal;
  }

  .footer-review-card {
    grid-template-columns: 1fr;
  }

  .review-qr img {
    max-width: 160px;
  }

  .footer-map-link,
  .footer-review-button {
    text-align: center;
    justify-content: center;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 430px) {
  :root {
    --container: min(100% - 18px, 1180px);
  }

  .nav-inner {
    gap: 8px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .nabh-badge,
  .nabh-badge img {
    width: 46px;
    height: 46px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .page.home {
    padding-bottom: 250px;
  }

  .home-intro h1 {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .home-intro .btn {
    padding-block: 13px;
  }

  .section-heading h1,
  .about-copy h1,
  .page#doctors h1,
  .contact-info h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .doctor-slider {
    padding-inline: 34px;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
  }

  .doctor-photo {
    min-height: min(420px, 118vw);
  }

  .doctor-info {
    display: grid;
    grid-template-columns: 1fr;
  }

  .doctor-more {
    width: 100%;
    justify-content: center;
  }

  .profile-body {
    padding-inline: 18px;
  }

  .profile-close,
  .blog-close,
  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .nabh-badge,
  .nabh-badge img {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    inset-inline: 8px;
  }

  .home-intro h1 {
    font-size: 1.72rem;
  }

  .home-intro .home-history,
  .about-history,
  .about-commit,
  .contact-lead {
    font-size: 0.92rem;
  }

  .appointment-form input,
  .appointment-form select,
  .appointment-form textarea {
    font-size: 0.9rem;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .navbar {
    min-height: 86px;
  }

  .brand-logo {
    width: 82px;
    height: 82px;
  }

  .nabh-badge,
  .nabh-badge img {
    width: 68px;
    height: 68px;
  }

  .page.home,
  .page#blog,
  .page.contact {
    height: auto;
    max-height: none;
    min-height: auto;
  }

  .page.home {
    padding-top: 70px;
    padding-bottom: 120px;
  }
}
@media (min-width: 761px) and (max-width: 980px) {
  .navbar {
    min-height: 92px;
  }

  .nav-toggle {
    display: block !important;
  }

  .call-button {
    display: none !important;
  }

  .nabh-badge {
    margin-left: auto;
  }

  .nav-links {
    position: fixed !important;
    inset: 108px 18px auto 18px;
    display: grid;
    gap: 4px;
    max-height: calc(100dvh - 128px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links > a,
  .nav-item .dropdown-toggle,
  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px;
  }

  .nav-item::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 46dvh;
    overflow-y: auto;
    margin-top: 4px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border-color: var(--line);
  }

  .nav-item:hover .dropdown-menu,
  .nav-item.open .dropdown-menu {
    transform: none;
    display: grid;
  }

  .dropdown-item {
    white-space: normal;
  }
}
/* Doctors section spacing fix */
.page#doctors {
  height: auto !important;
  min-height: auto !important;
  padding: 76px 0 84px !important;
}

.doctor-pin {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

.page#doctors .section-heading {
  margin-bottom: 26px;
}
/* Extra responsive polish for zoomed desktop and landscape tablets */
@media (min-width: 761px) and (max-width: 1180px) {
  html {
    scroll-padding-top: 112px;
  }

  .navbar {
    min-height: 92px;
  }

  .nav-toggle {
    display: block !important;
  }

  .call-button {
    display: none !important;
  }

  .nabh-badge {
    margin-left: auto;
  }

  .nav-links {
    position: fixed !important;
    inset: 108px 18px auto 18px;
    display: grid;
    gap: 4px;
    max-height: calc(100dvh - 128px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links > a,
  .nav-item .dropdown-toggle,
  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px;
  }

  .nav-item::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 46dvh;
    overflow-y: auto;
    margin-top: 4px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border-color: var(--line);
  }

  .nav-item:hover .dropdown-menu,
  .nav-item.open .dropdown-menu {
    transform: none;
    display: grid;
  }

  .dropdown-item {
    white-space: normal;
  }

  .page.home {
    min-height: auto;
    padding: 80px 0 330px;
    background-position: center bottom, left top;
    background-size: min(82vw, 620px) auto, 100% 100%;
  }

  .home-intro {
    width: var(--container);
    max-width: 760px;
    margin-inline: auto;
  }

  .doctor-track .doctor-card {
    flex: 0 0 calc((100% - 14px) / 2) !important;
  }

  .doctor-photo {
    min-height: clamp(320px, 46vw, 520px);
  }

  .foot-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "visit";
  }

  .foot-brand {
    max-width: 420px;
    margin-inline: auto;
  }

  .footer-visit {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  }
}

@media (max-width: 600px) {
  .page.home {
    padding-top: 44px;
    padding-bottom: 240px;
    background-size: min(118vw, 480px) auto, 100% 100%;
  }

  .home-intro h1 {
    font-size: clamp(1.78rem, 9vw, 2.5rem);
  }

  .home-intro .home-history,
  .about-history,
  .about-commit,
  .contact-lead {
    line-height: 1.55;
  }

  .page,
  .page#doctors,
  .page#gallery,
  .page#blog,
  .page.contact {
    padding-top: 54px !important;
    padding-bottom: 58px !important;
  }

  .doctor-slider {
    padding-inline: 30px;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
  }

  .appointment-form input,
  .appointment-form select,
  .appointment-form textarea {
    min-height: 44px;
  }
}
/* Hero alignment fix: keep text clear of sticky header and background image */
.page.home {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: auto !important;
  max-height: none !important;
  min-height: clamp(560px, calc(100dvh - var(--header-h, 124px)), 780px) !important;
  padding: clamp(54px, 8vh, 92px) 0 clamp(58px, 8vh, 96px) !important;
  overflow: hidden;
  background-color: #f8fbff;
  background-image: url("../images/maun.png"), linear-gradient(90deg, #ffffff 0%, #ffffff 60%, #eef3f9 100%) !important;
  background-position: right bottom, left top !important;
  background-size: min(50vw, 680px) auto, 100% 100% !important;
  background-repeat: no-repeat, no-repeat !important;
}

.page.home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 52%, rgba(255, 255, 255, 0.92) 64%, rgba(255, 255, 255, 0.34) 82%, rgba(255, 255, 255, 0.05) 100%) !important;
}

.home-intro,
.home-intro[data-reveal],
.home-intro[data-reveal].revealed {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  z-index: 1;
  width: var(--container) !important;
  max-width: 690px !important;
  margin: 0 auto 0 max(20px, calc((100vw - 1180px) / 2)) !important;
  padding-top: 0 !important;
  text-align: left;
  transform: translateY(-42px) !important;
}

.home-intro h1 {
  width: 100%;
  max-width: 690px;
  margin-bottom: clamp(16px, 3vw, 26px);
  font-size: clamp(2.05rem, 4vw, 3.65rem);
  line-height: 1.08;
  text-align: center;
}

.home-intro h1 .hl-blue {
  white-space: nowrap;
}

.home-intro .home-history {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  text-align: justify;
  text-align-last: center;
}

.home-intro .intro-ctas {
  justify-content: center;
}

@media (max-width: 1180px) {
  .page.home {
    min-height: auto !important;
    padding: 64px 0 300px !important;
    background-position: center bottom, left top !important;
    background-size: min(78vw, 560px) auto, 100% 100% !important;
  }

  .page.home::before {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 255, 255, 0.72) 72%, rgba(255, 255, 255, 0.12) 100%) !important;
  }

  .home-intro,
  .home-intro[data-reveal],
  .home-intro[data-reveal].revealed {
    width: var(--container) !important;
    max-width: 760px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 760px) {
  .page.home {
    padding: 42px 0 230px !important;
    background-position: center bottom, left top !important;
    background-size: min(96vw, 440px) auto, 100% 100% !important;
  }

  .home-intro h1 {
    font-size: clamp(1.95rem, 9vw, 2.85rem) !important;
    line-height: 1.1;
  }

  .home-intro .eyebrow {
    margin-bottom: 12px;
  }

  .home-intro .home-history {
    font-size: 0.96rem;
    line-height: 1.58;
  }
}

@media (max-width: 520px) {
  .page.home {
    padding: 34px 0 54px !important;
    background-image: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  }

  .page.home::before {
    display: none;
  }

  .home-intro h1 {
    font-size: clamp(1.78rem, 8.5vw, 2.35rem) !important;
  }

  .home-intro .intro-ctas {
    margin-top: 20px;
  }
}
/* Hero image fit correction */
.page.home {
  background-size: min(54vw, 720px) auto, 100% 100% !important;
}

@media (max-width: 1180px) {
  .page.home {
    padding-bottom: clamp(320px, 46vw, 470px) !important;
    background-image: url("../images/maun.png"), linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #eef4fb 100%) !important;
    background-position: center bottom, left top !important;
    background-size: min(88vw, 620px) auto, 100% 100% !important;
  }
}

@media (max-width: 760px) {
  .page.home {
    padding-bottom: clamp(260px, 72vw, 390px) !important;
    background-image: url("../images/maun.png"), linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #eef4fb 100%) !important;
    background-position: center bottom, left top !important;
    background-size: min(94vw, 480px) auto, 100% 100% !important;
  }
}

@media (max-width: 520px) {
  .page.home {
    padding-bottom: clamp(235px, 76vw, 340px) !important;
    background-image: url("../images/maun.png"), linear-gradient(180deg, #ffffff 0%, #ffffff 64%, #f3f7fc 100%) !important;
    background-position: center bottom, left top !important;
    background-size: min(98vw, 390px) auto, 100% 100% !important;
  }

  .page.home::before {
    display: block;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 62%, rgba(255, 255, 255, 0.18) 100%) !important;
  }
}
/* Home hero 50/50 image layout */
.page.home {
  display: grid !important;
  grid-template-columns: 50vw 50vw !important;
  align-items: center !important;
  justify-content: stretch !important;
  background-image: linear-gradient(90deg, #ffffff 0%, #ffffff 52%, #eef3f9 100%) !important;
  background-position: left top !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}

.page.home::before {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 46%, rgba(255, 255, 255, 0.5) 58%, rgba(255, 255, 255, 0) 72%) !important;
}

.home-intro,
.home-intro[data-reveal],
.home-intro[data-reveal].revealed {
  grid-column: 1;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 50vw !important;
  max-width: 50vw !important;
  margin: 0 !important;
  padding-left: clamp(24px, 4vw, 72px) !important;
  padding-right: clamp(24px, 4vw, 72px) !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left !important;
  text-align-last: auto;
  transform: translateY(-42px) !important;
}

.home-visual {
  grid-column: 2;
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.home-visual img {
  display: block;
  width: 50vw;
  max-width: 50vw;
  height: auto;
  max-height: calc(100dvh - var(--header-h, 124px) - 16px);
  object-fit: contain;
}

@media (max-width: 760px) {
  .page.home {
    grid-template-columns: 1fr !important;
    padding: 42px 0 0 !important;
    background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #eef4fb 100%) !important;
  }

  .page.home::before {
    display: block;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 58%, rgba(255, 255, 255, 0.12) 100%) !important;
  }

  .home-intro,
  .home-intro[data-reveal],
  .home-intro[data-reveal].revealed {
    grid-column: 1;
    padding-inline: 20px !important;
  }

  .home-visual {
    grid-column: 1;
    justify-content: center;
    padding: 20px 0 0;
  }

  .home-visual img {
    width: min(100vw, 560px);
    max-width: 100%;
    max-height: none;
  }
}

/* Keep home hero copy centered in its area while aligning content left. */
.home-intro h1,
.home-intro .home-history {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  text-align-last: auto;
}

.home-intro .home-history {
  color: #000000 !important;
  font-weight: 800;
}

.home-intro .intro-ctas {
  justify-content: flex-start !important;
}
@media (min-width: 761px) {
  .home-intro,
  .home-intro[data-reveal],
  .home-intro[data-reveal].revealed {
    padding-left: clamp(56px, 7vw, 128px) !important;
    padding-right: clamp(20px, 3vw, 52px) !important;
  }
}
/* Footer intro card fit for longer hospital description. */
.foot-inner {
  grid-template-columns: minmax(350px, 430px) minmax(0, 1fr) minmax(300px, 380px);
}

.footer-intro-card {
  min-height: 360px !important;
  height: auto;
  padding: 22px 22px 24px !important;
  justify-content: flex-start;
  overflow: visible;
}

.footer-intro-card::before,
.footer-intro-card::after {
  display: none !important;
}

.footer-intro-card .footer-logo {
  width: 88px;
  height: 88px;
}

.footer-intro-card .footer-history {
  margin-top: 14px;
  font-size: clamp(0.72rem, 0.72vw, 0.8rem);
  font-weight: 800;
  line-height: 1.45;
  text-align: justify;
  text-align-last: left;
}

@media (max-width: 1120px) {
  .foot-inner {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .foot-inner {
    grid-template-columns: 1fr;
  }
}
