.top-address-banner {
  background: #0f5f6f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 1px 12px;
  letter-spacing: 0.2px;
}

html,
body {
  overflow-x: hidden;
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.top-contact-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.top-contact-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
}

.top-contact-links a .icon {
  color: #ced5df;
  margin-right: 3px;
}

.top-contact-links a:hover {
  text-decoration: underline;
}

.top-address-text {
  text-align: right;
  font-size: 12px;
  opacity: 0.95;
}

/* Tablet and below only — keep visible on laptop/desktop (≥992px) */
@media (max-width: 991.98px) {
  .top-address-banner {
    display: none !important;
  }

  .top-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-address-text {
    text-align: left;
    white-space: normal;
  }
}

/* Tablet: compact, aligned top banner (no big gaps) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .top-address-banner {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .top-banner-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .top-contact-links {
    flex-wrap: wrap !important;
    white-space: normal !important;
    gap: 4px 12px !important;
  }

  .top-contact-links a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    text-decoration: none !important;
  }

  .top-contact-links a:hover,
  .top-contact-links a:focus {
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
  }

  .top-address-text {
    max-width: 54% !important;
    text-align: right !important;
    line-height: 1.25 !important;
    padding-left: 8px !important;
  }
}

/* Hide long address line on tablet/mobile */
@media (max-width: 767.98px) {
  .top-address-text {
    display: none;
  }

  .top-address-banner {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .top-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .top-contact-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    gap: 8px 10px;
  }

  .top-contact-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
  }

  .top-contact-links a:hover,
  .top-contact-links a:focus {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 575.98px) {
  .top-address-banner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .top-contact-links {
    flex-wrap: wrap;
    white-space: normal;
    gap: 6px 12px !important;
  }

  .top-contact-links a {
    font-size: 12px;
    padding: 6px 9px;
  }
}

#ftco-navbar .nav-item.cta > a {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  border-radius: 50% !important;
}

#ftco-navbar .nav-item.cta > a span {
  border-radius: 50% !important;
}

#ftco-navbar.ftco-navbar-light {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Navbar bar: soft gradient + ENT hospital SVG (ear, nose, throat, medical cross) */
/* Do not set position: relative here — it beats theme .scrolled { position: fixed } (ID vs classes) and the bar scrolls away */
#ftco-navbar {
  z-index: 9999;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-color: #e8f1fa !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='none' stroke='%230f6679' stroke-opacity='0.08' stroke-width='1.1'%3E%3Crect x='18' y='14' width='36' height='36' rx='8' transform='rotate(45 36 32)'/%3E%3Crect x='178' y='58' width='32' height='32' rx='7' transform='rotate(45 194 74)'/%3E%3C/g%3E%3Cg fill='none' stroke='%230f6679' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' stroke-opacity='0.14'%3E%3Cpath d='M42 78c-1-18 10-34 28-36 12-1 22 8 23 20 1 10-5 17-14 19-7 1-12-3-13-9 0-5 4-9 9-9 3 0 6 2 7 5'/%3E%3Cpath d='M58 86c-4 8-12 14-22 14'/%3E%3Cpath d='M52 62c2 4 2 9-1 12'/%3E%3C/g%3E%3Cg fill='none' stroke='%23167ce9' stroke-width='1.25' stroke-linecap='round' stroke-opacity='0.1'%3E%3Cpath d='M78 54c4 3 4 11 0 14'/%3E%3Cpath d='M84 50c7 5 7 19 0 24'/%3E%3C/g%3E%3Cg fill='none' stroke='%230f6679' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' stroke-opacity='0.14'%3E%3Cpath d='M118 28c2 10 6 22 14 30 3 3 8 5 12 3 3-1 4-4 3-7'/%3E%3Cpath d='M132 52c4 1 8 0 10-3'/%3E%3Cpath d='M122 34c6 2 10 8 11 14'/%3E%3C/g%3E%3Cg fill='none' stroke='%230f6679' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' stroke-opacity='0.14'%3E%3Cellipse cx='188' cy='36' rx='14' ry='11'/%3E%3Cpath d='M178 32c5 7 12 10 20 10'/%3E%3Cpath d='M188 22v-6'/%3E%3C/g%3E%3Cg fill='none' stroke='%23167ce9' stroke-width='1.2' stroke-linecap='round' stroke-opacity='0.1'%3E%3Cpath d='M206 28c5 2 8 6 8 11'/%3E%3Cpath d='M210 24c8 3 12 9 12 16'/%3E%3C/g%3E%3Cg fill='%23167ce9' fill-opacity='0.08'%3E%3Crect x='108' y='78' width='28' height='28' rx='7'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.55'%3E%3Cpath d='M119 86h6v6h6v6h-6v6h-6v-6h-6v-6h6z'/%3E%3C/g%3E%3Cg fill='%230f6679' fill-opacity='0.07'%3E%3Crect x='28' y='18' width='22' height='22' rx='6'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.5'%3E%3Cpath d='M36 24h6v4h4v6h-4v4h-6v-4h-4v-6h4z'/%3E%3C/g%3E%3Cg fill='%23167ce9' fill-opacity='0.09'%3E%3Ccircle cx='96' cy='24' r='2.4'/%3E%3Ccircle cx='158' cy='88' r='2.2'/%3E%3Ccircle cx='220' cy='70' r='2'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(
      circle at 8% 0%,
      rgba(22, 124, 233, 0.05) 0%,
      transparent 45%
    ),
    linear-gradient(180deg, #fbfdff 0%, #f3f8fc 50%, #eaf1f8 100%) !important;
  background-size: 260px 130px, 100% 100%, 100% 100% !important;
  background-repeat: repeat, no-repeat, no-repeat !important;
  background-position: center center, 0 0, 0 0 !important;
  box-shadow: 0 4px 18px rgba(15, 102, 121, 0.08) !important;
  border-bottom: 1px solid rgba(15, 102, 121, 0.12) !important;
}

/* Fixed/sticky bar: smooth entrance (theme used instant fixed + transition:all on margin) */
@keyframes ftco-navbar-sticky-in {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#ftco-navbar.ftco-navbar-light.scrolled {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  margin-top: 0 !important;
  width: 100%;
  max-width: 100%;
  animation: ftco-navbar-sticky-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  /* Avoid theme .scrolled.awake sleep “transition: all” fighting the keyframes */
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #ftco-navbar.ftco-navbar-light.scrolled {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Keep navbar content readable on textured background */
#ftco-navbar .navbar-nav .nav-link,
#ftco-navbar .navbar-nav .nav-link:hover,
#ftco-navbar .navbar-nav .nav-link:focus,
#ftco-navbar .navbar-nav .nav-item.active > .nav-link {
  color: #1b212c !important;
}

/* Mobile/tablet: collapsed menu panel should also be white (no black initially) */
@media (max-width: 991.98px) {
  #ftco-nav {
    background: #ffffff !important;
  }

  #ftco-navbar .navbar-toggler {
    color: rgba(0, 0, 0, 0.5) !important;
  }

  #ftco-navbar .navbar-toggler .oi {
    color: currentColor !important;
  }
}

/* Mobile only (≤475px): attractive toggle dropdown panel + visible carets */
@media (max-width: 475px) {
  /* Only when not fixed — same ID specificity was cancelling .scrolled { position: fixed } */
  #ftco-navbar:not(.scrolled) {
    position: relative;
  }

  /* Panel container */
  #ftco-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 9998;
    background: #ffffff !important;
    padding: 12px 10px 14px;
    border-top: 1px solid rgba(15, 102, 121, 0.12);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  }

  /* Center list block */
  #ftco-nav .navbar-nav {
    width: 100%;
    max-width: 360px;
    margin: 0 auto !important;
    padding: 0;
  }

  #ftco-nav .navbar-nav .nav-item {
    margin: 0 !important;
  }

  /* Row style */
  #ftco-nav .navbar-nav .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 11px 40px !important; /* room for caret on right */
    border-radius: 14px !important;
    border: 1px solid rgba(15, 102, 121, 0.10);
    background: rgba(248, 251, 252, 0.9);
    text-align: center;
  }

  #ftco-nav .navbar-nav .nav-link:hover,
  #ftco-nav .navbar-nav .nav-link:focus {
    background: rgba(15, 102, 121, 0.08);
    border-color: rgba(15, 102, 121, 0.18);
  }

  /* Active item: box-style (not pill/circle) */
  #ftco-nav .navbar-nav .nav-item.active > .nav-link,
  #ftco-nav .navbar-nav .nav-item.show > .nav-link {
    border-radius: 12px !important;
    background: rgba(15, 102, 121, 0.12) !important;
    border-color: rgba(15, 102, 121, 0.28) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  }

  /* Remove global pill-ring decoration on mobile menu links */
  #ftco-nav .navbar-nav .nav-link::before,
  #ftco-nav .navbar-nav .nav-item.active > .nav-link::before {
    display: none !important;
    content: none !important;
  }

  /* Hide ::after for normal links, restore caret for dropdown toggles */
  #ftco-nav .navbar-nav .nav-link::after {
    display: none !important;
    content: none !important;
  }

  #ftco-nav .navbar-nav .dropdown-toggle::after {
    display: inline-block !important;
    content: "" !important;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    vertical-align: 0;
    border-top: 0.35em solid currentColor;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    border-bottom: 0;
    opacity: 0.85;
  }

  /* Dropdown submenu inline */
  #ftco-nav .dropdown-menu {
    display: none;
    position: static !important;
    float: none !important;
    width: 100%;
    margin: 8px 0 10px;
    padding: 6px 0;
    border: 1px solid rgba(15, 102, 121, 0.24);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    background: #ffffff;
    border-radius: 14px;
  }

  #ftco-nav .dropdown.show > .dropdown-menu,
  #ftco-nav .dropdown-menu.show {
    display: block !important;
  }

  #ftco-nav .dropdown-item {
    padding: 10px 14px;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(15, 102, 121, 0.10);
  }

  #ftco-nav .dropdown-item:last-child {
    border-bottom: 0;
  }

  /* CTA button */
  #ftco-nav .nav-item.cta {
    margin-top: 10px !important;
  }

  #ftco-nav .nav-item.cta > a {
    width: 100%;
    border-radius: 999px !important;
    padding: 7px 14px !important; /* thinner like Home */
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #167ce9 0%, #0f6679 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 10px 26px rgba(15, 102, 121, 0.22);
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px;
    line-height: 1.2;
  }

  #ftco-nav .nav-item.cta > a span {
    color: #ffffff !important;
    opacity: 1 !important;
  }
}

/* Tablet + laptop (476px–1024px): toggle dropdown like mobile */
@media (min-width: 476px) and (max-width: 1024px) {
  #ftco-navbar:not(.scrolled) {
    position: relative;
  }

  /* Full-width panel under navbar (same feel as mobile) */
  #ftco-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 9998;
    background: #ffffff !important;
    padding: 14px 12px 16px;
    border-top: 1px solid rgba(15, 102, 121, 0.12);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  }

  #ftco-nav .navbar-nav {
    width: 100%;
    max-width: 520px;
    margin: 0 auto !important;
    padding: 0;
    align-items: stretch;
  }

  #ftco-nav .navbar-nav .nav-item {
    margin: 0 !important;
  }

  #ftco-nav .navbar-nav .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 11px 44px !important; /* room for caret on right */
    border-radius: 14px !important;
    border: 1px solid rgba(15, 102, 121, 0.10);
    background: rgba(248, 251, 252, 0.9);
    color: #1b212c !important;
    text-align: center;
  }

  #ftco-nav .navbar-nav .nav-link:hover,
  #ftco-nav .navbar-nav .nav-link:focus {
    background: rgba(15, 102, 121, 0.08);
    border-color: rgba(15, 102, 121, 0.18);
  }

  #ftco-nav .navbar-nav .nav-item.active > .nav-link,
  #ftco-nav .navbar-nav .nav-item.show > .nav-link {
    background: rgba(15, 102, 121, 0.12) !important;
    border-color: rgba(15, 102, 121, 0.28) !important;
  }

  /* Disable global pill decorations inside collapsed menu */
  #ftco-nav .navbar-nav .nav-link::before,
  #ftco-nav .navbar-nav .nav-link::after,
  #ftco-nav .navbar-nav .nav-item.active > .nav-link::before,
  #ftco-nav .navbar-nav .nav-item.active > .nav-link::after {
    display: none !important;
    content: none !important;
  }

  /* Caret */
  #ftco-nav .navbar-nav .dropdown-toggle::after {
    display: inline-block !important;
    content: "" !important;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 0.35em solid currentColor;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    border-bottom: 0;
    opacity: 0.85;
  }

  /* Submenu card (same as mobile) */
  #ftco-nav .dropdown-menu {
    display: none;
    position: static !important;
    float: none !important;
    width: 100%;
    margin: 8px 0 12px;
    padding: 6px 0;
    border: 1px solid rgba(15, 102, 121, 0.24);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    background: #ffffff;
    border-radius: 14px;
  }

  #ftco-nav .dropdown.show > .dropdown-menu,
  #ftco-nav .dropdown-menu.show {
    display: block !important;
  }

  #ftco-nav .dropdown-item {
    padding: 10px 14px;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(15, 102, 121, 0.10);
  }

  #ftco-nav .dropdown-item:last-child {
    border-bottom: 0;
  }

  /* CTA button */
  #ftco-nav .nav-item.cta {
    margin-top: 10px !important;
  }

  #ftco-nav .nav-item.cta > a {
    width: 100%;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #167ce9 0%, #0f6679 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 10px 26px rgba(15, 102, 121, 0.22);
  }

  #ftco-nav .nav-item.cta > a span {
    color: #ffffff !important;
  }
}

/* 1024px-ish laptop: make MENU visible like scrolled (color only) */
@media (min-width: 992px) and (max-width: 1024px) {
  #ftco-navbar.ftco-navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5) !important;
  }

  #ftco-navbar.ftco-navbar-light .navbar-toggler .oi {
    color: rgba(0, 0, 0, 0.5) !important;
  }
}


