﻿/* ==========================================================================
   Fountain of Life - additions on top of the ClinicMaster stylesheet.
   Kept in a separate file so the template CSS stays upgradable.

   Colour note: the client asked to retain blue / white / red and modernise.
   Blue and navy are set through the skin-5 variable block in style.css.
   Red lives here as --fol-accent and is used only for emergency and urgency
   marks - never as a background field, which in a clinical context reads as
   alarm rather than brand.
   ========================================================================== */

/* --------------------------------------------------------- emergency bar -- */

html[data-theme-color=skin-5] {
  --bs-primary: #063B73;
  --bs-primary-rgb: 6, 59, 115;
  --bs-primary-text-emphasis: #04284F;
  --bs-primary-bg-subtle: #E4EDF6;
  --bs-primary-border-subtle: #9CB7D3;
  --bs-primary-btn-hover-bg: #052F5C;
  --bs-primary-btn-hover-border-color: #052F5C;
  --bs-link-color-rgb: 6, 59, 115;
  --bs-link-hover-color: #052F5C;
  --bs-focus-ring-color: rgba(6, 59, 115, 0.30);
  --bs-btn-focus-shadow-rgb: 6, 59, 115;
  --gradient-primary: linear-gradient(90deg, #063B73 0%, #0A548D 100%);
  --fol-green: #2FA86B;
  --fol-green-dark: #238857;
  --fol-green-subtle: #EAF8F0;
  --fol-green-rgb: 47, 168, 107;
}

.fol-topbar {
  background: var(--bs-secondary);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.4;
  position: relative;
  z-index: 3;
}
.fol-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.fol-topbar a { color: rgba(255, 255, 255, 0.78); }
.fol-topbar a:hover { color: #fff; }
.fol-topbar-addr { display: inline-flex; align-items: center; gap: 0.5rem; }
.fol-topbar-right { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

/* The page should show immediately. The template preloader used a full-screen
   overlay, so it is removed visually even before the cleanup script runs. */
.dz-preloader-1,
.dz-preloader-2,
.dz-preloader-3,
.dz-preloader-4 {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.fol-emerg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff !important;
  font-weight: 600;
}
.fol-emerg:hover { color: var(--fol-accent-on-dark) !important; }
.fol-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fol-green);
  box-shadow: 0 0 0 0 rgba(var(--fol-green-rgb), 0.7);
  animation: folPulse 2.4s infinite;
  flex: none;
}
@keyframes folPulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--fol-green-rgb), 0.65); }
  70%  { box-shadow: 0 0 0 8px rgba(var(--fol-green-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--fol-green-rgb), 0); }
}
@media (prefers-reduced-motion: reduce) {
  .fol-dot { animation: none; }
}
@media (max-width: 767px) {
  .fol-topbar-addr,
  .fol-topbar-email { display: none; }
  .fol-topbar .container { justify-content: center; }
}

/* Primary and accent are tuned for light grounds. On the dark topbar and
   footer they fall below AA, so dark contexts get the lifted variants. */
.bg-secondary .text-primary,
.footer .text-primary,
.fol-topbar .text-primary { color: var(--fol-primary-on-dark) !important; }
.footer .text-accent,
.bg-secondary .text-accent { color: var(--fol-accent-on-dark) !important; }

/* ------------------------------------------------------------ footer bits -- */

.footer-contact span { word-break: break-word; }