#ftco-navbar .navbar-nav .nav-link {
  display: inline-block;
  padding: 2px 11px !important;
  border: 1px solid transparent;
  border-radius: 50% !important;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
  transition: border-color 0.2s ease;
}

#ftco-navbar .navbar-nav .nav-link:hover,
#ftco-navbar .navbar-nav .nav-link:focus,
#ftco-navbar .navbar-nav .nav-item.active > .nav-link {
  border-radius: 50% !important;
  outline: none;
  box-shadow: none;
}

#ftco-navbar .navbar-nav .nav-link::before,
#ftco-navbar .navbar-nav .nav-link::after,
#ftco-navbar .navbar-nav .nav-item.active > .nav-link::before,
#ftco-navbar .navbar-nav .nav-item.active > .nav-link::after {
  border-radius: 50% !important;
}

/* Force rounded border in all Bootstrap "active/show/focus" states */
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item > .nav-link,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus-visible,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:active,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-item.show > .nav-link,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-link.active,
#ftco-navbar.ftco-navbar-light .navbar-nav > .nav-link.show,
.navbar-light #ftco-navbar .navbar-nav .active > .nav-link,
.navbar-light #ftco-navbar .navbar-nav .show > .nav-link {
  border-radius: 50% !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Hero overlay (improve text contrast) */
.hero-wrap {
  position: relative;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 0;
}

/* Home hero background slider */
.hero-wrap-home {
  overflow: hidden;
}

.hero-wrap-home::before {
  background: rgba(0, 0, 0, 0.30);
  z-index: 1;
}

.hero-wrap-home .container,
.hero-wrap-home .slider-text {
  position: relative;
  z-index: 2;
}

/* Move home hero content slightly lower (desktop / laptop unchanged) */
.hero-wrap-home .slider-text {
  margin-top: 100px;
}

.hero-wrap-home .hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-wrap-home .hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 6s ease;
  will-change: opacity, transform;
}

.hero-wrap-home .hero-bg-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-wrap-home .hero-bg-slide:nth-child(1) {
  background-image: url("../images/doctorbg.jpg");
}

.hero-wrap-home .hero-bg-slide:nth-child(2) {
  background-image: url("../images/giridhardoc.jpg");
}

.hero-wrap-home .hero-bg-slide:nth-child(3) {
  background-image: url("../images/Slide3.jpg");
}

.hero-bg-indicators {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero-indicator[aria-current="true"] {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Tablet and below only — desktop / laptop keep original hero height */
@media (max-width: 991.98px) {
  .hero-wrap-home {
    /* Fill remaining screen below navbar (top banner hidden on ≤991px) */
    height: calc(100vh - 72px) !important;
    height: calc(100svh - 72px) !important;
    height: calc(100dvh - 72px) !important;
    min-height: calc(100svh - 72px) !important;
    max-height: none !important;
  }

  /* Fill hero and vertically center welcome + CTAs
     (!important needed: later .hero-wrap .container { position: relative } overrides otherwise) */
  .hero-wrap-home > .container {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-wrap-home .slider-text {
    position: relative !important;
    margin-top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-wrap-home .slider-text > [class*="col-"] {
    width: 100%;
  }

  .hero-wrap-home .hero-welcome-title {
    font-size: clamp(1.7rem, 4.2vw, 2.1rem);
  }

  .hero-wrap-home .hero-welcome-sub,
  .hero-wrap-home .hero-welcome-secondary {
    font-size: 0.92rem;
    letter-spacing: 0.22em;
  }

  .hero-wrap-home .hero-buttons {
    margin-top: 1.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-wrap-home .hero-bg-indicators {
    bottom: 14px;
  }
}

/* Mobile / small screens — keep full viewport height; tune typography only */
@media (max-width: 767.98px) {
  .hero-wrap-home {
    height: calc(100vh - 64px) !important;
    height: calc(100svh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    min-height: calc(100svh - 64px) !important;
    max-height: none !important;
  }

  .hero-wrap-home .slider-text {
    padding-inline: 0.5rem;
  }

  .hero-wrap-home .hero-welcome-sub {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.45rem;
  }

  .hero-wrap-home .hero-welcome-title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    line-height: 1.2;
  }

  .hero-wrap-home .hero-welcome-secondary {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    margin-top: 0.25rem;
  }

  .hero-wrap-home .hero-buttons {
    margin-top: 1.25rem;
    gap: 0.65rem;
  }

  .hero-wrap-home .hero-cta-secondary {
    display: none !important;
  }

  /* Welcome text + CTA sit at bottom on mobile */
  .hero-wrap-home > .container {
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 3rem;
  }

  .hero-wrap-home .slider-text {
    align-items: flex-end !important;
    justify-content: flex-end !important;
  }

  .hero-wrap-home .hero-cta {
    height: 44px;
    padding: 0 1.15rem;
    font-size: 0.9rem;
  }

  .hero-wrap-home .hero-cta-primary {
    height: 42px;
  }

  .hero-wrap-home .hero-bg-slide {
    background-position: center top;
  }

  .hero-wrap-home .hero-bg-indicators {
    bottom: 12px;
    gap: 8px;
  }

  .hero-wrap-home .hero-indicator {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 575.98px) {
  .hero-wrap-home {
    height: calc(100vh - 58px) !important;
    height: calc(100svh - 58px) !important;
    height: calc(100dvh - 58px) !important;
    min-height: calc(100svh - 58px) !important;
  }

  .hero-wrap-home .hero-buttons {
    margin-top: 1rem;
  }
}

/* Advisor carousel items */
.carousel-advisors .item {
  padding: 0 12px;
}

.carousel-advisors .staff-view-profile {
  margin-top: 1rem;
}

.carousel-advisors .staff-view-profile .btn {
  font-size: 0.85rem;
  padding: 0.45rem 1.1rem;
}

/* X (formerly Twitter) — icomoon only includes legacy Twitter bird */
.ftco-social .icon-x:before {
  content: "";
  font-family: sans-serif !important;
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Home: Our Experience Doctors section — balanced vertical spacing */
body.index-page section.ftco-section.bg-light {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (max-width: 991.98px) {
  body.index-page section.ftco-section.bg-light {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

@media (max-width: 767.98px) {
  body.index-page section.ftco-section.bg-light {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}

@media (max-width: 575.98px) {
  body.index-page section.ftco-section.bg-light {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  body.index-page section.ftco-section.bg-light > .container > .row.justify-content-center {
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  body.index-page section.ftco-section.bg-light .heading-section h2 {
    margin-bottom: 0.5rem !important;
  }
}

/* Make About page hero (hero-wrap-2) a bit darker */
.hero-wrap.hero-wrap-2::before {
  background: rgba(0, 0, 0, 0.30);
}

/* Breadcrumb hero pages — darker overlay for readable text on bg image */
.hero-wrap.hero-wrap-about::before {
  background: rgba(0, 0, 0, 0.52);
}

.hero-wrap.hero-wrap-about .container {
  position: relative;
  z-index: 1;
}

/* About page hero height + shared breadcrumb background */
.hero-wrap.hero-wrap-about {
  height: 300px !important;
  min-height: 250px !important;
  max-height: 300px !important;
  background-image: url("../images/Slide0.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Center hero text within the reduced height */
.hero-wrap.hero-wrap-about .slider-text {
  height: 300px !important;
  min-height: 250px !important;
}

/* About hero: HOME / ABOUT — plain text on image (no boxes/borders) */
.hero-wrap-about .hero-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: #fff;
}

.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-link {
  color: #fff !important;
  text-decoration: none;
  border: 0 !important;
}

.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-link:hover,
.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-link:focus {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  opacity: 0.95;
}

.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-current {
  color: rgba(255, 255, 255, 0.95);
  border-bottom: none !important;
}

.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  user-select: none;
}

.hero-wrap .container,
.hero-wrap .slider-text {
  position: relative;
  z-index: 1;
}

/* Re-assert home hero centering after the shared .hero-wrap position rule above */
@media (max-width: 991.98px) {
  .hero-wrap.hero-wrap-home > .container {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
  }

  .hero-wrap.hero-wrap-home .slider-text {
    margin-top: 0 !important;
    height: auto !important;
  }
}

/* Mobile — bottom-align welcome content (overrides center rule above) */
@media (max-width: 767.98px) {
  .hero-wrap.hero-wrap-home > .container {
    align-items: flex-end !important;
    padding-bottom: 3rem;
  }

  .hero-wrap.hero-wrap-home .slider-text {
    align-items: flex-end !important;
    justify-content: flex-end !important;
  }
}

/* Hero welcome – scrolling motion (home page) */
.hero-welcome {
  overflow: hidden;
}

.hero-welcome-line {
  opacity: 0;
  transform: translateY(40px);
  animation: heroScrollIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  color: #fff;
  margin: 0;
}

.hero-welcome-sub {
  font-family: ui-sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation-delay: 0.2s;
  margin-bottom: 0.75rem;
}

.hero-welcome-title {
  font-family: ui-sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  animation-delay: 0.45s;
  color: #fff;
  margin-bottom: 0.3rem;
}

.hero-welcome-title * {
  color: #fff !important;
}

.hero-welcome-main {
  font-weight: 500;
}

.hero-welcome-secondary {
  font-family: ui-sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-top: 0.35rem;
  opacity: 1;
}

.hero-buttons {
  opacity: 0;
  transform: translateY(24px);
  animation: heroScrollIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
  margin-top: 3rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-cta {
  height: 52px;
  padding: 0 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.hero-cta:hover,
.hero-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.hero-cta-primary {
  height: 46px;
  background: linear-gradient(135deg, #fff, #f3f4f6) !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  color: #4f46e5 !important;
}

/* Force inner text/icon color (overrides template styles) */
.hero-cta-primary .hero-cta-text,
.hero-cta-primary .hero-cta-icon {
  color: #4f46e5 !important;
}

.hero-cta-primary:hover,
.hero-cta-primary:focus {
  background: rgba(255, 255, 255, 0.96);
  color: #4338ca;
  border-color: rgba(79, 70, 229, 0.32);
}

.hero-cta-secondary {
  height: 46px;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.42);
}

.hero-cta-secondary .hero-cta-text {
  color: #fff !important;
}

.hero-cta-phone {
  padding-left: 0;
}

.hero-cta-phone .icon-phone {
  font-size: 16px;
  line-height: 1;
}

/* Ensure phone icon renders white */
.hero-cta-secondary .hero-cta-phone .icon-phone,
.hero-cta-secondary .hero-cta-phone .icon-phone::before {
  color: #fff !important;
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus {
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-cta-icon {
  font-size: 1.15em;
  line-height: 1;
}

.hero-cta-play {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-size: 14px;
  padding-left: 2px; /* optical centering for triangle */
}

@media (max-width: 575.98px) {
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta {
    width: min(320px, 92vw);
  }
}

@keyframes heroScrollIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLineExpand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60px;
    opacity: 1;
  }
}

@media (max-width: 991.98px) {
  .hero-welcome-title {
    font-size: 1.9rem;
  }
  .hero-welcome-sub {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }
}

@media (max-width: 575.98px) {
  .hero-welcome-title {
    font-size: 1.35rem;
  }
}

/* Dark overlay for about-page video/cta background section */
.ftco-section-3.img {
  position: relative;
}

.ftco-section-3.img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 0;
}

.ftco-section-3.img > .container {
  position: relative;
  z-index: 1;
}

/* Appointment page */
body.appointment-page {
  background: #f4f8fa;
}

.appointment-main {
  padding: 3rem 0 4rem;
  background-color: #f8fbfd;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cdefs%3E%3Cpattern id='rp' width='130' height='130' patternUnits='userSpaceOnUse'%3E%3Cg fill='none' stroke='%231b7f90' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg opacity='0.09'%3E%3Cpath d='M38 74c0-20 13-36 31-36 13 0 24 9 24 22 0 12-8 19-18 19-8 0-14-5-14-13 0-7 5-12 11-12'/%3E%3Cpath d='M90 82c-6 9-15 15-26 15-16 0-29-13-29-29'/%3E%3Cpath d='M98 50c10-11 27-14 40-6 10 6 13 19 7 29-5 8-14 12-24 10'/%3E%3Cpath d='M132 55c-4-3-10-3-14 0-5 4-5 11 0 16'/%3E%3Cpath d='M40 108h52c8 0 14 6 14 14v4c0 8-6 14-14 14H40c-8 0-14-6-14-14v-4c0-8 6-14 14-14z'/%3E%3Cpath d='M36 114c6 9 16 15 30 15s24-6 30-15'/%3E%3C/g%3E%3Cg opacity='0.06'%3E%3Cpath d='M28 26h12'/%3E%3Cpath d='M34 20v12'/%3E%3Ccircle cx='104' cy='26' r='3.2'/%3E%3Ccircle cx='112' cy='36' r='2.2'/%3E%3Ccircle cx='24' cy='118' r='2.6'/%3E%3Ccircle cx='108' cy='112' r='2.6'/%3E%3C/g%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='260' height='260' fill='url(%23rp)'/%3E%3C/svg%3E"),
    linear-gradient(166deg, #f8fbfd 0%, #f1f7fa 48%, #ffffff 100%);
  background-repeat: repeat, no-repeat;
  background-size: 260px 260px, 100% 100%;
}

.appointment-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.appointment-layout-row {
  align-items: flex-start;
}

.appointment-card-right {
  max-width: 760px;
  margin-left: auto;
  margin-right: 0;
}

/* Tablet & mobile: Book Appointment form first, contact cards after */
@media (max-width: 991.98px) {
  .appointment-layout-row {
    display: flex;
    flex-direction: column;
  }

  .appointment-layout-row > .col-lg-5 {
    order: 2;
    margin-top: 1.5rem;
  }

  .appointment-layout-row > .col-lg-7 {
    order: 1;
  }

  .appointment-card-right {
    margin-left: auto;
    margin-right: auto;
  }
}

.appointment-info-stack {
  display: grid;
  gap: 1.25rem;
}

.appointment-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 102, 121, 0.14);
  border-radius: 18px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.appointment-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 102, 121, 0.12);
  color: #0f6679;
  flex: 0 0 56px;
}

.appointment-info-icon span {
  font-size: 24px;
  line-height: 1;
}

.appointment-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b212c;
  margin-bottom: 0.25rem;
}

.appointment-info-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  color: #5a6c7d;
  text-decoration: none;
  word-break: break-word;
}

.appointment-info-value:hover {
  color: #0f6679;
  text-decoration: underline;
}

.appointment-info-address {
  font-size: 1.02rem;
  font-weight: 500;
  color: #5a6c7d;
  line-height: 1.55;
}

.appointment-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 2px solid rgba(99, 102, 241, 0.5);
  color: #4f46e5;
  background: transparent;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.appointment-info-btn:hover,
.appointment-info-btn:focus {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border-color: rgba(99, 102, 241, 0.7);
}

.appointment-card-header {
  padding: 0.65rem 1.75rem;
  border-bottom: 1px solid #eef3f6;
  text-align: center;
  background-color: #ffffff;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 6l3.6 10.9h11.5l-9.3 6.7 3.6 10.9L30 27.5 20.6 34.4l3.6-10.9-9.3-6.7h11.5z' fill='%23cfc8bb' fill-opacity='0.48'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  background-repeat: repeat, no-repeat;
  background-position: center, center;
  background-size: 60px 60px, 100% 100%;
}

.appointment-title {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1565c0;
  margin: 0;
  padding: 0.55rem 1.25rem;
  border: 2px solid rgba(21, 101, 192, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.appointment-subtitle {
  margin: 0;
  color: #5a6c7d;
  font-size: 0.95rem;
}

.appointment-card-body {
  padding: 1.75rem;
}

.appointment-card-body label {
  font-size: 15px;
  font-weight: 600;
  color: #1b212c;
}

.appointment-card-body .form-control {
  height: 44px !important;
  border-radius: 8px;
  font-size: 14px;
}

.appointment-card-body textarea.form-control {
  height: auto;
  min-height: 120px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Custom dropdown (service) - Montfort-like */
.appointment-select-wrap {
  position: relative;
}

.appointment-select-trigger {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #fff;
}

.appointment-select-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(27, 33, 44, 0.55);
  margin-left: 12px;
}

.appointment-select-trigger.is-invalid {
  border-color: #dc3545 !important;
}

.appointment-select-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow: auto;
  z-index: 50;
  display: none;
}

.appointment-select-wrap.is-open .appointment-select-dropdown {
  display: block;
}

.appointment-select-option {
  padding: 0.85rem 1rem;
  font-size: 16px;
  color: #334155;
  border-bottom: 1px solid rgba(15, 102, 121, 0.08);
  cursor: pointer;
  background: #fff;
}

.appointment-select-option:last-child {
  border-bottom: 0;
}

.appointment-select-option:hover,
.appointment-select-option.selected {
  background: #e9eef1;
}

.appointment-date-wrap {
  position: relative;
}

.appointment-calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.75;
}

.appointment-submit-wrap {
  margin-top: 0.75rem;
}

.appointment-submit-btn {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: #455a64 !important;
  border: none !important;
  border-radius: 6px;
  padding: 0.6rem 2rem;
  transition: background 0.2s ease;
}

.appointment-submit-btn:hover,
.appointment-submit-btn:focus {
  background: #3d4f58 !important;
  color: #fff;
}

.appointment-note {
  margin-top: 0.85rem;
  color: #5a6c7d;
  font-size: 0.9rem;
}

.appointment-note a {
  color: #0f6679;
  font-weight: 600;
  text-decoration: none;
}

.appointment-note a:hover {
  text-decoration: underline;
}

.appointment-success-message {
  text-align: center;
  padding: 2rem 1.25rem;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 16px;
  border: 2px solid #10b981;
  margin-bottom: 0.5rem;
}

.appointment-success-icon {
  display: block;
  font-size: 3rem;
  color: #059669;
  margin-bottom: 0.75rem;
}

.appointment-success-message h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #065f46;
  margin: 0 0 0.5rem;
}

.appointment-success-message p {
  color: #047857;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.appointment-error-message {
  padding: 0.85rem 1rem;
  background: #fee2e2;
  border: 2px solid #ef4444;
  border-radius: 10px;
  color: #dc2626;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .appointment-main {
    padding: 2rem 0 3rem;
  }
  .appointment-card-body {
    padding: 1.25rem;
  }
  .appointment-card-header {
    padding: 0.5rem 1.25rem;
  }
  .appointment-card-right {
    margin-right: auto;
  }
}

#ftco-navbar .navbar-nav .nav-item {
  margin-right: 14px;
}

#ftco-navbar .navbar-nav .nav-item:last-child {
  margin-right: 0;
}

#ftco-navbar .navbar-nav .nav-link:hover,
#ftco-navbar .navbar-nav .nav-link:focus {
  border-color: #0f6679;
}

#ftco-navbar .navbar-nav .nav-item.active > .nav-link {
  border-color: #0f6679;
}

#ftco-navbar .dropdown-menu {
  border-radius: 0;
}

#ftco-navbar .dropdown-item {
  border-radius: 0;
  font-size: 14px;
  padding: 5px 20px;
}

#ftco-navbar .dropdown-item:hover,
#ftco-navbar .dropdown-item:focus {
  background: #e8f3f7;
  color: #0f6679;
}

#ftco-navbar .nav-item.dropdown {
  position: relative;
}