.footer-logo img {
  max-width: 150px;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.footer-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-credentials span {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}
.footer-credentials strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-cta-actions .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.footer-cta-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ---------------------------------------------------------- accent marks -- */

.text-accent { color: var(--fol-green) !important; }

.btn-accent {
  background: var(--fol-accent);
  border-color: var(--fol-accent);
  color: #fff;
}
.btn-accent:hover,
.btn-accent:focus {
  background: var(--fol-accent-dark);
  border-color: var(--fol-accent-dark);
  color: #fff;
}

/* --------------------------------------------------------- services page -- */

.fol-services-overview {
  background:
    linear-gradient(180deg, #F3F8FC 0%, #F9FCFB 100%);
}
.fol-services-overview .icon-bx-wraper.style-1 {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 34px 34px 32px;
  background: #fff;
  border: 1px solid rgba(var(--bs-primary-rgb), .16);
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 14px 34px rgba(11, 42, 53, .07);
  transition:
    background-color .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    transform .28s cubic-bezier(.2, .7, .2, 1);
}
.fol-services-overview .icon-bx-wraper.style-1::before {
  content: none;
}
.fol-services-overview .icon-bx-wraper.style-1::after {
  content: none;
}
.fol-services-overview .icon-bx-wraper.style-1 .icon-bx-sm {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.fol-services-overview .icon-bx-wraper.style-1 .icon-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}
.fol-services-overview .icon-bx-wraper.style-1 .dz-title {
  font-size: 1.28rem;
  letter-spacing: 0;
}
.fol-services-overview .icon-bx-wraper.style-1 p {
  line-height: 1.65;
  flex: 1 1 auto;
}
.fol-services-overview .icon-bx-wraper.style-1:hover,
.fol-services-overview .icon-bx-wraper.style-1:focus,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible,
.fol-services-overview .icon-bx-wraper.style-1.active {
  background:
    linear-gradient(180deg, rgba(var(--bs-primary-rgb), .1), rgba(var(--bs-primary-rgb), .055));
  border-color: rgba(var(--bs-primary-rgb), .34);
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12) inset,
    0 20px 44px rgba(var(--bs-primary-rgb), .16);
}
.fol-services-overview .icon-bx-wraper.style-1:hover .icon-content > *,
.fol-services-overview .icon-bx-wraper.style-1:focus .icon-content > *,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .icon-content > *,
.fol-services-overview .icon-bx-wraper.style-1.active .icon-content > *,
.fol-services-overview .icon-bx-wraper.style-1:hover .icon-cell,
.fol-services-overview .icon-bx-wraper.style-1:focus .icon-cell,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .icon-cell,
.fol-services-overview .icon-bx-wraper.style-1.active .icon-cell,
.fol-services-overview .icon-bx-wraper.style-1:hover .icon-cell i,
.fol-services-overview .icon-bx-wraper.style-1:focus .icon-cell i,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .icon-cell i,
.fol-services-overview .icon-bx-wraper.style-1.active .icon-cell i {
  color: var(--bs-primary) !important;
}
.fol-services-overview .icon-bx-wraper.style-1:hover .icon-content > *,
.fol-services-overview .icon-bx-wraper.style-1:focus .icon-content > *,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .icon-content > *,
.fol-services-overview .icon-bx-wraper.style-1.active .icon-content > * {
  color: var(--bs-secondary) !important;
}
.fol-services-overview .icon-bx-wraper.style-1:hover p,
.fol-services-overview .icon-bx-wraper.style-1:focus p,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible p,
.fol-services-overview .icon-bx-wraper.style-1.active p {
  color: var(--bs-body-color) !important;
}
.fol-services-overview .fol-card-ico {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: saturate(1.35) contrast(1.12);
  transition: filter .25s ease, transform .25s ease;
}
.fol-services-overview .fol-card-ico-svg {
  width: 56px;
  height: 56px;
  display: block;
  transition: transform .25s ease;
}
.fol-services-overview .fol-card-ico-svg path {
  transition: fill .25s ease;
}
.fol-services-overview .icon-bx-wraper.style-1:hover .fol-card-ico,
.fol-services-overview .icon-bx-wraper.style-1:focus .fol-card-ico,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .fol-card-ico,
.fol-services-overview .icon-bx-wraper.style-1.active .fol-card-ico {
  filter: saturate(1.55) contrast(1.18);
  transform: scale(1.04);
}
.fol-services-overview .icon-bx-wraper.style-1:hover .fol-card-ico-svg,
.fol-services-overview .icon-bx-wraper.style-1:focus .fol-card-ico-svg,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .fol-card-ico-svg,
.fol-services-overview .icon-bx-wraper.style-1.active .fol-card-ico-svg {
  transform: scale(1.04);
}
.fol-services-overview .icon-bx-wraper.style-1:hover .fol-card-ico-svg path,
.fol-services-overview .icon-bx-wraper.style-1:focus .fol-card-ico-svg path,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .fol-card-ico-svg path,
.fol-services-overview .icon-bx-wraper.style-1.active .fol-card-ico-svg path {
  fill: var(--bs-primary) !important;
}
.fol-services-overview .icon-bx-wraper.style-1:hover .icon-bx-sm,
.fol-services-overview .icon-bx-wraper.style-1:focus .icon-bx-sm,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .icon-bx-sm,
.fol-services-overview .icon-bx-wraper.style-1.active .icon-bx-sm {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.fol-services-overview .icon-content .text-primary.fw-medium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), .08);
  border: 1px solid rgba(var(--bs-primary-rgb), .14);
  color: var(--bs-primary) !important;
  font-weight: 700 !important;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.fol-services-overview .icon-bx-wraper.style-1:hover .icon-content .text-primary.fw-medium,
.fol-services-overview .icon-bx-wraper.style-1:focus .icon-content .text-primary.fw-medium,
.fol-services-overview .icon-bx-wraper.style-1:focus-visible .icon-content .text-primary.fw-medium,
.fol-services-overview .icon-bx-wraper.style-1.active .icon-content .text-primary.fw-medium {
  background: #fff;
  border-color: rgba(var(--bs-primary-rgb), .2);
  color: var(--bs-primary) !important;
}
.fol-service-contact .btn {
  min-width: 150px;
}

/* ------------------------------------------------------------ about page -- */

.fol-about-intro {
  padding-bottom: clamp(48px, 5vw, 76px);
}
.fol-about-doctor {
  padding-top: 0;
}
.fol-about-intro .content-wrapper.style-1,
.fol-about-doctor .content-wrapper.style-3 {
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
}
.fol-about-intro .content-media,
.fol-about-intro .dz-media,
.fol-about-intro .dz-media img {
  width: 100%;
}
.fol-about-intro .dz-media img {
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}
.fol-about-doctor .content-wrapper.style-3 {
  align-items: flex-start !important;
}
.fol-about-doctor .content-wrapper.style-3 > [class*="col-"] {
  max-width: 820px;
}

@media (max-width: 991px) {
  .fol-about-intro {
    padding-bottom: 42px;
  }
  .fol-about-doctor {
    padding-top: 0;
  }
}

.content-wrapper.style-3 .icon-bx-wraper.style-2,
.content-inner.bg-white .icon-bx-wraper.style-1 {
  background: #fff;
  border: 1px solid rgba(11, 42, 53, .12);
  box-shadow: 0 12px 32px rgba(11, 42, 53, .07);
  border-radius: 8px;
}

/* ---------------------------------------------------------- motion pass -- */