#ftco-navbar .nav-item.dropdown .dropdown-menu {
  margin-top: 0;
}

/* Desktop hover dropdown: keep menu open while moving cursor */
@media (min-width: 1200px) {
  #ftco-navbar .nav-item.dropdown .dropdown-menu {
    transform: translateY(8px);
  }

  #ftco-navbar .nav-item.dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
    background: transparent;
  }
}

@media (min-width: 1200px) {
  #ftco-navbar .nav-item.dropdown:hover > .dropdown-menu,
  #ftco-navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

#ftco-navbar .navbar-brand.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: none;
}

#ftco-navbar .brand-logo-img {
  height: 68px;
  max-width: 360px;
  width: auto;
  display: block;
}

/* Center lockup: tablet/mobile only — logo & MENU untouched */
.navbar-mid-brand {
  display: none;
}

@media (max-width: 1199.98px) {
  #ftco-navbar > .container-fluid {
    position: relative;
  }

  .navbar-mid-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 0;
    height: 68px;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    text-align: center;
    width: max-content;
    max-width: calc(100% - 320px);
    margin: 0;
  }

  .navbar-mid-title {
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0a3d6b;
    line-height: 1.1;
    white-space: nowrap;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #0a3d6b;
    -webkit-text-stroke: 0.25px #0a3d6b;
    text-shadow: none;
  }

  .navbar-mid-ent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
  }

  .navbar-mid-chip {
    display: inline-flex;
    align-items: center;
    font-style: normal;
  }

  .navbar-mid-chip i {
    display: none !important;
  }

  .navbar-mid-chip em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
  }

  .navbar-mid-ear em {
    color: #3d8fbe;
  }

  .navbar-mid-nose em {
    color: #c98412;
  }

  .navbar-mid-throat em {
    color: #1f9a88;
  }

  #ftco-navbar #ftco-nav {
    flex-basis: 100%;
  }
}

@media (max-width: 767.98px) {
  .navbar-mid-brand {
    height: 50px;
    max-width: calc(100% - 220px);
  }

  .navbar-mid-title {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .navbar-mid-ent {
    gap: 6px;
    margin-top: 3px;
  }

  .navbar-mid-chip em {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 374.98px) {
  .navbar-mid-title {
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }

  .navbar-mid-chip em {
    font-size: 7px;
  }

  .navbar-mid-ent {
    gap: 4px;
  }
}

@media (max-width: 767.98px) {
  #ftco-navbar .navbar-nav .nav-link {
    padding: 2px 8px !important;
  }

  #ftco-navbar .navbar-nav .nav-item {
    margin-right: 0;
  }

  #ftco-navbar .navbar-brand.brand-logo-wrap {
    padding: 0;
  }

  #ftco-navbar .brand-logo-img {
    height: 50px;
    max-width: 260px;
  }
}

@media (min-width: 1200px) {
  .navbar-mid-brand {
    display: none !important;
  }

  #ftco-navbar .navbar-collapse {
    position: relative;
  }

  #ftco-navbar .navbar-nav.mx-auto {
    position: absolute;
    left: 48%;
    transform: translateX(-50%);
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

#hospital-footer.ftco-footer {
  background: #12151c !important;
  background-image: none !important;
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

#hospital-footer.ftco-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg_2.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

#hospital-footer.ftco-footer .container {
  position: relative;
  z-index: 2;
}

#hospital-footer.ftco-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1b212c;
  opacity: 0.95;
  z-index: 1; /* overlay above background image */
  pointer-events: none;
}

#hospital-footer .overlay {
  display: none;
}

#hospital-footer .hospital-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

#hospital-footer .hospital-footer-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease,
    background 0.25s ease;
}

#hospital-footer .hospital-footer-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

#hospital-footer .hospital-footer-card-location:hover {
  border-color: rgba(32, 138, 158, 0.65);
}

#hospital-footer .hospital-footer-card .ftco-heading-2 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

#hospital-footer .hospital-footer-brand {
  text-decoration: none;
  color: inherit;
}

#hospital-footer .hospital-footer-brand:hover {
  color: inherit;
  text-decoration: none;
}

#hospital-footer .hospital-footer-logo {
  display: block;
  max-height: 84px;
  width: auto;
  margin: 0 auto 0.85rem;
  align-self: center;
  border-radius: 0;
  background: transparent;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  object-fit: contain;
}

#hospital-footer .hospital-footer-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.35rem;
  width: 100%;
  text-align: center;
  align-self: center;
}

#hospital-footer .hospital-footer-meta {
  display: block;
  font-size: 0.82rem;
  opacity: 0.88;
  line-height: 1.4;
}

#hospital-footer .hospital-footer-card-brand p {
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 0;
}

/* Montfort-style footer social (scoped) */
#hospital-footer ul.ftco-footer-social.hospital-footer-social {
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0;
}

#hospital-footer ul.ftco-footer-social.hospital-footer-social li {
  list-style: none;
  margin: 0 10px 0 0;
  display: inline-block;
  vertical-align: middle;
}

#hospital-footer ul.ftco-footer-social.hospital-footer-social li a {
  height: 50px;
  width: 50px;
  display: block;
  float: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  position: relative;
  color: #fff;
  text-decoration: none;
}

#hospital-footer ul.ftco-footer-social.hospital-footer-social li a span {
  position: absolute;
  font-size: 26px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

#hospital-footer ul.ftco-footer-social.hospital-footer-social li a:hover {
  color: #fff;
  animation: hospital-footer-social-pulse 2s forwards;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

@keyframes hospital-footer-social-pulse {
  0%, 100% {
    transform: scale(1);
    filter: hue-rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(5deg);
    filter: hue-rotate(45deg);
  }
  50% {
    transform: scale(1) rotate(-5deg);
    filter: hue-rotate(90deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
    filter: hue-rotate(135deg);
  }
}

#hospital-footer .block-23 ul li,
#hospital-footer .block-23 ul li .text {
  color: rgba(255, 255, 255, 0.88);
}

#hospital-footer .block-23 ul li a,
#hospital-footer .block-23 ul li a .text {
  color: rgba(255, 255, 255, 0.92);
}

#hospital-footer .block-23 .icon {
  color: #ced5df;
}

/* Montfort-style location map card (scoped) */
#hospital-footer .hospital-footer-card-location.location-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease;
}

#hospital-footer .location-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

#hospital-footer .hospital-footer-card-location .map-frame {
  background: #121316;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

#hospital-footer .hospital-footer-card-location .map-frame iframe {
  display: block;
  border: 0;
  border-radius: 12px;
  width: 100%;
  height: 280px;
  box-shadow: none;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: grayscale(0.02) contrast(0.88) brightness(0.55) saturate(0.8);
}

#hospital-footer .hospital-footer-card-location .map-frame:hover iframe {
  transform: scale(1.02);
  filter: none;
}

#hospital-footer .hospital-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}

#hospital-footer .hospital-footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

#hospital-footer .hospital-footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

#hospital-footer .hospital-footer-bottom a.spark-credit {
  color: #fd7e14;
  font-weight: 600;
}

#hospital-footer .hospital-footer-bottom a.spark-credit:hover {
  color: #ff922b;
}

#hospital-footer .footer-legal {
  margin-top: 0.35rem;
  font-size: 0.88rem;
}

#hospital-footer .footer-legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

#hospital-footer .footer-legal a:hover,
#hospital-footer .footer-legal a:focus {
  color: #ffffff;
  text-decoration: underline;
}

#hospital-footer .footer-legal span {
  margin: 0 0.45rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Legal pages (Terms / Privacy) */