.fol-reveal {
  opacity: 0 !important;
  transform: translate3d(0, 34px, 0) scale(.985);
  transition:
    opacity .8s cubic-bezier(.2, .7, .2, 1),
    transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--fol-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.fol-motion-ready .wow {
  visibility: visible !important;
}
.fol-reveal.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}
.fol-reveal-lift {
  transform: translate3d(0, 46px, 0) scale(.97);
}
.fol-reveal-soft {
  transform: translate3d(0, 24px, 0);
}
.fol-reveal-card {
  transform: translate3d(0, 38px, 0) rotateX(3deg) scale(.975);
  transform-origin: 50% 100%;
}
.fol-reveal-card.is-visible {
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}
.section-head.fol-reveal.is-visible .sub-title {
  animation: folPremiumUnderline .95s cubic-bezier(.2, .7, .2, 1) both;
}
.fol-reveal.is-visible .icon-bx-sm,
.fol-reveal.is-visible .icon-bx,
.fol-reveal.is-visible .dz-media {
  animation: folPremiumPop .75s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes folPremiumUnderline {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes folPremiumPop {
  0% { opacity: .35; transform: translate3d(0, 12px, 0) scale(.92); }
  70% { opacity: 1; transform: translate3d(0, -3px, 0) scale(1.035); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 575px) {
  .fol-reveal {
    opacity: 0 !important;
    transform: translate3d(0, 86px, 0) scale(.94) !important;
    transition:
      opacity 1.15s cubic-bezier(.16, 1, .3, 1),
      transform 1.15s cubic-bezier(.16, 1, .3, 1);
  }
  .fol-reveal-soft {
    transform: translate3d(0, 70px, 0) scale(.955) !important;
  }
  .fol-reveal-card {
    transform: translate3d(0, 88px, 0) rotateX(7deg) scale(.925) !important;
  }
  .fol-reveal-lift {
    transform: translate3d(0, 76px, 0) scale(.945) !important;
  }
  .fol-reveal.is-visible,
  .fol-reveal-soft.is-visible,
  .fol-reveal-card.is-visible,
  .fol-reveal-lift.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fol-reveal,
  .fol-reveal-lift,
  .fol-reveal-soft,
  .fol-reveal-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Small red rule used above section headings, replacing the template's
   decorative pink flourishes. */
.fol-rule {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--fol-accent);
  vertical-align: middle;
  margin-right: 0.6rem;
}

/* --------------------------------------------------------- home services -- */

.fol-home-services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #F7FAFD 0%, #EEF5F8 48%, #FBFDFD 100%) !important;
}
.fol-home-services .container {
  position: relative;
  z-index: 1;
}
.fol-home-services .section-head {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.fol-home-services .section-head .title {
  letter-spacing: 0;
}
.fol-home-services .product-description {
  width: 100%;
  max-width: none;
  margin: 0;
}
.fol-home-services .dz-tabs.style-3 {
  margin-bottom: 0;
}
.fol-home-services .dz-tabs.style-3 .nav-tabs {
  gap: 10px;
  justify-content: flex-start;
  padding: 10px;
  border: 1px solid rgba(var(--bs-primary-rgb), .12);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(11, 42, 53, .06);
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-item {
  flex: 0 1 auto;
  padding: 0;
  border-right: 0;
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 162px;
  border: 1px solid rgba(var(--bs-primary-rgb), .13);
  border-radius: 8px;
  color: var(--bs-secondary);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: none;
  transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease, color .28s ease;
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link:hover,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link:focus {
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(var(--bs-primary-rgb), .18);
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(var(--bs-primary-rgb), .22);
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active:hover,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active:focus,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active:active {
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active svg path,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link:hover svg path,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link:focus svg path,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active:hover svg path,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active:focus svg path {
  fill: #fff !important;
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link img,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link svg {
  width: 32px;
  height: 32px;
  flex: none;
  margin-right: 0;
  object-fit: contain;
}
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link.active img,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link:hover img,
.fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link:focus img {
  filter: brightness(0) invert(1);
}
.fol-home-services .tab-content {
  margin-top: 24px;
  padding: 40px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(var(--bs-primary-rgb), .11);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(11, 42, 53, .08);
}
.fol-home-services .service-wrapper.style-1 {
  margin: 0;
}
.fol-home-services .service-wrapper.style-1 .section-head {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.fol-home-services .service-wrapper.style-1 .section-head .title {
  color: var(--bs-secondary);
}
.fol-home-services .list-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.fol-home-services .list-check li {
  margin-bottom: 0;
  padding-top: 2px;
}
.fol-home-services .service-wrapper.style-1 > [class*="col-"] {
  flex: 0 0 50%;
  max-width: 50%;
}
.fol-home-services .content-media,
.fol-home-services .dz-media,
.fol-home-services .dz-media img {
  width: 100%;
}
.fol-home-services .service-wrapper.style-1 .dz-media,
.fol-home-services .service-wrapper.style-1 .dz-media img {
  border-radius: 8px;
}
.fol-home-services .fol-svc-title-mobile {
  display: none;
}
.fol-home-services .tab-pane.active .content-media {
  animation: folServiceMediaIn .48s cubic-bezier(.16, 1, .3, 1) both;
}
.fol-home-services .tab-pane.fol-service-pane-live .content-media {
  animation: folServiceMediaIn .56s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes folServiceMediaIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 1199px) {
  .fol-home-services {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 10px 10px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .fol-home-services {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .fol-home-services .section-head {
    margin-bottom: 24px;
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link {
    flex-direction: column;
    min-height: 86px;
    padding: 11px 8px;
    text-align: center;
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link img,
  .fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link svg {
    width: 34px;
    height: 34px;
  }
  .fol-home-services .tab-content {
    margin-top: 18px;
    padding: 18px;
  }
  .fol-home-services .service-wrapper.style-1 > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .fol-home-services .tab-pane.active {
    display: block;
  }
  .fol-home-services .content-media {
    margin-bottom: 16px;
  }
  .fol-home-services .fol-svc-title-desktop {
    display: none;
  }
  .fol-home-services .fol-svc-title-mobile {
    display: block;
    margin: 0 0 14px;
    color: var(--bs-secondary);
  }
  .fol-home-services .service-wrapper.style-1 .dz-media {
    aspect-ratio: 4 / 3;
  }
  .fol-home-services .service-wrapper.style-1 .dz-media img {
    height: 100%;
    object-fit: cover;
  }
  .fol-home-services .list-check {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

@media (max-width: 575px) {
  .fol-home-services {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .fol-home-services .section-head .title {
    font-size: 30px;
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
    gap: 8px;
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link {
    min-height: 76px;
    padding: 8px 6px;
    font-size: 12px;
  }
  .fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link img,
  .fol-home-services .dz-tabs.style-3 .nav-tabs .nav-link svg {
    width: 28px;
    height: 28px;
  }
  .fol-home-services .tab-content {
    padding: 14px;
  }
  .fol-home-services .content-media {
    margin-bottom: 18px;
  }
  .fol-home-services .service-wrapper.style-1 .dz-media {
    aspect-ratio: 1.18 / 1;
    box-shadow: 0 14px 34px rgba(11, 42, 53, .12);
  }
  .fol-home-services .service-wrapper.style-1 .section-head .title {
    font-size: 25px;
    line-height: 1.18;
  }
  .fol-home-services .service-wrapper.style-1 .section-head p,
  .fol-home-services .list-check li {
    font-size: 15px;
  }
  .fol-home-services .service-wrapper .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----------------------------------------------------------- credentials -- */

.fol-cred-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fol-cred-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: 0.94rem;
}
.fol-cred-list li:last-child { border-bottom: 0; }
.fol-cred-list strong { color: var(--bs-heading-color); font-weight: 600; }
.fol-cred-list span { color: var(--bs-body-color); text-align: right; }

/* ------------------------------------------------------- pending content -- */

/* Marks content the client still owes. Deliberately visible so it can be
   pointed at during review; grep "fol-todo" to find every instance. */
.fol-todo {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a6a1c;
  background: #fdf3e0;
  border: 1px dashed #d9a441;
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  vertical-align: middle;
}

/* -------------------------------------------------------------- notices -- */

.fol-notice {
  display: flex;
  gap: 0.9rem;
  background: var(--bs-light);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin: 1.75rem 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--bs-body-color);
}
.fol-notice i { color: var(--fol-accent); font-size: 1.1rem; margin-top: 2px; flex: none; }
.fol-notice strong { color: var(--bs-heading-color); }
.fol-notice p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- about cards -- */

.fol-prayer-cards .icon-bx-wraper.style-1,
.fol-prayer-cards .icon-bx-wraper.style-1:hover,
.fol-prayer-cards .icon-bx-wraper.style-1:focus,
.fol-prayer-cards .icon-bx-wraper.style-1:focus-within,
.fol-prayer-cards .icon-bx-wraper.style-1.active {
  background: #fff !important;
  border: 1px solid rgba(var(--bs-primary-rgb), .14) !important;
  box-shadow: 0 14px 34px rgba(11, 42, 53, .08) !important;
}

.fol-prayer-cards .icon-bx-wraper.style-1::before,
.fol-prayer-cards .icon-bx-wraper.style-1::after {
  content: none !important;
}

.fol-prayer-cards .icon-bx-wraper.style-1 .dz-title,
.fol-prayer-cards .icon-bx-wraper.style-1:hover .dz-title,
.fol-prayer-cards .icon-bx-wraper.style-1:focus .dz-title,
.fol-prayer-cards .icon-bx-wraper.style-1:focus-within .dz-title,
.fol-prayer-cards .icon-bx-wraper.style-1.active .dz-title {
  color: var(--bs-secondary) !important;
}

.fol-prayer-cards .icon-bx-wraper.style-1 p,
.fol-prayer-cards .icon-bx-wraper.style-1:hover p,
.fol-prayer-cards .icon-bx-wraper.style-1:focus p,
.fol-prayer-cards .icon-bx-wraper.style-1:focus-within p,
.fol-prayer-cards .icon-bx-wraper.style-1.active p {
  color: var(--bs-body-color) !important;
}

/* ------------------------------------------------------------ FAQ layout -- */

.fol-faq-group { margin-bottom: 2.5rem; }
.fol-faq-group > h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
  display: inline-block;
}

/* --------------------------------------------------------- location page -- */

.fol-map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  line-height: 0;
}
.fol-map-frame iframe { width: 100%; height: 430px; border: 0; display: block; }

.fol-hours { width: 100%; border-collapse: collapse; }
.fol-hours th,
.fol-hours td {
  text-align: left;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: 0.94rem;
}
.fol-hours th { font-weight: 600; color: var(--bs-heading-color); }
.fol-hours td { color: var(--bs-body-color); text-align: right; }
.fol-hours tr:last-child th,
.fol-hours tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------- mobile -- */

@media (max-width: 575px) {
  .footer-credentials { gap: 1.1rem; }
  .fol-map-frame iframe { height: 320px; }
}

/* Remove the template's floating demo/contact buttons. */
.btn-theme,
.theme-btn,
.dz-demo-panel,
.demo-panel,
.support-button,
.buy-now,
a[href*="support.w3itexperts.com"],
a[href*="envato_item_id"],
a[href*="themeforest.net"],
a[href*="support"][style*="fixed"],
a[href*="buy"][style*="fixed"] {
  display: none !important;
}

/* ------------------------------------------------------ appointment fade -- */

.content-wrapper.style-4 {
  position: relative;
  overflow: hidden;
}
.content-wrapper.style-4::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #eef6f7 0%,
      #eef6f7 48%,
      rgba(238, 246, 247, .96) 56%,
      rgba(238, 246, 247, .64) 66%,
      rgba(238, 246, 247, 0) 82%),
    linear-gradient(180deg,
      rgba(238, 246, 247, .9) 0%,
      rgba(238, 246, 247, 0) 22%,
      rgba(238, 246, 247, 0) 76%,
      rgba(238, 246, 247, .9) 100%);
}
.content-wrapper.style-4 > .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 991px) {
  .content-wrapper.style-4::before { content: none; }
}

/* ------------------------------------------------------------ footer image -- */

/* The template forces the footer figure into the palette: mix-blend-mode:darken
   on the wrapper plus an ::after that floods the box with --bs-primary at
   mix-blend-mode:color. That was there to make a mismatched stock photo sit in
   the design.

   The client's own cut-out (mother and child, Ankara print) is already on
   transparency and already on-brand, so both treatments are removed. The
   ::after in particular painted the full rectangle regardless of the image's
   alpha, which showed as a grey-blue block behind the figure and desaturated
   the print. */
.site-footer.style-1 .footer-media {
  position: relative;
  mix-blend-mode: normal;
  background: transparent;
}
.site-footer.style-1 .footer-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 64%,
    rgba(255, 255, 255, .45) 80%,
    rgba(255, 255, 255, .9) 90%,
    #fff 100%);
}
.site-footer.style-1 .footer-media::after {
  content: none !important;
}
.site-footer.style-1 .footer-media img {
  position: relative;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: luminosity;
  opacity: .92;
}

/* ------------------------------------------------------ mobile footer -- */

@media (max-width: 767px) {
  .site-header.box-header2 .main-bar,
  .site-header.header-transparent .main-bar {
    min-height: 66px;
  }

  .site-header.box-header2 .main-bar .container.inner-bar {
    min-height: 66px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-header.box-header2 .main-bar .container .header-part-left .logo-header {
    height: 58px;
    width: 82px;
  }

  .site-header .logo-header img {
    width: 58px;
    height: 58px;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 10px;
  }

  .header-transparent ~ .page-content .dz-bnr-inr.style-1 .dz-bnr-inr-entry {
    padding: 22px 0 18px 0;
  }

  .page-content .dz-bnr-inr.style-1.dz-bnr-inr-md,
  .page-content .dz-bnr-inr.dz-bnr-inr-md {
    --dz-banner-height: 138px;
  }

  .site-footer.style-1 .footer-top {
    padding-top: 12px;
    padding-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer.style-1 .footer-top > .footer-inner-wraper {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .site-footer.style-1 .footer-top > .footer-inner-wraper::before {
    left: 0;
    width: 100%;
    border-radius: 12px;
  }

  .site-footer.style-1 .footer-media,
  .site-footer.style-1 .footer-media::before,
  .site-footer.style-1 .footer-media::after {
    display: none !important;
  }

  .site-footer.style-1 .widget {
    margin-bottom: 12px;
  }

  .site-footer.style-1 .widget_about {
    display: block;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding-bottom: 0;
    margin-bottom: 10px;
  }

  .site-footer.style-1 .footer-logo {
    margin-bottom: 10px;
  }

  .site-footer.style-1 .footer-logo img {
    max-width: 118px;
    max-height: 64px;
  }

  .site-footer.style-1 .widget_about .widget-social {
    margin-top: 8px;
    margin-bottom: 0;
  }

  .site-footer.style-1 .widget_about .widget-social .dz-social {
    gap: 8px;
    margin-bottom: 0;
  }

  .site-footer.style-1 .widget_about .widget-social .dz-social li a {
    width: 46px;
    height: 46px;
  }

  .site-footer.style-1 .footer-title {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .site-footer.style-1 .widget_services ul li {
    margin-bottom: 8px;
  }

  .site-footer.style-1 .widget_services ul li a {
    line-height: 1.35;
  }

  .site-footer.style-1 .footer-contact li:last-child {
    margin-bottom: 0;
  }

  .site-footer.style-1 .footer-contact + .footer-address {
    margin-top: 12px;
  }

  .site-footer.style-1 .footer-credentials {
    margin-top: 12px;
    padding-top: 12px;
  }

  .site-footer.style-1 .fb-bottom {
    margin-top: 14px;
    padding-top: 14px;
  }

  .site-footer.style-1 .fb-bottom .copyright-text {
    line-height: 1.45;
  }
}

@media (max-width: 575px) {
  .site-footer.style-1 .footer-top > .footer-inner-wraper {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer.style-1 .footer-top .row {
    --bs-gutter-y: 0.75rem;
  }

  .site-footer.style-1 .footer-top .col-6 {
    width: 50%;
  }

  .site-footer.style-1 .footer-top .col-12.col-xl-5 {
    margin-bottom: 4px;
  }

  .site-footer.style-1 .footer-contact {
    margin-bottom: 0;
  }

  .site-footer.style-1 .footer-contact + .footer-address,
  .site-footer.style-1 .footer-credentials {
    display: none;
  }
}

/* ==========================================================================
   Home services carousel
   --------------------------------------------------------------------------
   Was a six-button tab strip. At the home page's width those buttons wrapped
   onto a second row and the last one sat alone under the first, which read as
   a layout fault rather than a choice. The panels themselves were always the
   substance, so they became a carousel: swipeable, auto-advancing, with dots
   as the only remaining affordance.

   The track is a flex row translated by whole percentages. Transform rather
   than scroll-snap: the slides carry two-column content of differing height,
   and snap containers were leaving the shorter ones mid-viewport on iOS.
   ========================================================================== */

.fol-svc {
  position: relative;
}

/* Clips the track. Vertical padding lets the slides' shadows show. */
.fol-svc-viewport {
  overflow: hidden;
  padding: 4px 0;
  /* Horizontal pans go to the carousel, vertical ones stay with the page -
     without this a swipe on a phone fights the scroll. */
  touch-action: pan-y;
}

.fol-svc-track {
  display: flex;
  /* No wrap: six slides sit on one row and the track is moved, not reflowed. */
  flex-wrap: nowrap;
  align-items: stretch;
  transition: transform .55s cubic-bezier(.22, .7, .24, 1);
  will-change: transform;
}

.fol-svc-slide {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 0;
  /* Inactive slides are laid out but not reachable: without this, tabbing
     walks into the five off-screen panels and the page scrolls sideways. */
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.fol-svc-slide.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity .45s ease, visibility 0s linear 0s;
}

/* While dragging, the track follows the finger, so the eased transition has
   to be suspended or the slide lags behind the gesture. */
.fol-svc.is-dragging .fol-svc-track {
  transition: none;
}
.fol-svc.is-dragging {
  cursor: grabbing;
}

/* ------------------------------------------------------------------ dots -- */

.fol-svc-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.fol-svc-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 42, 53, .18);
  cursor: pointer;
  transition: width .35s cubic-bezier(.2, .7, .2, 1), background-color .3s ease;
}
.fol-svc-dot:hover {
  background: rgba(11, 42, 53, .34);
}
.fol-svc-dot.is-active {
  width: 30px;
  background: var(--bs-primary);
}
.fol-svc-dot:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 3px;
}

/* The label carries the position for screen readers; the dots are decorative
   controls and the live region announces the change. */
.fol-svc-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion: no sliding, no autoplay (the script also stops), and the
   change is a straight cut. */
@media (prefers-reduced-motion: reduce) {
  .fol-svc-track {
    transition: none;
  }
  .fol-svc-slide {
    transition: none;
  }
}

/* ==========================================================================
   Hero entrance
   --------------------------------------------------------------------------
   The hero used the same .fol-reveal-lift as every other section: a 46px rise
   with a slight scale. That is the right effect for a section scrolled into
   view, and the wrong one for the block a visitor is already looking at when
   the page paints - it makes the most important thing on the site read as one
   more row in a list.

   This is a shorter travel over a longer duration, with a slight blur coming
   off. Type that resolves as it settles reads as considered; type that slides
   reads as a template. The blur is 6px, which is enough to register as focus
   pulling in and not so much that the headline is unreadable mid-flight.
   ========================================================================== */

.fol-hero-enter {
  opacity: 0 !important;
  /* 18px, against 46px for the page-wide lift. Short travel is what separates
     an entrance from an arrival. */
  transform: translate3d(0, 18px, 0);
  filter: blur(6px);
  transition:
    opacity 1.05s cubic-bezier(.22, .61, .21, 1),
    transform 1.05s cubic-bezier(.22, .61, .21, 1),
    filter .85s cubic-bezier(.22, .61, .21, 1);
  transition-delay: var(--fol-reveal-delay, 0ms);
}
.fol-hero-enter.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  filter: blur(0);
}

/* The hospital's name is the one line that should arrive with weight, so it
   travels a little further and takes slightly longer than the copy around it. */
.fol-hero .hero-name.fol-hero-enter {
  transform: translate3d(0, 26px, 0);
  filter: blur(8px);
  transition-duration: 1.25s, 1.25s, 1s;
}
/* Stated at matching specificity. The rule above is (0,3,0) and the shared
   .fol-hero-enter.is-visible is (0,2,0), so without this the headline keeps
   its 8px blur permanently once the entrance has run. */
.fol-hero .hero-name.fol-hero-enter.is-visible {
  transform: translate3d(0, 0, 0) !important;
  filter: blur(0);
}

/* "Fountain of Life" settles a beat after the line above it, so the two halves
   of the name read in the order they are spoken rather than as one block. */
.fol-hero .hero-name.fol-hero-enter .hero-name-em {
  display: block;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity .95s cubic-bezier(.22, .61, .21, 1),
    transform .95s cubic-bezier(.22, .61, .21, 1);
  transition-delay: calc(var(--fol-reveal-delay, 0ms) + 190ms);
}
.fol-hero .hero-name.fol-hero-enter.is-visible .hero-name-em {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* The green rule under the tagline draws itself rather than fading in with
   the text, which gives the sequence somewhere to land. */
.fol-hero .hero-tagline.fol-hero-enter::after {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .9s cubic-bezier(.22, .61, .21, 1);
  transition-delay: calc(var(--fol-reveal-delay, 0ms) + 340ms);
}
.fol-hero .hero-tagline.fol-hero-enter.is-visible::after {
  transform: scaleX(1);
}

/* The registration chip is a stamp, so it settles rather than rises. */
.fol-hero .sub-title.fol-hero-enter {
  transform: translate3d(0, 0, 0) scale(.94);
  filter: blur(3px);
}
.fol-hero .sub-title.fol-hero-enter.is-visible {
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* The photograph is the largest element and should not lurch. It comes up
   from slightly further with no blur - blurring a photograph mid-entrance
   looks like a loading state rather than a deliberate move. */
.fol-hero-media.fol-hero-enter,
.fol-hero-media-sm.fol-hero-enter {
  transform: translate3d(0, 30px, 0) scale(.985);
  filter: none;
  transition-duration: 1.3s, 1.3s, 0s;
}
.fol-hero-media.fol-hero-enter.is-visible,
.fol-hero-media-sm.fol-hero-enter.is-visible {
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Blur is the expensive part of this effect. Once the entrance has finished
   the filter is dropped entirely so nothing is left compositing a blurred
   layer for the life of the page. */
@media (prefers-reduced-motion: reduce) {
  .fol-hero-enter,
  .fol-hero .hero-name.fol-hero-enter,
  .fol-hero .sub-title.fol-hero-enter,
  .fol-hero-media.fol-hero-enter,
  .fol-hero-media-sm.fol-hero-enter,
  .fol-hero .hero-name.fol-hero-enter .hero-name-em,
  .fol-hero .hero-tagline.fol-hero-enter::after {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