.legal-page-section {
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(15, 102, 121, 0.12);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.legal-content h2 {
  color: #0f6679;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-page-title {
  color: #0f6679;
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.legal-page-updated {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #334155;
  line-height: 1.7;
  font-size: 0.98rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: #167ce9;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .legal-content {
    padding: 1.35rem 1.1rem;
    border-radius: 12px;
  }
}

/* Gallery / Blogs / Images / Videos in-page title (no hero banner) */
.gallery-page-title {
  color: #0f6679;
  font-size: clamp(2.15rem, 3.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

.gallery-section > .container > .text-center,
.gallery-section > .container > .text-center.mb-4 {
  margin-top: 0 !important;
  margin-bottom: 1.35rem !important;
  padding-top: 0.15rem;
  padding-bottom: 0.35rem;
}

/* Extra space under Blogs heading before card grid */
body.gallery-page .gallery-section > .container > .text-center.mb-4 {
  margin-bottom: 2.75rem !important;
  padding-bottom: 0.75rem;
}

.gallery-section.ftco-section {
  padding: 1.75rem 0 3.5rem;
}

.gallery-page-lead {
  max-width: 40rem;
  margin: 0.55rem auto 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
}

.gallery-section .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1240px;
}

.gallery-tabs {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.25rem;
  margin: 0.25rem auto 2.75rem;
  padding: 0.28rem;
  border: 1.5px solid rgba(15, 102, 121, 0.28);
  border-radius: 999px;
  background: #eef4f7;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 6px 14px rgba(15, 102, 121, 0.08);
  box-sizing: border-box;
  overflow: hidden;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 7rem;
  padding: 0.5rem 1.15rem;
  border: 0;
  border-radius: 999px;
  color: #4b5563 !important;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none !important;
  background: transparent;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

/* Theme sets `span { color: #96a1af }` — force tab labels to follow tab color */
.gallery-tab span {
  color: inherit !important;
}

.gallery-tab [class^="icon-"],
.gallery-tab [class^="icon-"]::before {
  font-size: 0.95rem;
  line-height: 1;
  color: inherit !important;
}

.gallery-tab:hover,
.gallery-tab:focus {
  color: #0f6679 !important;
  background: #fff;
  text-decoration: none !important;
  outline: none;
}

.gallery-tab:hover span,
.gallery-tab:focus span {
  color: #0f6679 !important;
}

.gallery-tab.active,
.gallery-tab.active:hover,
.gallery-tab.active:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #167ce9 0%, #0f6679 100%);
  box-shadow: 0 4px 12px rgba(22, 124, 233, 0.32);
}

.gallery-tab.active span,
.gallery-tab.active:hover span,
.gallery-tab.active:focus span,
.gallery-tab.active [class^="icon-"],
.gallery-tab.active [class^="icon-"]::before,
.gallery-tab.active:hover [class^="icon-"],
.gallery-tab.active:hover [class^="icon-"]::before {
  color: #ffffff !important;
}

.gallrow {
  margin-top: 0.35rem;
  padding: 0.5rem 1.5rem 0;
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 1.75rem;
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.gallrow > [class*="col-"] {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  margin-bottom: var(--bs-gutter-y);
}

.gallery_box .box {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(to right, #0f6679, #167ce9);
}

.gallery_box .box img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: 0.6s ease;
}

.gallery_box .box:hover img {
  opacity: 0.3;
  transform: scale(1.12);
}

.gallery_box .box-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: auto;
  color: #fff;
  opacity: 0;
  transform: none;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery_box .box:hover .box-content {
  opacity: 1;
  pointer-events: auto;
}

.gallery_box .box-content .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gallery_box .box-content .icon li {
  display: flex;
  margin: 0;
  float: none;
}

.gallery_box .box-content .icon li a {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: #0f6679 !important;
  background: #ffffff;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition: 0.3s ease;
}

.gallery_box .box-content .icon li a [class^="icon-"],
.gallery_box .box-content .icon li a [class^="icon-"]::before,
.gallery_box .box-content .icon li a .icon-search,
.gallery_box .box-content .icon li a .icon-search::before {
  display: block;
  line-height: 1;
  font-size: 1.05rem;
  color: #0f6679 !important;
}

.gallery_box .box-content .icon li a:hover,
.gallery_box .box-content .icon li a:focus {
  color: #ffffff !important;
  background: #0f6679;
  box-shadow: 0 0 0 2px #ffffff;
  outline: none;
}

.gallery_box .box-content .icon li a:hover [class^="icon-"],
.gallery_box .box-content .icon li a:hover [class^="icon-"]::before,
.gallery_box .box-content .icon li a:focus [class^="icon-"],
.gallery_box .box-content .icon li a:focus [class^="icon-"]::before,
.gallery_box .box-content .icon li a:hover .icon-search,
.gallery_box .box-content .icon li a:hover .icon-search::before,
.gallery_box .box-content .icon li a:focus .icon-search,
.gallery_box .box-content .icon li a:focus .icon-search::before {
  color: #ffffff !important;
}

/* Fancybox caption readable on dark overlay */
.fancybox__caption {
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.fancybox__infobar,
.fancybox__toolbar .f-button {
  color: #ffffff !important;
}

/* Fancybox must cover sticky header — hide nav while lightbox is open */
html.with-fancybox #ftco-navbar,
html.with-fancybox .top-address-banner,
html.with-fancybox .wa-float,
body:has(.fancybox__container) #ftco-navbar,
body:has(.fancybox__container) .top-address-banner {
  visibility: hidden !important;
  pointer-events: none !important;
}

.fancybox__container {
  z-index: 999999 !important;
  position: fixed !important;
  inset: 0 !important;
}

#ftco-navbar,
#ftco-navbar.ftco-navbar-light,
#ftco-navbar.ftco-navbar-light.scrolled {
  z-index: 1030 !important;
}

/* Videos */
.videos_list {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #c8c8c8;
  background: #111;
  z-index: 1;
  isolation: isolate;
}

.videos_list-embed {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  overflow: hidden;
  background: #000;
  min-height: 220px;
}

.videos_list iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  z-index: 2;
  pointer-events: auto !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.videos_list-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  aspect-ratio: 10 / 7;
  min-height: 220px;
  padding: 0.85rem 0.55rem;
  box-sizing: border-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  background: linear-gradient(160deg, #0a3d4a, #062a33 55%, #0f6679);
}

.videos_list-placeholder i,
.videos_list-placeholder [class^="icon-"],
.videos_list-placeholder [class^="icon-"]::before {
  flex-shrink: 0;
  color: #ff0033 !important;
  font-size: 1.85rem;
  line-height: 1;
}

.videos_list-placeholder > span:not([class^="icon-"]) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0.2rem;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: clamp(0.68rem, 2.6vw, 0.88rem);
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Responsive — Images / Videos / Blogs gallery pages */
@media (min-width: 1200px) {
  .gallery_box .box img {
    height: 180px;
  }
}

@media (max-width: 991.98px) {
  .gallery-section.ftco-section {
    padding: 1.35rem 0 2.75rem;
  }

  .gallery-page-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }

  .gallery_box .box img {
    height: 150px;
  }

  .gallrow {
    padding: 1rem 0.25rem 0;
    --bs-gutter-x: 1.1rem;
    --bs-gutter-y: 1.1rem;
  }

  body.gallery-page #gallery-cards-row > [class*="col-"] {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .gallery-page-lead {
    font-size: 0.9rem;
    line-height: 1.55;
    padding-inline: 0.35rem;
  }

  .gallery-section.ftco-section {
    padding: 1.1rem 0 2.25rem;
  }

  .gallery-section .container {
    padding-inline: 0.75rem;
    max-width: 100%;
  }

  .gallery-section > .container > .text-center,
  .gallery-section > .container > .text-center.mb-4 {
    margin-bottom: 1rem !important;
  }

  body.gallery-page .gallery-section > .container > .text-center.mb-4 {
    margin-bottom: 2rem !important;
    padding-bottom: 0.5rem;
  }

  .gallery-tabs {
    width: 100%;
    max-width: 320px;
    margin-bottom: 2.25rem;
  }

  .gallery-tab {
    flex: 1;
    min-width: 0;
    padding: 0.4rem 0.7rem;
    font-size: 0.84rem;
  }

  .gallrow {
    margin-top: 0.25rem;
    padding: 0.65rem 0 0;
    --bs-gutter-x: 0.7rem;
    --bs-gutter-y: 0.7rem;
  }

  .gallery_box .box img {
    height: 130px;
  }

  .gallery_box .box-content .icon li a {
    width: 2.35rem;
    height: 2.35rem;
  }

  .videos_list {
    border-radius: 4px;
  }

  .videos_list-embed {
    min-height: 190px;
    padding-bottom: 78%;
  }

  .videos_list-placeholder {
    min-height: 190px;
    padding: 0.7rem 0.4rem;
    gap: 0.35rem;
  }

  .videos_list-placeholder [class^="icon-"],
  .videos_list-placeholder [class^="icon-"]::before {
    font-size: 1.45rem;
  }

  .videos_list-placeholder > span:not([class^="icon-"]) {
    font-size: clamp(0.62rem, 3.1vw, 0.78rem);
    line-height: 1.3;
  }

  /* Blogs cards — clean stacked layout on phones */
  body.gallery-page #gallery-cards-row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  body.gallery-page #gallery-cards-row .blog-entry {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(15, 102, 121, 0.12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 102, 121, 0.07);
  }

  body.gallery-page #gallery-cards-row .block-20 {
    height: 200px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.gallery-page #gallery-cards-row .blog-entry .text {
    padding: 1.1rem 1.15rem 1.25rem !important;
  }

  body.gallery-page #gallery-cards-row .blog-entry .heading {
    font-size: 1.15rem;
  }

  body.gallery-page #gallery-cards-row .blog-entry.flex-column-reverse {
    flex-direction: column !important;
  }
}

@media (max-width: 575.98px) {
  .gallery-page-title {
    font-size: 1.55rem;
  }

  .gallery-tabs {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .gallery_box .box img {
    height: 112px;
  }

  .videos_list-embed {
    min-height: 175px;
    padding-bottom: 82%;
  }

  .videos_list-placeholder {
    min-height: 175px;
    padding: 0.55rem 0.3rem;
  }

  .videos_list-placeholder > span:not([class^="icon-"]) {
    font-size: 0.65rem;
  }

  .gallrow {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }

  body.gallery-page #gallery-cards-row .block-20 {
    height: 180px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.gallery-page #gallery-cards-row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 991.98px) {
  #hospital-footer .hospital-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  #hospital-footer .hospital-footer-card-location .map-frame iframe {
    height: 220px;
  }
}

/* ===== Home: Welcome section (below hero slider) ===== */
.ftco-search-course {
  width: 100%;
  margin-top: 0;
  overflow-x: hidden;
}
@media (max-width: 767.98px) {
  .ftco-search-course {
    margin-top: 0;
  }

  .welcome-top-section {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .welcome-top-section .welcome-top-row {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }
}
@media (max-width: 575.98px) {
  .ftco-search-course {
    padding-top: 1rem !important;
  }
}

.welcome-top-section {
  padding: 2.5rem 0 1.5rem 0;
  background-color: #f5f7fa;
  background-image: url("data:image/svg+xml,%3Csvg width='88' height='88' viewBox='0 0 88 88' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 18h16v28H24V18zm4 4v20h8V22h-8zm28 0h14v4H56v20h-4V26h-4v-4zm-8 8h10v2h-10v-2zm0 6h10v2h-10v-2z' fill='%23a0b4c0' fill-opacity='0.05'/%3E%3Cpath d='M44 12v28l10-5v12l-10-5V12h4zm0 32l6-3v6l-6 3v-6z' stroke='%23a0b4c0' stroke-opacity='0.05' stroke-width='1' fill='none'/%3E%3Ccircle cx='68' cy='20' r='6' fill='%23a0b4c0' fill-opacity='0.04'/%3E%3Ccircle cx='20' cy='68' r='6' fill='%23a0b4c0' fill-opacity='0.04'/%3E%3C/svg%3E");
  border: none !important;
}
.welcome-top-section .welcome-top-row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.welcome-top-section .welcome-content .welcome-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.welcome-top-section .welcome-content .welcome-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #1b3a6a;
  margin-bottom: 0.35rem;
  line-height: 1.2;
  display: block;
}
.welcome-top-section .welcome-content .welcome-location {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1b212c;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.welcome-top-section .welcome-content .welcome-text {
  color: #5a6c7d;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.btn-welcome-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  background: #28a745;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-welcome-cta:hover {
  background: #218838;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-welcome-cta .flaticon-books,
.btn-welcome-cta .flaticon-exam {
  color: #fff;
  font-size: 1.1rem;
}

/* Important: reference CSS uses .welcome-section; our section is .welcome-top-section */
.welcome-top-section .welcome-content {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 5rem;
  padding-right: 2rem;
}
.welcome-top-section .welcome-images {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding-right: 5rem;
  padding-left: 2rem;
}
.welcome-top-section .welcome-img-stack {
  position: relative;
  width: 100%;
  height: 320px;
  max-width: 100%;
  overflow: hidden;
  margin-left: auto;
  margin-right: 0;
}
.welcome-top-section .welcome-img {
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.welcome-top-section .welcome-img-back {
  top: 0;
  right: 0;
  width: 78%;
  height: 260px;
  z-index: 0;
}
.welcome-top-section .welcome-img-front {
  bottom: 0;
  left: 0;
  width: 52%;
  height: 220px;
  z-index: 1;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
  .welcome-top-section .welcome-content,
  .welcome-top-section .welcome-images {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .welcome-top-section .welcome-content {
    text-align: center;
  }
  .welcome-top-section .welcome-content .welcome-title {
    font-size: 1.85rem;
  }
  .welcome-top-section .welcome-images {
    min-height: 280px;
  }
  .welcome-top-section .welcome-img-stack {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    width: 100%;
    height: 280px;
  }
  .welcome-top-section .welcome-img-back {
    width: 75%;
    height: 200px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  .welcome-top-section .welcome-img-front {
    width: 50%;
    height: 160px;
    left: 5%;
    bottom: 15px;
  }
}
@media (max-width: 575.98px) {
  .welcome-top-section .welcome-content .welcome-title {
    font-size: 1.5rem;
  }
  .welcome-top-section .welcome-content .welcome-location {
    font-size: 1.2rem;
  }
}

/* ===== Home: 3 service cards (match screenshot style) ===== */
.ftco-section > .container > .row > .col-md-4 .media.block-6.services {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  border: 1px solid rgba(32, 138, 158, 0.28);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  padding: 2rem 1.75rem 2.15rem !important;
  width: 100%;
}
.ftco-section > .container > .row > .col-md-4 .media.block-6.services:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
  border-color: rgba(32, 138, 158, 0.45);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.ftco-section > .container > .row > .col-md-4 .media.block-6.services .icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(32, 138, 158, 0.10);
  border: 1px solid rgba(32, 138, 158, 0.14);
}
.ftco-section > .container > .row > .col-md-4 .media.block-6.services .icon span {
  font-size: 36px;
  color: #208A9E;
}
.ftco-section > .container > .row > .col-md-4 .media.block-6.services .heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}
.ftco-section > .container > .row > .col-md-4 .media.block-6.services p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Home: 3 service cards section — tighter vertical spacing */
body.index-page .welcome-top-section + .ftco-section {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (max-width: 991.98px) {
  body.index-page .welcome-top-section + .ftco-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  body.index-page .welcome-top-section + .ftco-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .ftco-section > .container > .row > .col-md-4 .media.block-6.services {
    padding: 1.35rem 1.25rem 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  body.index-page .welcome-top-section + .ftco-section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

/* About page: keep original video section layout; only add lightbox */
.about-video .button {
  border: 0;
  padding: 0;
  cursor: pointer;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.video-lightbox[hidden] {
  display: none !important;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 28, 0.78);
}

.video-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  cursor: pointer;
}

.video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.video-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.video-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.video-lightbox-open {
  overflow: hidden;
}

/* Home: hero-video style section heading (smaller, cleaner) */
.ftco-section-3.img .about-video h2 {
  font-size: 32px;
  line-height: 1.3;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 991.98px) {
  .ftco-section-3.img .about-video h2 {
    font-size: 26px;
  }
}
@media (max-width: 575.98px) {
  .ftco-section-3.img .about-video h2 {
    font-size: 22px;
  }
}

/* Home: video section play button (smaller) */
.ftco-section-3.img .about-video .button {
  width: 74px;
  height: 74px;
}
.ftco-section-3.img .about-video .button span {
  font-size: 22px;
}
@media (max-width: 575.98px) {
  .ftco-section-3.img .about-video .button {
    width: 64px;
    height: 64px;
  }
  .ftco-section-3.img .about-video .button span {
    font-size: 20px;
  }
}

/* ===== Home: Counter strip (hospital stats) ===== */
#section-counter.ftco-counter {
  background: linear-gradient(135deg, rgba(32, 138, 158, 0.08) 0%, rgba(245, 247, 250, 0.98) 50%, rgba(193, 47, 44, 0.06) 100%) !important;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: 3.25rem;
  border-top: 1px solid rgba(32, 138, 158, 0.12);
  border-bottom: 1px solid rgba(32, 138, 158, 0.12);
}
#section-counter .counter-wrap {
  margin-bottom: 0;
}
#section-counter .block-18 {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
#section-counter .block-18:hover {
  box-shadow: 0 16px 36px rgba(32, 138, 158, 0.14);
  transform: translateY(-2px);
  border-color: rgba(32, 138, 158, 0.18);
}
#section-counter .block-18 .text strong.number {
  color: #0f172a;
  font-weight: 800;
  font-size: 2.35rem;
}
#section-counter .block-18 .text strong.number::after {
  content: "" !important;
}
#section-counter .counter-number {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
  line-height: 1;
}
#section-counter .counter-suffix {
  font-weight: 800;
  font-size: 1.15rem;
  color: #208A9E;
}
#section-counter .block-18 .text span {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  #section-counter .counter-wrap {
    margin-bottom: 1rem;
  }
  #section-counter .counter-wrap:last-child {
    margin-bottom: 0;
  }
  #section-counter .block-18 .text strong.number {
    font-size: 2rem;
  }
}

/* ===== Home: Free-trial CTA block (appointment) ===== */
.ftco-freeTrial .d-flex.align-items-center {
  width: 100%;
  justify-content: space-between;
  gap: 1.5rem;
}
.ftco-freeTrial .btn-join {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ftco-freeTrial .btn-join p {
  margin: 0 !important;
}
.ftco-freeTrial .free-trial h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem !important;
}
.ftco-freeTrial .free-trial p {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.92;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.ftco-freeTrial .btn-join {
  width: auto;
}
.ftco-freeTrial .free-trial {
  width: auto;
  max-width: 820px;
}
.ftco-freeTrial .free-trial-cta-btn {
  background: linear-gradient(135deg, #208A9E 0%, #4da5c4 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 999px !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  padding: 0.9rem 1.5rem !important;
  text-transform: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.ftco-freeTrial .free-trial-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
  filter: brightness(1.03);
}
.ftco-freeTrial .free-trial-cta-btn:focus,
.ftco-freeTrial .free-trial-cta-btn:active {
  transform: translateY(0);
}
@media (max-width: 767.98px) {
  .ftco-freeTrial .d-flex.align-items-center {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .ftco-freeTrial .btn-join {
    width: 100%;
  }
  .ftco-freeTrial .free-trial-cta-btn {
    width: 100%;
  }
}

/* ===== Home: Mission & Vision (Montfort-style) ===== */
.mission-vision-section {
  position: relative;
  background:
    radial-gradient(circle at 14px 14px, rgba(15, 102, 121, 0.10) 1.2px, transparent 1.25px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(248, 251, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.mission-vision-row {
  row-gap: 1.75rem;
}

.mission-vision-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 2.15rem 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  height: 100%;
}

.mission-vision-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: rgba(32, 138, 158, 0.10);
  border: 1px solid rgba(32, 138, 158, 0.18);
}

.mission-vision-icon {
  font-size: 30px;
  color: #208A9E;
  line-height: 1;
}

.mission-vision-heading {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  color: #0f172a;
}

.mission-vision-text {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.mission-vision-center {
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 1.25rem 1rem;
  color: #0f172a;
}

.mission-vision-center-icon {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  margin: 0 auto 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
}

.mission-vision-center-icon span {
  font-size: 52px;
  color: #208A9E;
}

.mission-vision-center-text {
  margin: 0.1rem 0 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f172a;
  font-size: 1.15rem;
}

.mission-vision-center-books {
  font-size: 56px;
  line-height: 1;
  color: rgba(32, 138, 158, 0.65);
}

.mission-vision-card-vision {
  border-color: rgba(32, 138, 158, 0.30);
}

.mission-vision-card-mission {
  border-color: rgba(193, 47, 44, 0.22);
}

.mission-vision-card-mission .mission-vision-icon-wrap {
  background: rgba(193, 47, 44, 0.08);
  border-color: rgba(193, 47, 44, 0.16);
}

.mission-vision-card-mission .mission-vision-icon {
  color: #c12f2c;
}

@media (max-width: 991.98px) {
  body.index-page .mission-vision-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  body.index-page .mission-vision-row {
    row-gap: 0.85rem;
  }

  body.index-page .mission-vision-row > [class*="col-"] {
    margin-bottom: 0.75rem !important;
  }

  body.index-page .mission-vision-card {
    padding: 1.5rem 1.25rem;
  }

  body.index-page .mission-vision-center {
    max-width: 380px;
    padding: 0.35rem 0;
  }

  body.index-page .mission-vision-center-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 0.65rem;
  }

  body.index-page .mission-vision-center-icon span {
    font-size: 42px;
  }

  body.index-page .mission-vision-center-text {
    margin-bottom: 0.35rem;
  }

  body.index-page .mission-vision-center-books {
    font-size: 44px;
  }

  body.index-page .mission-vision-icon-wrap {
    margin-bottom: 0.75rem;
  }

  body.index-page .mission-vision-heading {
    margin-bottom: 0.65rem;
  }
}

@media (max-width: 767.98px) {
  body.index-page .mission-vision-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  body.index-page .mission-vision-row {
    row-gap: 0.65rem;
  }

  body.index-page .mission-vision-row > [class*="col-"] {
    margin-bottom: 0.5rem !important;
  }

  body.index-page .mission-vision-card {
    padding: 1.25rem 1.1rem;
  }

  body.index-page .mission-vision-center {
    padding: 0.15rem 0;
  }

  body.index-page .mission-vision-center-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 0.5rem;
  }

  body.index-page .mission-vision-center-icon span {
    font-size: 38px;
  }

  body.index-page .mission-vision-center-books {
    font-size: 40px;
  }
}

/* ===== Gallery page (card grid, pagination, detail) ===== */
/* Light geometric SVG tile — page only; hero stays photo (breadcrumbs on image) */
body.gallery-page {
  background-color: #fafcfd;
  background-image: url("../images/gallery-page-bg.svg");
  background-size: 220px 220px;
  background-repeat: repeat;
  background-position: 0 0;
  background-attachment: fixed;
}

@media (max-width: 767.98px) {
  body.gallery-page {
    background-attachment: scroll;
    background-size: 200px 200px;
  }
}

.gallery-page .gallery-section {
  background: transparent;
}

.gallery-page .gallery-detail-wrap {
  background: transparent;
}

.gallery-hero-photo {
  background-attachment: scroll;
}

.gallery-card-hidden {
  display: none !important;
}

#gallery-cards-row .block-20 {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

#gallery-cards-row .block-20:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.block-20.block-20-statue {
  background-size: contain;
  background-color: #f0f2f5;
}

.gallery-detail-wrap .rules-content-box {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 24px rgba(15, 95, 111, 0.08);
  max-width: 820px;
  margin-inline: auto;
}

.gallery-detail-wrap .gallery-back-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.gallery-detail-wrap .gallery-detail-image {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  background: #eef4f7;
  border: 1px solid rgba(15, 102, 121, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: min(380px, 48vh);
}

.gallery-detail-wrap .gallery-detail-image img,
.gallery-detail-wrap #gallery-detail-img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(380px, 48vh) !important;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .gallery-detail-wrap .rules-content-box {
    padding: 1.15rem 1.1rem;
    max-width: 100%;
  }

  .gallery-detail-wrap .gallery-detail-image {
    max-width: 100%;
    max-height: min(280px, 42vh);
    min-height: 160px;
  }

  .gallery-detail-wrap .gallery-detail-image img,
  .gallery-detail-wrap #gallery-detail-img {
    max-height: min(280px, 42vh) !important;
  }
}

.gallery-detail-wrap .rules-page-title {
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 600;
}

.gallery-back-link {
  color: #0f6679;
  font-weight: 500;
  text-decoration: none;
}

.gallery-back-link:hover,
.gallery-back-link:focus {
  color: #0d5566;
  text-decoration: none;
}

/* About Hospital — “pillars” band (below intro) */
.about-pillars-section {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4.25rem;
  background: linear-gradient(165deg, #f8fafc 0%, #f0f7ff 38%, #eef6f7 100%);
  color: #334155;
}

.about-pillars-section .container {
  z-index: 1;
}

.about-pillars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 60% at 12% 0%, rgba(37, 99, 235, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 75% 50% at 88% 100%, rgba(15, 102, 121, 0.1) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 255, 255, 0.7) 0%, transparent 70%),
    repeating-linear-gradient(
      -14deg,
      transparent,
      transparent 52px,
      rgba(15, 102, 121, 0.035) 52px,
      rgba(15, 102, 121, 0.035) 53px
    );
}

.about-pillars-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.65rem;
}

.about-pillars-title {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 600;
  color: #393e4d;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.about-pillars-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 0;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.about-pillars-grid {
  margin-left: -8px;
  margin-right: -8px;
}

.about-pillars-grid > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.about-pillar-card {
  height: 100%;
  padding: 1.35rem 1rem 1.45rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 36px rgba(15, 102, 121, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  text-align: center;
}

.about-pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.12), 0 4px 14px rgba(15, 23, 42, 0.06);
}

.about-pillar-icon {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  background-color: #2563eb;
  background-image: linear-gradient(145deg, #2563eb 0%, #0f6679 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* Ionicons render on :before — size/color must apply to the span (see .services .icon span in style.css) */
.about-pillar-icon > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: inherit;
  line-height: 1;
  color: inherit;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.about-pillar-icon > span::before {
  font-family: "Ionicons" !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

.about-pillar-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.about-pillar-desc {
  font-size: 0.875rem;
  line-height: 1.58;
  color: #64748b;
  margin-bottom: 0;
}

.about-pillars-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.about-pillar-cta {
  border-radius: 999px;
  padding: 0.55rem 1.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  background: #38bdf8;
  color: #0f172a !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}

.about-pillar-cta:hover {
  background: #7dd3fc;
  color: #0f172a !important;
  text-decoration: none;
}

.about-pillar-cta:focus,
.about-pillar-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.45);
}

.about-pillar-cta-outline {
  background: #fff;
  color: #334155 !important;
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.about-pillar-cta-outline:hover {
  background: #f8fafc;
  border-color: #2563eb;
  color: #1e293b !important;
}

.about-pillar-cta-outline:focus,
.about-pillar-cta-outline:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

@media (max-width: 575.98px) {
  .about-pillars-section {
    padding-top: 3rem;
    padding-bottom: 3.25rem;
  }

  .about-pillar-card {
    padding: 1.1rem 0.75rem 1.2rem;
  }

  .about-pillar-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .about-pillar-name {
    font-size: 0.95rem;
  }

  .about-pillar-desc {
    font-size: 0.8125rem;
  }
}

/* About Hospital — intro column (reference layout: eyebrow, title, highlight box, CTAs) */
.about-page-intro {
  background: #fff;
}

.about-page-intro-visual {
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 10px 40px rgba(15, 95, 111, 0.1);
}

.about-intro-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.45rem;
}

.about-intro-title {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 500;
  color: #393e4d;
  line-height: 1.28;
  margin-bottom: 1.15rem;
}

.about-intro-highlight {
  background: #f1f5f9;
  border-left: 4px solid #0f6679;
  padding: 1rem 1.2rem 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.about-intro-body {
  color: #5a6c7d;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.about-intro-body strong {
  color: #334155;
  font-weight: 600;
}

.about-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.about-intro-btn-primary,
.about-intro-btn-secondary {
  border-radius: 999px;
  padding: 0.55rem 1.6rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.about-intro-btn-primary {
  background: #2563eb;
  color: #fff !important;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.about-intro-btn-primary:hover {
  background: transparent;
  border-color: #60a5fa;
  color: #2563eb !important;
  box-shadow: none;
  outline: none;
}

.about-intro-btn-primary:focus,
.about-intro-btn-primary:focus-visible {
  outline: none;
  box-shadow: none !important;
}

.about-intro-btn-secondary {
  background: #fff;
  color: #2563eb !important;
  border-color: #bfdbfe;
}

.about-intro-btn-secondary:hover {
  background: transparent;
  color: #2563eb !important;
  border-color: #60a5fa;
  box-shadow: none;
  outline: none;
}

.about-intro-btn-secondary:focus,
.about-intro-btn-secondary:focus-visible {
  outline: none;
  box-shadow: none !important;
}

@media (max-width: 767.98px) {
  .about-page-intro-copy {
    padding-top: 1.5rem;
    padding-left: 15px !important;
  }

  .about-intro-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* About — Patient voices (two-column: appreciate card + quote grid) */
.about-patients-voices {
  background: #fff;
}

.about-patients-appreciate-card {
  background: #fff;
  border: 1px dashed rgba(100, 180, 200, 0.55);
  border-radius: 12px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 2px 14px rgba(15, 95, 111, 0.05);
  height: 100%;
}

.about-patients-appreciate-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.about-patients-check-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
}

.about-patients-appreciate-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f766e;
  line-height: 1.3;
}

.about-patients-appreciate-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-patients-appreciate-list li {
  margin-bottom: 0.65rem;
}

.about-patients-appreciate-list li:last-child {
  margin-bottom: 0;
}

.about-patients-appreciate-note {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
}

.about-patient-voices-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d5c66;
  margin-bottom: 1.25rem;
}

.about-patient-voices-grid {
  margin-top: 0;
}

.about-voice-card {
  background: #f4f7f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.15rem 1.25rem 1.1rem;
}

.about-voice-quote-icon {
  display: block;
  color: #0f6679;
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  opacity: 0.85;
  line-height: 1;
}

.about-voice-quote {
  font-style: italic;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.about-voice-attribution {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0;
  font-style: normal;
}

.about-voice-card-wide .about-voice-quote {
  margin-bottom: 0.5rem;
}

@media (max-width: 991.98px) {
  .about-patients-voices .pl-lg-4 {
    padding-left: 15px !important;
  }
}

/* Our Vision & Journey — About page carousel */
.vision-journey-section {
  position: relative;
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

@media (max-width: 991.98px) {
  .vision-journey-section {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }
}

@media (max-width: 767.98px) {
  .vision-journey-section {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
}

.vision-journey-section-title {
  color: #393e4d;
  font-weight: 600;
}

.vision-journey-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: 1.5rem 1.35rem 1.65rem;
  height: 100%;
  overflow: hidden;
}

.vision-journey-card-accent {
  height: 3px;
  margin: -1.5rem -1.35rem 1.35rem -1.35rem;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(
    to right,
    #2563eb 0%,
    #2563eb 50%,
    #1f2937 50%,
    #1f2937 100%
  );
}

.vision-journey-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.85rem;
}

.vision-journey-card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 0;
}

.vision-journey-card-text strong {
  color: #334155;
  font-weight: 600;
}

.vision-journey-section .carousel-vision-journey {
  position: relative;
  padding-left: 2rem;
  padding-right: 2rem;
}

.vision-journey-section .carousel-vision-journey .owl-stage {
  display: flex;
}

.vision-journey-section .carousel-vision-journey .owl-item {
  display: flex;
  opacity: 1 !important;
}

.vision-journey-section .carousel-vision-journey .item {
  width: 100%;
  display: flex;
}

.vision-journey-section .carousel-vision-journey .owl-nav {
  margin-top: 0;
}

.vision-journey-section .carousel-vision-journey .owl-nav .owl-prev,
.vision-journey-section .carousel-vision-journey .owl-nav .owl-next,
.vision-journey-section .carousel-vision-journey:hover .owl-nav .owl-prev,
.vision-journey-section .carousel-vision-journey:hover .owl-nav .owl-next {
  opacity: 1 !important;
}

.vision-journey-section .carousel-vision-journey .owl-nav button.owl-prev,
.vision-journey-section .carousel-vision-journey .owl-nav button.owl-next {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  font-size: 1.75rem !important;
  line-height: 1 !important;
  color: #cbd5e1 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.vision-journey-section .carousel-vision-journey .owl-nav button.owl-prev:hover,
.vision-journey-section .carousel-vision-journey .owl-nav button.owl-next:hover {
  color: #64748b !important;
  background: transparent !important;
}

.vision-journey-section .carousel-vision-journey .owl-nav .owl-prev,
.vision-journey-section .carousel-vision-journey:hover .owl-nav .owl-prev {
  left: 0 !important;
}

.vision-journey-section .carousel-vision-journey .owl-nav .owl-next,
.vision-journey-section .carousel-vision-journey:hover .owl-nav .owl-next {
  right: 0 !important;
}

.vision-journey-section .carousel-vision-journey .owl-dots {
  text-align: center;
  margin-top: 1.25rem;
}

.vision-journey-section .carousel-vision-journey .owl-dots .owl-dot {
  width: auto;
  height: auto;
  margin: 0 3px;
  background: transparent !important;
  border: none;
}

.vision-journey-section .carousel-vision-journey .owl-dots .owl-dot:after {
  display: none !important;
  content: none !important;
}

.vision-journey-section .carousel-vision-journey .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 4px 5px;
  background: #cbd5e1 !important;
}

.vision-journey-section .carousel-vision-journey .owl-dots .owl-dot.active span,
.vision-journey-section .carousel-vision-journey .owl-dots .owl-dot:hover span {
  background: #1d4ed8 !important;
}

@media (max-width: 575.98px) {
  .vision-journey-section .carousel-vision-journey {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Course / facility card images */
.course .img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#ftco-navbar .dropdown-item.active,
#ftco-navbar .dropdown-item:active {
  background: #e8f3f7;
  color: #0f6679;
}

/* ===== Home (index): dotted page background + Latest Blogs & Gallery cards ===== */
body.index-page {
  min-height: 100vh;
  background-color: #fff;
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: 0 0;
}

body.index-page .ftco-section.home-services-section {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8f9 42%, #ffffff 100%);
}

body.index-page .home-services-section .container > .row:first-child {
  margin-bottom: 1.35rem !important;
}

body.index-page .home-services-cards-row {
  margin-top: 0.25rem;
}

body.index-page .home-services-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.5rem;
}

body.index-page .home-services-title {
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

body.index-page .home-services-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 0;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

body.index-page .home-service-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 102, 121, 0.12);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

body.index-page .home-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 102, 121, 0.28);
  box-shadow: 0 16px 40px rgba(15, 102, 121, 0.12);
}

body.index-page .home-service-card-media {
  display: block;
  height: 200px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

body.index-page .home-service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.45) 100%);
  pointer-events: none;
}

body.index-page .home-service-card-body {
  padding: 1.35rem 1.35rem 1.45rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

body.index-page .home-service-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e7490;
  background: rgba(14, 116, 144, 0.1);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

body.index-page .home-service-card-heading {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

body.index-page .home-service-card-heading a {
  color: #0f172a;
  text-decoration: none;
}

body.index-page .home-service-card-heading a:hover,
body.index-page .home-service-card-heading a:focus {
  color: #0f6679;
}

body.index-page .home-service-card-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 0;
  flex: 1 1 auto;
}

body.index-page .home-service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f6679;
  text-decoration: none;
}

body.index-page .home-service-card-link .ion-ios-arrow-forward {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

body.index-page .home-service-card:hover .home-service-card-link .ion-ios-arrow-forward {
  transform: translateX(3px);
}

body.index-page .home-service-card-link:hover,
body.index-page .home-service-card-link:focus {
  color: #0e7490;
  text-decoration: none;
}

body.index-page .home-services-cta-btn {
  background: linear-gradient(180deg, #0f6679 0%, #0d5565 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(15, 102, 121, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.index-page .home-services-cta-btn:hover,
body.index-page .home-services-cta-btn:focus {
  background: linear-gradient(180deg, #115a6b 0%, #0a4754 100%);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 102, 121, 0.32);
}

@media (max-width: 767.98px) {
  body.index-page .home-service-card-media {
    height: 180px;
  }

  body.index-page .home-services-cards-row {
    margin-top: 0.5rem;
  }

  body.index-page .home-services-cards-row > [class*="col-"] {
    margin-bottom: 1.25rem;
  }

  body.index-page .home-services-cards-row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

body.index-page .ftco-section.events-section {
  background-color: rgba(15, 95, 111, 0.06) !important;
  background-image: none !important;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

body.index-page .events-section .events-heading-row {
  margin-bottom: 1.15rem !important;
  padding-bottom: 0.5rem !important;
}

body.index-page .events-section .blog-entry {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

body.index-page .events-section .blog-entry:hover {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

body.index-page .events-section .block-20.home-gallery-card-img {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin: 12px 12px 0 12px;
  width: calc(100% - 24px) !important;
  height: 240px;
  min-height: 220px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.index-page .events-section .blog-entry:hover .block-20.home-gallery-card-img {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body.index-page .events-section .blog-entry.d-flex.flex-column-reverse .block-20.home-gallery-card-img {
  margin: 0 12px 12px 12px;
}

body.index-page .events-section .blog-entry .text {
  padding: 1.25rem 1.75rem 1.75rem !important;
}

body.index-page .events-section .blog-entry .text .heading {
  font-weight: 700;
  font-size: 1.125rem;
}

body.index-page .events-section .blog-entry .text .heading a {
  color: #0f172a;
}

body.index-page .events-section .blog-entry .text .heading a:hover,
body.index-page .events-section .blog-entry .text .heading a:focus {
  color: #0f6679;
}

body.index-page .events-section .blog-entry .text > p {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

body.index-page .events-section .blog-entry .text > p:last-child {
  margin-bottom: 0;
}

body.index-page .events-section .blog-entry .text > p:last-child a {
  color: #1565c0;
  font-weight: 500;
  text-decoration: none;
}

body.index-page .events-section .blog-entry .text > p:last-child a:hover,
body.index-page .events-section .blog-entry .text > p:last-child a:focus {
  color: #0d47a1;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  body.index-page .events-section .block-20.home-gallery-card-img {
    height: 200px;
    min-height: 180px;
  }
}

/* ===== Our Doctors page — multi-section layout ===== */
.doctors-page-intro {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  background: #fff;
}

.doctors-intro-head {
  max-width: 42rem;
  margin: 0 auto;
}

.doctors-intro-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.5rem;
}

.doctors-intro-title {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.65rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.doctors-intro-line {
  width: 3rem;
  height: 3px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #0f6679);
}

.doctors-intro-lead {
  font-size: 1.0625rem;
  line-height: 1.68;
  color: #64748b;
  margin-bottom: 0;
}

.doctors-section-heading {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.doctors-trust-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.doctors-trust-grid {
  margin-left: -10px;
  margin-right: -10px;
}

.doctors-trust-grid > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.doctors-trust-card {
  height: 100%;
  text-align: center;
  padding: 1.35rem 0.85rem 1.45rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8edf2;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.doctors-trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.doctors-trust-ico {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.doctors-trust-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.doctors-trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.doctors-trust-text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 0;
}

.doctors-spotlight-section {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

.doctors-spotlight-sub {
  max-width: 36rem;
  margin: -0.5rem auto 2rem;
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.6;
}

.doctors-spotlight-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
  height: 100%;
}

.doctors-spotlight-accent {
  height: 3px;
  background: linear-gradient(to right, #2563eb 50%, #1e293b 50%);
}

.doctors-spotlight-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 576px) {
  .doctors-spotlight-inner {
    flex-direction: row;
    align-items: stretch;
  }
}

.doctors-spotlight-media {
  flex: 0 0 auto;
}

@media (min-width: 576px) {
  .doctors-spotlight-media {
    width: 42%;
    max-width: 280px;
  }
}

.doctors-spotlight-photo {
  width: 100%;
  min-height: 240px;
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
}

@media (min-width: 576px) {
  .doctors-spotlight-photo {
    min-height: 100%;
    height: 100%;
  }
}

.doctors-spotlight-body {
  flex: 1;
  padding: 1.35rem 1.25rem 1.5rem;
}

@media (min-width: 576px) {
  .doctors-spotlight-body {
    padding: 1.5rem 1.35rem 1.65rem;
  }
}

.doctors-spotlight-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.doctors-spotlight-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.doctors-spotlight-creds {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.doctors-spotlight-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.1rem;
}

.doctors-spotlight-bio strong {
  color: #334155;
  font-weight: 600;
}

.doctors-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doctors-spotlight-btn-primary {
  border-radius: 999px;
  padding: 0.5rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.doctors-spotlight-btn-primary:hover {
  color: #fff !important;
  filter: brightness(1.05);
  text-decoration: none;
}

.doctors-spotlight-btn-ghost {
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: #fff;
  color: #334155 !important;
  border: 1px solid #d1d5db;
}

.doctors-spotlight-btn-ghost:hover {
  border-color: #2563eb;
  color: #1e293b !important;
  text-decoration: none;
}

.doctors-spotlight-btn-ghost .icon {
  margin-right: 0.3rem;
}

.doctors-spotlight-card-alt .doctors-spotlight-photo {
  background-position: center top;
}

.doctors-spotlight-photo-raghuveer {
  background-position: center 12%;
}

.doctors-spotlight-row-secondary {
  margin-top: 1.5rem;
}

@media (min-width: 992px) {
  .doctors-spotlight-row-secondary {
    margin-top: 2rem;
  }
}

.doctors-profile-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.doctors-profile-page {
  background: #f8fafc;
  padding-top: 3rem;
}

@media (max-width: 767.98px) {
  .doctors-profile-page {
    padding-top: 2rem;
  }
}

.doctors-profile-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-link {
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-link:hover,
.hero-wrap-about .hero-breadcrumbs .hero-breadcrumb-link:focus {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.doctors-profile-back {
  margin-bottom: 1.25rem;
}

.doctors-profile-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.doctors-profile-back-link:hover,
.doctors-profile-back-link:focus {
  color: #1d4ed8;
  text-decoration: none;
}

.doctors-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8edf2;
}

.doctors-profile-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.doctors-profile-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

@media (min-width: 768px) {
  .doctors-profile-head {
    flex-direction: row;
    text-align: left;
    padding: 1.75rem 1.75rem 1.5rem;
  }
}

.doctors-profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  flex: 0 0 120px;
  background-size: cover;
  background-position: center 12%;
  background-repeat: no-repeat;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.doctors-profile-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.doctors-profile-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.35rem;
}

.doctors-profile-quals,
.doctors-profile-exp {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.doctors-profile-body {
  padding: 1.35rem 1.25rem 1.65rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .doctors-profile-body {
    padding: 1.65rem 1.75rem 1.85rem;
  }
}

.doctors-profile-body > p {
  margin-bottom: 1rem;
}

.doctors-profile-body > p:last-of-type {
  margin-bottom: 1.35rem;
}

.doctors-profile-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.15rem 0 0.65rem;
}

.doctors-profile-grid {
  margin-bottom: 0.35rem;
}

.doctors-profile-list {
  margin: 0 0 0.5rem;
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
}

.doctors-profile-list li + li {
  margin-top: 0.35rem;
}

.doctors-profile-timeline li {
  margin-bottom: 0.25rem;
}

.doctors-path-section {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
  background: #fff;
}

.doctors-path-sub {
  max-width: 32rem;
  margin: -0.75rem auto 2.25rem;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.doctors-path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doctors-path-steps > li {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .doctors-path-steps > li {
    margin-bottom: 0;
  }
}

.doctors-path-step {
  height: 100%;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 0.85rem;
  row-gap: 0.35rem;
  align-items: start;
}

.doctors-path-num {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0f6679);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.doctors-path-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.35;
  padding: 0;
}

.doctors-path-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 0;
}

.doctors-path-desc a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.doctors-path-desc a:hover {
  text-decoration: underline;
}

.doctors-explore-section {
  padding-top: 3rem;
  padding-bottom: 3.25rem;
}

.doctors-explore-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.doctors-explore-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.1);
}

.doctors-explore-icon {
  font-size: 1.75rem;
  line-height: 1;
  color: #0f6679;
  margin-bottom: 0.65rem;
}

.doctors-explore-icon::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.doctors-explore-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.doctors-explore-hint {
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.doctors-explore-hint .ion-ios-arrow-forward {
  font-size: 0.75rem;
  color: #2563eb;
}

.doctors-explore-hint .ion-ios-arrow-forward::before {
  font-family: "Ionicons" !important;
}

.doctors-cta-band {
  position: relative;
  padding: 2.75rem 0;
  overflow: hidden;
}

.doctors-cta-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #0f172a 0%, #1e3a5f 45%, #0f6679 100%);
  opacity: 1;
}

.doctors-cta-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(37, 99, 235, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.doctors-cta-band .container {
  position: relative;
  z-index: 1;
}

.doctors-cta-band-title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: #fff;
}

.doctors-cta-band-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.92);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .doctors-cta-band-text {
    margin-left: 0;
    margin-right: 0;
  }
}

.doctors-cta-band-btn {
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  background: #fff;
  color: #0f172a !important;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.doctors-cta-band-btn:hover {
  background: #f1f5f9;
  color: #0f172a !important;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 575.98px) {
  .doctors-trust-card {
    padding: 1rem 0.65rem 1.1rem;
  }

  .doctors-trust-ico {
    font-size: 1.65rem;
  }

  .doctors-trust-title {
    font-size: 0.88rem;
  }

  .doctors-trust-text {
    font-size: 0.75rem;
  }
}

/* ===== Infrastructure / Facilities page ===== */
.facilities-page-intro {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  background: #fff;
}

.facilities-intro-head {
  max-width: 42rem;
  margin: 0 auto;
}

.facilities-intro-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.5rem;
}

.facilities-intro-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.65rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.facilities-intro-line {
  width: 3rem;
  height: 3px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #0f6679);
}

.facilities-intro-lead {
  font-size: 1.0625rem;
  line-height: 1.68;
  color: #64748b;
  margin-bottom: 0;
}

/* Montfort-style facilities showcase: patterned band + intro row + circular infrastructure cluster */
.facilities-subpage-pattern-bg {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
  background-color: #f4f6f9;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 102, 121, 0.07) 1px, transparent 0);
  background-size: 28px 28px;
}

.facilities-montfort-intro-row {
  margin-bottom: 0;
}

.facilities-montfort-intro-heading {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: #0f6679;
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.facilities-montfort-intro-content p {
  font-size: 1rem;
  line-height: 1.68;
  color: #475569;
  margin-bottom: 1rem;
}

.facilities-montfort-intro-content p:last-child {
  margin-bottom: 0;
}

.facilities-montfort-intro-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.facilities-montfort-intro-img {
  display: block;
  width: 100%;
  height: auto;
}

.facilities-infra-block {
  padding-bottom: 0.5rem;
}

.facilities-infra-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0f6679;
  margin-bottom: 2.25rem;
  letter-spacing: -0.02em;
}

.facilities-circle-row {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

.facilities-circle-wrap {
  border-radius: 50%;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.14),
    0 4px 12px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facilities-circle-wrap:hover {
  transform: scale(1.03);
  box-shadow:
    0 20px 52px rgba(15, 102, 121, 0.18),
    0 6px 16px rgba(15, 23, 42, 0.1);
}

.facilities-circle-sm {
  width: 142px;
  height: 142px;
}

.facilities-circle-lg {
  width: 230px;
  height: 230px;
}

@media (min-width: 576px) {
  .facilities-circle-sm {
    width: 162px;
    height: 162px;
  }

  .facilities-circle-lg {
    width: 275px;
    height: 275px;
  }
}

@media (min-width: 768px) {
  .facilities-circle-sm {
    width: 182px;
    height: 182px;
  }

  .facilities-circle-lg {
    width: 315px;
    height: 315px;
  }
}

@media (min-width: 992px) {
  .facilities-circle-sm {
    width: 200px;
    height: 200px;
  }

  .facilities-circle-lg {
    width: 350px;
    height: 350px;
  }
}

.facilities-infra-text {
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.facilities-infra-text p {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: #475569;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .facilities-subpage-pattern-bg {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .facilities-infra-heading {
    margin-bottom: 1.75rem;
  }

  .facilities-circle-side {
    padding-top: 0.25rem;
  }
}

.facilities-section-title {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.facilities-glance-section {
  padding-top: 2.75rem;
  padding-bottom: 3rem;
}

.facilities-glance-row {
  margin-left: -8px;
  margin-right: -8px;
}

.facilities-glance-row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.facilities-glance-tile {
  height: 100%;
  text-align: center;
  padding: 1.35rem 0.85rem 1.4rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8edf2;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.facilities-glance-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.1);
}

.facilities-glance-ico {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #2563eb;
  margin-bottom: 0.65rem;
}

.facilities-glance-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.facilities-glance-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.facilities-glance-desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
  margin-bottom: 0;
}

.facilities-grid-section {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.facilities-grid-sub {
  max-width: 38rem;
  margin: -0.25rem auto 2.25rem;
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.6;
}

.facilities-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8edf2;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.facilities-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 20px 48px rgba(15, 102, 121, 0.12);
}

.facilities-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #2563eb 45%, #1e293b 45%, #1e293b 100%);
  z-index: 2;
}

.facilities-card-img {
  height: 200px;
  background-size: cover;
  background-position: center center;
  position: relative;
  text-decoration: none !important;
}

.facilities-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35) 0%, transparent 45%);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.facilities-card:hover .facilities-card-img::after {
  opacity: 1;
}

.facilities-card--no-img .facilities-card-body {
  padding: 1.45rem 1.35rem 1.55rem;
}

.facilities-card-body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.facilities-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.45rem;
}

.facilities-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.facilities-card-text {
  font-size: 0.9rem;
  line-height: 1.62;
  color: #64748b;
  margin-bottom: 0;
}

.facilities-more-section {
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
  background: #f1f5f9;
}

.facilities-more-sub {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
}

.facilities-more-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .facilities-more-list {
    margin-bottom: 0;
  }
}

.facilities-more-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #334155;
}

.facilities-more-list li:last-child {
  margin-bottom: 0;
}

.facilities-more-ico {
  position: absolute;
  left: 0;
  top: 0.12rem;
  font-size: 1.05rem;
  line-height: 1;
  color: #0f6679;
}

.facilities-more-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.facilities-standards-section {
  padding-top: 2.75rem;
  padding-bottom: 3rem;
  background: #fff;
}

.facilities-standards-grid {
  row-gap: 1.75rem;
}

@media (max-width: 767.98px) {
  .facilities-standards-grid {
    row-gap: 1.25rem;
  }
}

.facilities-standard-card {
  height: 100%;
  padding: 1.5rem 1.35rem 1.55rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  border-left: 4px solid #2563eb;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.facilities-standard-card:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
  border-left-color: #1d4ed8;
}

.facilities-standard-ico {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.facilities-standard-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.facilities-standard-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.facilities-standard-text {
  font-size: 0.9rem;
  line-height: 1.62;
  color: #64748b;
  margin-bottom: 0;
}

.facilities-cta-band {
  position: relative;
  padding: 2.65rem 0;
  overflow: hidden;
}

.facilities-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #0f172a 0%, #1e3a5f 48%, #0f6679 100%);
}

.facilities-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 0% 100%, rgba(37, 99, 235, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.facilities-cta-band .container {
  position: relative;
  z-index: 1;
}

.facilities-cta-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: #fff;
}

.facilities-cta-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.92);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .facilities-cta-text {
    margin-left: 0;
    margin-right: 0;
  }
}

.facilities-cta-btn {
  border-radius: 999px;
  padding: 0.55rem 1.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  background: #fff;
  color: #0f172a !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.facilities-cta-btn:hover {
  background: #f1f5f9;
  color: #0f172a !important;
  text-decoration: none;
}

.facilities-cta-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.facilities-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff !important;
}

@media (max-width: 575.98px) {
  .facilities-glance-tile {
    padding: 1.1rem 0.65rem 1.15rem;
  }

  .facilities-glance-ico {
    font-size: 1.65rem;
  }

  .facilities-card-img {
    height: 180px;
  }
}

/* ===== Treatments page ===== */
.hero-wrap-about .treatments-hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  font-weight: 400;
}

/* Treatments page intro: use full container width (split layout), not a narrow centered column */
.treatments-page-intro .facilities-intro-line.treatments-intro-line {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .treatments-page-intro .facilities-intro-line.treatments-intro-line {
    margin-left: 0;
    margin-right: 0;
  }
}

.treatments-page-intro .treatments-intro-lead {
  margin-bottom: 0;
}

.treatments-page-intro .treatments-intro-badges {
  margin-top: 1.25rem;
}

.treatments-intro-badges {
  gap: 0.5rem;
  margin-top: 1.5rem;
  row-gap: 0.5rem;
}

.treatments-intro-badge {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e3a8a;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.treatments-advanced-ribbon {
  padding: 2.75rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #2d4a5e 40%, #155e75 100%);
  color: #fff;
}

.treatments-advanced-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.95);
  margin-bottom: 0.5rem;
}

.treatments-advanced-ribbon-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.treatments-advanced-ribbon-lead {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
}

.treatments-advanced-pills-row {
  margin-left: -8px;
  margin-right: -8px;
}

.treatments-advanced-pills-row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.treatments-advanced-pill {
  height: 100%;
  padding: 1.15rem 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.treatments-advanced-pill:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.treatments-advanced-pill-ico {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: #93c5fd;
  margin-bottom: 0.65rem;
}

.treatments-advanced-pill-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.treatments-advanced-pill-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.treatments-advanced-pill-desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.85);
  margin-bottom: 0;
}

.treatments-stats-sub,
.treatments-pillars-sub {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 36rem;
  margin: -0.5rem auto 1.75rem;
  line-height: 1.55;
}

.treatments-pillars-eyebrow,
.treatments-catalog-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.5rem;
}

.treatments-pillar-grid {
  margin-left: -10px;
  margin-right: -10px;
}

.treatments-pillar-grid > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.treatments-pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8edf2;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.treatments-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.treatments-pillar-card-body {
  padding: 1.35rem 0.85rem 1.45rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.treatments-pillar-card-ico {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.treatments-pillar-card-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.treatments-pillar-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.treatments-pillar-card-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .treatments-pillar-grid > [class*="col-"] {
    margin-bottom: 1.1rem;
  }

  .treatments-pillar-grid > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

.treatments-ent-spectrum-section {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #ffffff 100%);
  scroll-margin-top: 5.75rem;
}

.treatments-spectrum-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.5rem;
}

.treatments-spectrum-sub {
  max-width: 40rem;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.65;
}

.treatments-spectrum-row {
  margin-left: -10px;
  margin-right: -10px;
}

.treatments-spectrum-row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.treatments-spectrum-card {
  height: 100%;
  padding: 1.35rem 1.15rem 1.4rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.treatments-spectrum-card--media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border-color: rgba(15, 102, 121, 0.14);
}

.treatments-spectrum-card--media:hover {
  border-color: rgba(15, 102, 121, 0.3);
  box-shadow: 0 18px 48px rgba(15, 102, 121, 0.14);
}

.treatments-spectrum-card-media {
  position: relative;
  height: 168px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.treatments-spectrum-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(15, 23, 42, 0.5) 100%);
  pointer-events: none;
}

.treatments-spectrum-card-media-ico {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  line-height: 1;
  color: #0f6679;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.treatments-spectrum-card-media-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.treatments-spectrum-card-body {
  padding: 1.15rem 1.15rem 1.35rem;
  flex: 1 1 auto;
}

.treatments-spectrum-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.12);
}

.treatments-spectrum-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.treatments-spectrum-icon-wrap span {
  font-size: 1.5rem;
  line-height: 1;
  color: #2563eb;
}

.treatments-spectrum-icon-wrap span::before {
  font-family: "Ionicons" !important;
}

.treatments-spectrum-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.treatments-spectrum-lead {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.treatments-spectrum-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

.treatments-spectrum-list li {
  margin-bottom: 0.35rem;
}

.treatments-catalog-section {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.treatments-catalog-sub {
  max-width: 42rem;
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.65;
}

.treatments-region-intro {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(15, 102, 121, 0.12);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  background: #fff;
}

.treatments-region-banner {
  min-height: 132px;
  height: 140px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  flex-shrink: 0;
}

.treatments-region-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.2) 55%, transparent 100%);
  pointer-events: none;
}

.treatments-region-intro-main {
  padding: 1rem 1.25rem 1.15rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.treatments-region-intro .treatments-region-title {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .treatments-region-intro {
    flex-direction: row;
    align-items: stretch;
    min-height: 120px;
  }

  .treatments-region-banner {
    width: 38%;
    min-width: 200px;
    max-width: 320px;
    height: auto;
    min-height: 0;
  }

  .treatments-region-intro-main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 1.1rem 1.5rem;
  }
}

.treatments-region-block {
  margin-bottom: 2.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e8edf2;
}

.treatments-region-block:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.treatments-region-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.treatments-region-ico {
  font-size: 1.5rem;
  line-height: 1;
  color: #2563eb;
}

.treatments-region-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.treatments-service-card {
  height: 100%;
  position: relative;
  padding: 1.35rem 1.15rem 1.4rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8edf2;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease;
  overflow: hidden;
}

.treatments-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #2563eb, #0f6679);
  opacity: 0.85;
}

.treatments-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.treatments-service-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}

.treatments-service-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.treatments-service-desc {
  font-size: 0.9rem;
  line-height: 1.58;
  color: #64748b;
  margin-bottom: 0;
}

.ftco-section.treatments-consultants-section {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (max-width: 767.98px) {
  .ftco-section.treatments-consultants-section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}

.treatments-consultants-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #475569;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.treatments-consultants-links {
  margin-top: 1.25rem !important;
}

.treatments-bottom-cta-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  background: #fff;
}

.treatments-bottom-note {
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 575.98px) {
  .treatments-advanced-ribbon {
    padding: 2rem 0;
  }

  .treatments-advanced-pill {
    margin-bottom: 0.5rem;
  }

  .treatments-spectrum-card {
    padding: 1.15rem 1rem;
  }
}

/* ===== Patient care page ===== */
.hero-wrap-about .patient-care-hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.patient-care-page-intro {
  padding-top: 3.25rem;
  padding-bottom: 2.5rem;
  background: #fff;
}

.patient-care-intro-line {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .patient-care-intro-line {
    margin-left: 0;
    margin-right: 0;
  }
}

.patient-care-toc {
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.patient-care-toc-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f6679;
  margin-bottom: 0.85rem;
}

.patient-care-toc-list li {
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.patient-care-toc-list li:last-child {
  margin-bottom: 0;
}

.patient-care-toc-list a {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.patient-care-toc-list a:hover,
.patient-care-toc-list a:focus {
  text-decoration: underline;
  color: #1d4ed8;
}

.patient-care-topic-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.patient-care-alt-bg {
  background: #f8fafc;
}

.patient-care-topic-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.patient-care-topic-ico {
  font-size: 1.75rem;
  line-height: 1;
  color: #0f6679;
}

.patient-care-topic-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.patient-care-topic-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.patient-care-card {
  height: 100%;
  padding: 1.35rem 1.3rem 1.45rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8edf2;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.patient-care-alt-bg .patient-care-card {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.patient-care-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.08);
}

.patient-care-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f6679;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(15, 102, 121, 0.15);
}

.patient-care-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #475569;
}

.patient-care-list li {
  margin-bottom: 0.5rem;
}

.patient-care-list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .patient-care-list--columns {
    column-count: 2;
    column-gap: 2rem;
  }

  .patient-care-list--columns li {
    break-inside: avoid;
  }
}

.patient-care-note {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #475569;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  border-left: 4px solid #2563eb;
  margin-bottom: 0;
}

.patient-care-lead {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
  line-height: 1.68;
  color: #64748b;
}

.patient-care-bottom-cta {
  padding-top: 2.75rem;
  padding-bottom: 3.25rem;
}

.patient-care-bottom-title {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.patient-care-bottom-lead {
  font-size: 1rem;
  color: #64748b;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .patient-care-topic-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .patient-care-toc {
    text-align: center;
  }

  .patient-care-toc-list {
    text-align: left;
  }
}

/* Patient Journey — step grid + consultation block */
.patient-journey-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 55%, #ffffff 100%);
}

.patient-journey-main-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.patient-journey-intro {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.68;
  color: #64748b;
}

.patient-journey-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 1199.98px) {
  .patient-journey-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .patient-journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.patient-journey-step-inner {
  position: relative;
  height: 100%;
  padding: 1.35rem 0.75rem 1.25rem;
  padding-top: 2.35rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease;
}

.patient-journey-step-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.12);
}

.patient-journey-step-num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0f6679);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.patient-journey-step-ico {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: #0f6679;
  margin-bottom: 0.55rem;
}

.patient-journey-step-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.patient-journey-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.patient-journey-step-text {
  font-size: 0.78rem;
  line-height: 1.52;
  color: #64748b;
  margin: 0;
}

.patient-journey-step-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border-radius: 16px;
  outline: none;
}

.patient-journey-step-link:focus-visible .patient-journey-step-inner {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.45), 0 16px 44px rgba(37, 99, 235, 0.12);
}

/* Step detail panels (anchor targets below the grid) */
.patient-journey-details {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

.patient-journey-details-head {
  margin-bottom: 2rem;
}

.patient-journey-details-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.patient-journey-details-line {
  margin: 0 auto 1rem;
}

.patient-journey-details-lead {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.patient-journey-detail {
  scroll-margin-top: 5.75rem;
}

.patient-journey-detail + .patient-journey-detail {
  margin-top: 1.25rem;
}

.patient-journey-detail-inner {
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.45rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.patient-journey-detail--alt .patient-journey-detail-inner {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.patient-journey-detail:target .patient-journey-detail-inner {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28), 0 12px 36px rgba(15, 23, 42, 0.07);
  border-color: rgba(37, 99, 235, 0.35);
}

.patient-journey-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.patient-journey-detail-num {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0f6679);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.patient-journey-detail-ico {
  font-size: 1.5rem;
  color: #0f6679;
  line-height: 1;
}

.patient-journey-detail-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.patient-journey-detail-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.patient-journey-detail-text {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.62;
  margin-bottom: 0.85rem;
}

.patient-journey-detail-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.patient-journey-detail-list li {
  margin-bottom: 0.4rem;
}

.patient-journey-detail-list a {
  color: #2563eb;
  text-decoration: underline;
}

.patient-journey-detail-cta {
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.patient-journey-detail-btn {
  background: linear-gradient(135deg, #2563eb, #0f6679);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.patient-journey-detail-btn:hover {
  color: #fff !important;
  filter: brightness(1.05);
}

.patient-journey-detail-more {
  margin-top: 0.65rem;
}

.patient-journey-detail-link {
  font-weight: 600;
  color: #0f6679 !important;
  font-size: 0.92rem;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(15, 102, 121, 0.35);
  display: inline-block;
}

.patient-journey-detail-link:hover {
  color: #2563eb !important;
  border-bottom-color: rgba(37, 99, 235, 0.45);
}

.patient-journey-consultation-block {
  scroll-margin-top: 5.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.patient-care-card--journey {
  border: 1px solid #e8edf2;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.07);
}

.patient-care-card--journey:hover {
  box-shadow: 0 16px 44px rgba(15, 102, 121, 0.1);
}

.ftco-section.patient-journey-page-intro {
  padding-top: 3rem;
  padding-bottom: 2.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
  border-bottom: 1px solid #e8edf2;
}

/* Centered stack: eyebrow + title + line (no lead copy) */
.patient-journey-page-intro .facilities-intro-eyebrow {
  margin-bottom: 0.45rem;
}

.patient-journey-page-intro .facilities-intro-title {
  margin-bottom: 0.55rem;
}

.patient-journey-intro-line {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  width: 3.25rem;
}

.patient-care-journey-promo {
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.patient-care-journey-promo-text {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ===== Patient support page ===== */
.patient-support-intro {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 42%, #ffffff 100%);
  border-bottom: 1px solid #e0f2fe;
}

.patient-support-intro-line {
  margin-bottom: 1rem;
}

.patient-support-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .patient-support-highlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.patient-support-highlight-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 0.95rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e0f2fe;
  box-shadow: 0 10px 32px rgba(14, 116, 144, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.patient-support-highlight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 14px 40px rgba(14, 116, 144, 0.12);
}

.patient-support-highlight-ico {
  font-size: 1.55rem;
  line-height: 1;
  color: #0891b2;
  margin-bottom: 0.5rem;
}

.patient-support-highlight-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.patient-support-highlight-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.patient-support-highlight-meta {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.35;
}

.patient-support-jump {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #bae6fd;
  box-shadow: 0 8px 28px rgba(8, 145, 178, 0.07);
}

@media (min-width: 768px) {
  .patient-support-jump {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

.patient-support-jump-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e7490;
  flex-shrink: 0;
}

.patient-support-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.patient-support-jump-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0c4a6e;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.patient-support-jump-pill:hover,
.patient-support-jump-pill:focus {
  color: #fff;
  background: linear-gradient(180deg, #0891b2 0%, #0e7490 100%);
  border-color: #0e7490;
  text-decoration: none;
}

.patient-support-section {
  padding-top: 2.85rem;
  padding-bottom: 2.85rem;
  scroll-margin-top: 5.5rem;
}

.patient-support-section--alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
}

.patient-support-card--accent {
  border-color: rgba(8, 145, 178, 0.25);
  background: linear-gradient(165deg, #ffffff 0%, #ecfeff 100%);
}

.patient-support-card-lead {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0.85rem;
}

.patient-support-quote {
  height: 100%;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0e7490 0%, #155e75 48%, #164e63 100%);
  color: #fff;
  box-shadow: 0 16px 44px rgba(15, 118, 110, 0.28);
  position: relative;
  overflow: hidden;
}

.patient-support-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.patient-support-quote-text {
  font-size: 1.05rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.patient-support-quote-cap {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

.patient-support-mini-card {
  height: 100%;
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.patient-support-mini-card:hover {
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: 0 12px 34px rgba(8, 145, 178, 0.1);
}

.patient-support-mini-ico {
  display: block;
  font-size: 1.65rem;
  color: #0d9488;
  margin-bottom: 0.65rem;
}

.patient-support-mini-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.patient-support-mini-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f6679;
  margin-bottom: 0.55rem;
}

.patient-support-mini-text {
  font-size: 0.9rem;
  line-height: 1.62;
  color: #64748b;
  margin-bottom: 0;
}

.patient-support-edu-panel {
  height: 100%;
  padding: 1.5rem 1.35rem 1.55rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 100%);
  border: 1px solid #fde68a;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.08);
}

.patient-support-edu-panel--secondary {
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
  border-color: #99f6e4;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.1);
}

.patient-support-edu-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.85rem;
}

.patient-support-edu-panel--secondary .patient-support-edu-title {
  color: #0f766e;
}

@media (max-width: 575.98px) {
  .patient-support-highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .patient-support-highlight-card {
    padding: 0.85rem 0.75rem 0.95rem;
  }
}

/* Admission & discharge guidelines — dedicated page intro */
.admission-discharge-intro {
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e8edf2;
}

/* Insurance & billing page */
.insurance-billing-intro {
  padding-top: 2.75rem;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e8edf2;
}

.insurance-billing-section {
  scroll-margin-top: 5.5rem;
}

.insurance-billing-jump {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.patient-care-note--documents {
  background: rgba(238, 242, 255, 0.95);
  border-left-color: #4f46e5;
}

/* Follow-up care page */
.follow-up-care-intro {
  padding-top: 3rem;
  padding-bottom: 2.75rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f0fdfa 100%);
  border-bottom: 1px solid #e2e8f0;
}

.follow-up-care-intro-line {
  margin-bottom: 1rem;
}

.follow-up-care-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .follow-up-care-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.follow-up-care-quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.follow-up-care-quick-card:hover {
  border-color: rgba(15, 102, 121, 0.25);
  box-shadow: 0 12px 34px rgba(15, 102, 121, 0.1);
}

.follow-up-care-quick-card--accent {
  background: linear-gradient(165deg, #ffffff 0%, #ecfeff 100%);
  border-color: #a5f3fc;
}

.follow-up-care-quick-ico {
  font-size: 1.5rem;
  line-height: 1;
  color: #0f6679;
  margin-bottom: 0.45rem;
}

.follow-up-care-quick-ico::before {
  font-family: "Ionicons" !important;
  font-style: normal;
  font-weight: normal;
}

.follow-up-care-quick-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.follow-up-care-quick-text {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

.follow-up-care-quick-text a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.follow-up-care-quick-text a:hover,
.follow-up-care-quick-text a:focus {
  text-decoration: underline;
}

.follow-up-care-main {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 35%, #ffffff 100%);
}

.follow-up-care-main .patient-care-topic-head {
  margin-bottom: 2rem;
}

.follow-up-care-card {
  border: 1px solid #e8edf2;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.07);
}

.follow-up-care-card:hover {
  box-shadow: 0 16px 44px rgba(15, 102, 121, 0.1);
}

.follow-up-care-card--watch {
  border-left: 4px solid #ea580c;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.follow-up-care-footnote {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

