/* ============================================================
   PRIME CARE HEALTH SOLUTIONS â€” EXPERIENCE UI/UX REDESIGN
   Color Palette:
   - Prime Blue:    #157685  (Primary)
   - Care Cerulean: #021D84  (Accent)
   - Solution Grey: #5B5B5B  (Body Text)
   - Slate Grey:    #8C8C8C  (Borders/Neutral)
   - Accent Sky:    #D1EAF5  (Light Backgrounds)
   - Heather Grey:  #EBEBEB  (Secondary Backgrounds)
   ============================================================ */

/* ---------- GLOBAL TYPOGRAPHY & BASE ---------- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #5B5B5B;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #157685;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-size: medium;
  font-weight: 700;
}

h2 {
  font-size: 2.4rem;
}

p {
  line-height: 1.75;
  color: #5B5B5B;
}

a {
  color: #157685;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

a:hover, a:focus {
  color: #021D84;
  text-decoration: none;
}

::selection {
  background: #D1EAF5;
  color: #157685;
}

/* ---------- SMOOTH SCROLLING ---------- */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   COOL MENU / HEADER REDESIGN
   ============================================================ */

/* ---------- TOP BAR ---------- */
header#header .header-top {
  background: linear-gradient(90deg, #157685 0%, #021D84 100%) !important;
  box-shadow: 0 2px 12px rgba(21, 118, 133, 0.25);
  position: relative;
  overflow: hidden;
}

header#header .header-top::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 200%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(15deg);
  pointer-events: none;
}

header#header .header-top .contact-info li,
header#header .header-top .contact-info li a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

header#header .header-top .contact-info li .font-icon {
  color: #D1EAF5 !important;
  transition: transform 0.3s ease;
}

header#header .header-top .contact-info li:hover .font-icon {
  transform: scale(1.2);
}

/* Social icons in header top */
header#header .header-top .styled-icons.icon-dark.icon-circled a {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(4px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

header#header .header-top .styled-icons.icon-dark.icon-circled a:hover {
  background: #fff !important;
  color: #157685 !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 15px rgba(21, 118, 133, 0.3);
}

/* ---------- MAIN NAVIGATION BAR ---------- */
header#header {
  position: relative;
  z-index: 99999999;
}

header#header .header-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(209, 234, 245, 0.5);
  transition: all 0.4s ease;
  position: relative;
  z-index: 99999998;
}

/* Sticky scrolled state */
header#header .header-nav-wrapper.navbar-scrolltofixed {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(21, 118, 133, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(209, 234, 245, 0.8);
  animation: navSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999998 !important;
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.menuzord-brand img {
  max-height: 52px;
  transition: all 0.3s ease;
}

header#header .header-nav-wrapper.navbar-scrolltofixed .menuzord-brand img {
  max-height: 68px;
}

/* ---------- NAV MENU ITEMS ---------- */
#top-primary-nav .menuzord-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

#top-primary-nav .menuzord-menu > li {
  position: relative;
}

#top-primary-nav .menuzord-menu > li > a {
  color: #5B5B5B;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 16px 6px;
  letter-spacing: 0.04em;
  /* text-transform: uppercase; */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  /* border-radius: 8px; */
  margin: 1px 0;
}

/* Animated underline */
#top-primary-nav .menuzord-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 0px;
  height: 3px;
  background: linear-gradient(90deg, #157685, #021D84);
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

#top-primary-nav .menuzord-menu > li:hover > a::after,
#top-primary-nav .menuzord-menu > li.active > a::after {
  width: 24px;
}

/* Hover background pill */
#top-primary-nav .menuzord-menu > li > a::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(21, 118, 133, 0.06), rgba(2, 29, 132, 0.04)); */
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

#top-primary-nav .menuzord-menu > li:hover > a::before {
  opacity: 1;
  transform: scale(1);
}

#top-primary-nav .menuzord-menu > li:hover > a,
#top-primary-nav .menuzord-menu > li.active > a {
  color: #157685 !important;
}

/* Active state dot indicator */
#top-primary-nav .menuzord-menu > li.active > a::before {
  opacity: 1;
  transform: scale(1);
  /* background: linear-gradient(135deg, rgba(21, 118, 133, 0.08), rgba(2, 29, 132, 0.06)); */
}

/* ---------- MENU CONTAINER STACKING ---------- */
.menuzord-container {
  position: relative;
  z-index: 99999997;
}

#top-primary-nav {
  position: relative;
  z-index: 99999996;
}

/* ---------- DROPDOWN MENUS ---------- */
#top-primary-nav .menuzord-menu ul.dropdown {
  border-radius: 16px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(21, 118, 133, 0.04),
    0 0 0 1px rgba(209, 234, 245, 0.6);
  border: none;
  padding: 12px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 240px;
  margin-top: 8px;
  overflow: visible;
  animation: dropdownReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
  z-index: 99999999 !important;
  position: absolute !important;
  pointer-events: auto !important;
}

/* Ensure parent li creates proper stacking context for dropdown */
#top-primary-nav .menuzord-menu > li {
  position: relative;
  z-index: 99999995;
}

#top-primary-nav .menuzord-menu > li:hover {
  z-index: 99999999;
}

@keyframes dropdownReveal {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Dropdown items with stagger */
#top-primary-nav .menuzord-menu ul.dropdown li {
  opacity: 0;
  transform: translateX(-8px);
  animation: dropdownItemSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#top-primary-nav .menuzord-menu ul.dropdown li:nth-child(1) { animation-delay: 0.05s; }
#top-primary-nav .menuzord-menu ul.dropdown li:nth-child(2) { animation-delay: 0.10s; }
#top-primary-nav .menuzord-menu ul.dropdown li:nth-child(3) { animation-delay: 0.15s; }
#top-primary-nav .menuzord-menu ul.dropdown li:nth-child(4) { animation-delay: 0.20s; }
#top-primary-nav .menuzord-menu ul.dropdown li:nth-child(5) { animation-delay: 0.25s; }

@keyframes dropdownItemSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#top-primary-nav .menuzord-menu ul.dropdown li a {
  color: #5B5B5B;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

#top-primary-nav .menuzord-menu ul.dropdown li a i {
  color: #021D84;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  opacity: 0.7;
}

#top-primary-nav .menuzord-menu ul.dropdown li:hover > a {
  background: linear-gradient(135deg, rgba(21, 118, 133, 0.08), rgba(2, 29, 132, 0.04));
  color: #157685;
  padding-left: 22px;
}

#top-primary-nav .menuzord-menu ul.dropdown li:hover > a i {
  opacity: 1;
  transform: translateX(3px);
}

/* Dropdown arrow indicator */
#top-primary-nav .menuzord-menu ul.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.97);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: -1px -1px 0 rgba(209, 234, 245, 0.6);
}

/* ---------- CTA BUTTON IN HEADER ---------- */
.btn.btn-theme-colored2.btn-sm.ajaxload-popup {
  background: linear-gradient(135deg, #021D84 0%, #157685 100%) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  box-shadow: 0 4px 16px rgba(2, 29, 132, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn.btn-theme-colored2.btn-sm.ajaxload-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.btn.btn-theme-colored2.btn-sm.ajaxload-popup:hover::before {
  left: 100%;
}

.btn.btn-theme-colored2.btn-sm.ajaxload-popup:hover {
  background: linear-gradient(135deg, #157685 0%, #021D84 100%) !important;
  box-shadow: 0 8px 24px rgba(21, 118, 133, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-3px) scale(1.02);
}

/* ---------- SEARCH & SIDE ICONS ---------- */
#top-nav-search-btn {
  color: #5B5B5B;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#top-nav-search-btn:hover {
  background: rgba(21, 118, 133, 0.08);
  color: #157685;
  transform: scale(1.1);
}

/* Hamburger menu icon */
.hamburger-box {
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background: linear-gradient(90deg, #157685, #021D84);
  height: 2.5px;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-inner {
  width: 24px;
}

.hamburger-inner::before {
  width: 18px;
  top: -7px;
}

.hamburger-inner::after {
  width: 14px;
  bottom: -7px;
}

#side-panel-trigger:hover .hamburger-inner,
#side-panel-trigger:hover .hamburger-inner::before,
#side-panel-trigger:hover .hamburger-inner::after {
  width: 24px;
  background: #021D84;
}

/* Mini cart icon */
.mini-cart-icon {
  position: relative;
  transition: all 0.3s ease;
}

.mini-cart-icon:hover {
  transform: scale(1.08);
}

.mini-cart-icon .items-count {
  background: linear-gradient(135deg, #021D84, #157685);
  box-shadow: 0 2px 6px rgba(2, 29, 132, 0.35);
  border: 2px solid #fff;
  font-weight: 700;
  font-size: 0.65rem;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  top: -6px;
  right: -6px;
}

/* ---------- GPU COMPOSITING & RENDERING FIX ---------- */
header#header,
header#header .header-nav,
header#header .header-nav-wrapper,
.menuzord-container,
#top-primary-nav,
#top-primary-nav .menuzord-menu,
#top-primary-nav .menuzord-menu > li,
#top-primary-nav .menuzord-menu ul.dropdown {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Force dropdown above all page content including sliders */
#top-primary-nav .menuzord-menu ul.dropdown {
  will-change: transform, opacity;
}

/* Ensure header row doesn't clip dropdown */
.header-nav-col-row {
  position: relative;
  z-index: 99999997;
}

/* ---------- MOBILE / RESPONSIVE MENU ---------- */
@media (max-width: 1199.98px) {
  .menuzord-responsive .menuzord-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
    padding: 12px;
    margin-top: 12px;
  }

  .menuzord-responsive .menuzord-menu > li > a {
    border-radius: 10px;
    margin: 2px 0;
  }

  .menuzord-responsive .menuzord-menu > li > a::after {
    bottom: 10px;
  }
}

/* ---------- SIDE PANEL ---------- */
#side-panel-container {
  background: linear-gradient(180deg, #004d73 0%, #00334d 100%) !important;
}

#side-panel-trigger-close {
  transition: all 0.3s ease;
}

#side-panel-trigger-close:hover {
  transform: rotate(90deg);
}

#side-panel-trigger-close .side-panel-trigger-icon {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

#side-panel-trigger-close:hover .side-panel-trigger-icon {
  color: #D1EAF5;
}

/* ---------- HERO / SLIDER ---------- */
rs-layer .text-theme-colored1 {
  color: #008fc3 !important;
}

/* ---------- SECTION TITLES ---------- */
.tm-sc-section-title .sub-title-icon {
  color: #021D84;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.tm-sc-section-title .sub-title-icon::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #021D84;
  margin: 8px auto 0;
  border-radius: 2px;
}

.tm-sc-section-title.text-center .sub-title-icon::after {
  margin-left: auto;
  margin-right: auto;
}

.tm-sc-section-title .title {
  color: #157685;
  font-weight: 700;
}

/* ---------- FEATURES BAR ---------- */
.icon-box.iconbox-theme-colored1.bg-silver-light {
  background: #D1EAF5 !important;
  transition: all 0.4s ease;
}

.icon-box.iconbox-theme-colored1.bg-silver-light:hover {
  background: #c2e3f1 !important;
  transform: translateY(-4px);
}

.icon-box.iconbox-theme-colored1.bg-theme-colored2 {
  background: #157685 !important;
  transition: all 0.4s ease;
}

.icon-box.iconbox-theme-colored1.bg-theme-colored2:hover {
  background: #006fa8 !important;
  transform: translateY(-4px);
}

.icon-box.iconbox-theme-colored1 .icon.icon-dark.icon-circled {
  background: #157685 !important;
  box-shadow: 0 4px 15px rgba(21, 118, 133, 0.25);
  transition: all 0.3s ease;
}

.icon-box.iconbox-theme-colored1:hover .icon.icon-dark.icon-circled {
  background: #021D84 !important;
  box-shadow: 0 6px 20px rgba(2, 29, 132, 0.35);
  transform: scale(1.05);
}

/* ---------- ABOUT SECTION ---------- */
.about-icon-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #EBEBEB;
  transition: all 0.3s ease;
}

.about-icon-box:hover {
  box-shadow: 0 8px 30px rgba(21, 118, 133, 0.1);
  border-color: #D1EAF5;
  transform: translateY(-3px);
}

.about-icon-box h5 {
  color: #157685;
  font-size: 1.05rem;
  font-weight: 700;
}

.about-icon-box .tick-img {
  filter: hue-rotate(190deg) saturate(2);
}

.image-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.image-box img {
  border-radius: 16px;
  transition: transform 0.6s ease;
}

.image-box:hover img {
  transform: scale(1.03);
}

/* Video play button */
.video-play a {
  background: #021D84 !important;
  box-shadow: 0 8px 30px rgba(2, 29, 132, 0.4);
  transition: all 0.3s ease;
}

.video-play a:hover {
  background: #157685 !important;
  transform: scale(1.1);
}

/* ---------- SERVICES CARDS ---------- */
.tm-sc-services .tm-service {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid #EBEBEB;
}

.tm-sc-services .tm-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(21, 118, 133, 0.12);
  border-color: #D1EAF5;
}

.tm-sc-services .tm-service .thumb {
  position: relative;
  overflow: hidden;
}

.tm-sc-services .tm-service .thumb img {
  transition: transform 0.6s ease;
}

.tm-sc-services .tm-service:hover .thumb img {
  transform: scale(1.08);
}

.tm-sc-services .tm-service .details {
  padding: 30px;
}

.tm-sc-services .tm-service .details h4.title a {
  color: #157685;
  font-weight: 700;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.tm-sc-services .tm-service .details h4.title a:hover {
  color: #021D84;
}

.tm-sc-services .tm-service .details p {
  color: #8C8C8C;
  font-size: 0.95rem;
}

.tm-sc-services .service-icon .icon.icon-dark {
  background: #157685 !important;
  box-shadow: 0 4px 15px rgba(21, 118, 133, 0.3);
}

/* ---------- WHY CHOOSE SECTION ---------- */
.tm-why-chose-iconbox .icon-box .icon.icon-circled {
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tm-why-chose-iconbox .icon-box:hover .icon.icon-circled {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(2, 29, 132, 0.3);
}

.tm-why-chose-iconbox .icon-box-title {
  color: #157685;
  font-weight: 700;
  font-size: 1.15rem;
}

.tm-why-chose-iconbox .content p {
  color: #8C8C8C;
  line-height: 1.7;
}

/* ---------- DIVIDER / VIDEO CTA ---------- */
.layer-overlay.overlay-dark-6 {
  position: relative;
}

.layer-overlay.overlay-dark-6::before {
  background: rgba(0, 77, 115, 0.75) !important;
}

.animated-css-play-button {
  background: #021D84 !important;
  box-shadow: 0 0 0 15px rgba(2, 29, 132, 0.25), 0 0 0 30px rgba(2, 29, 132, 0.1);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 15px rgba(2, 29, 132, 0.25), 0 0 0 30px rgba(2, 29, 132, 0.1); }
  50% { box-shadow: 0 0 0 25px rgba(2, 29, 132, 0.15), 0 0 0 50px rgba(2, 29, 132, 0.05); }
  100% { box-shadow: 0 0 0 15px rgba(2, 29, 132, 0.25), 0 0 0 30px rgba(2, 29, 132, 0.1); }
}

/* ---------- DEPARTMENT TABS ---------- */
.tm-sc-departments .nav-tabs {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tm-sc-departments .nav-tabs li {
  margin: 0;
}

.tm-sc-departments .nav-tabs li a {
  border: 2px solid #EBEBEB;
  border-radius: 8px;
  padding: 14px 28px;
  color: #5B5B5B;
  font-weight: 600;
  font-size: 0.9rem;
  background: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-sc-departments .nav-tabs li a i {
  color: #157685;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.tm-sc-departments .nav-tabs li a:hover,
.tm-sc-departments .nav-tabs li a.active {
  background: #157685;
  border-color: #157685;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(21, 118, 133, 0.3);
  transform: translateY(-2px);
}

.tm-sc-departments .nav-tabs li a:hover i,
.tm-sc-departments .nav-tabs li a.active i {
  font-size: xx-large;
  color: #ffffff;
}

.tm-sc-departments .tab-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  margin-top: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #EBEBEB;
}

.tm-sc-departments .tab-content img {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.tab-contact .icon {
  background: #D1EAF5;
  color: #157685;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tab-contact h5.number {
  color: #157685;
  font-weight: 700;
}

/* ---------- FUNFACTS ---------- */
.funfact.bg-white-f5 {
  background: #f8fbfd !important;
}

.tm-sc-funfact-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #EBEBEB;
  transition: all 0.4s ease;
}

.tm-sc-funfact-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(21, 118, 133, 0.1);
  border-color: #D1EAF5;
}

.funfact-icon {
  color: #021D84;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.tm-sc-funfact h2.counter {
  color: #157685;
  font-weight: 700;
  font-size: 2.5rem;
}

.tm-sc-funfact h4.title {
  color: #5B5B5B;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- HOW IT WORKS ---------- */
.tm-sc-company-working .thumb {
  position: relative;
}

.tm-sc-company-working .thumb img {
  border-radius: 50%;
  border: 4px solid #D1EAF5;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.tm-sc-company-working:hover .thumb img {
  border-color: #021D84;
  transform: scale(1.05);
}

.tm-sc-company-working .tag {
  background: #021D84 !important;
  box-shadow: 0 4px 15px rgba(2, 29, 132, 0.3);
  font-weight: 700;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
}

.tm-sc-company-working .details h5.title {
  color: #157685;
  font-weight: 700;
  margin-top: 20px;
}

.tm-sc-company-working .details p {
  color: #8C8C8C;
}

/* ---------- TESTIMONIALS ---------- */
.our-testimonials.layer-overlay.overlay-theme-colored2-6::before {
  background: rgba(21, 118, 133, 0.85) !important;
}

.testimonial-item.tm_medics {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid #EBEBEB;
}

.testimonial-item.tm_medics:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-item .author-text {
  color: #5B5B5B;
  font-style: italic;
  line-height: 1.8;
  font-size: 0.95rem;
}

.testimonial-item .author-info .name {
  color: #157685;
  font-weight: 700;
}

.testimonial-item .author-info .job-position {
  color: #021D84 !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.testimonial-item .author-thumb img {
  border: 3px solid #D1EAF5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ---------- PRICING TABLES ---------- */
.tm-sc-pricing-table .pricing-table-inner-wrapper {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #EBEBEB;
  transition: all 0.4s ease;
  overflow: hidden;
}

.tm-sc-pricing-table:hover .pricing-table-inner-wrapper,
.tm-sc-pricing-table.pricing-table-hover-effect:hover .pricing-table-inner-wrapper {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(21, 118, 133, 0.12);
  border-color: #D1EAF5;
}

.tm-sc-pricing-table .pricing-table-head {
  background: #f8fbfd;
  padding: 35px 25px;
  border-bottom: 1px solid #EBEBEB;
}

.tm-sc-pricing-table .pricing-table-pricing .pricing-table-price {
  color: #157685;
  font-weight: 700;
}

.tm-sc-pricing-table .pricing-table-title {
  color: #5B5B5B;
  font-weight: 700;
}

.tm-sc-pricing-table .pricing-table-label {
  background: #021D84 !important;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ---------- BUTTONS ---------- */
.btn {
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 14px 32px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: left 0.4s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-theme-colored1 {
  background: #157685 !important;
  border-color: #157685 !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(21, 118, 133, 0.3);
}

.btn-theme-colored1:hover {
  background: #021D84 !important;
  border-color: #021D84 !important;
  box-shadow: 0 8px 25px rgba(2, 29, 132, 0.4);
}

.btn-theme-colored2 {
  background: #021D84 !important;
  border-color: #021D84 !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(2, 29, 132, 0.3);
}

.btn-theme-colored2:hover {
  background: #157685 !important;
  border-color: #157685 !important;
  box-shadow: 0 8px 25px rgba(21, 118, 133, 0.4);
}

.btn-flat {
  border-radius: 50px !important;
}

.btn-plain-text {
  color: #157685 !important;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.btn-plain-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #021D84;
  transition: width 0.3s ease;
}

.btn-plain-text:hover::after {
  width: 100%;
}

.btn-plain-text:hover {
  color: #021D84 !important;
}

/* ---------- FORMS ---------- */
.form-control,
input[type="text"],
input[type="email"],
textarea {
  border: 2px solid #EBEBEB;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #5B5B5B;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #021D84;
  box-shadow: 0 0 0 4px rgba(2, 29, 132, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #8C8C8C;
}

/* ---------- FOOTER ---------- */
footer#footer {
  background: #004d73 !important;
}

footer#footer .widget-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

footer#footer .widget-title::after {
  background: #021D84 !important;
  height: 3px;
  width: 40px;
  border-radius: 2px;
}

footer#footer p,
footer#footer a,
footer#footer li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.8;
  transition: all 0.3s ease;
}

footer#footer a:hover {
  color: #D1EAF5;
  padding-left: 5px;
}

footer#footer .footer-bottom {
  background: #004d73 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer#footer .footer-bottom p,
footer#footer .footer-bottom .text-dark {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.85rem;
}

footer#footer .btn.btn-theme-colored2 {
  background: #021D84 !important;
  border-color: #021D84 !important;
}

footer#footer .btn.btn-theme-colored2:hover {
  background: #157685 !important;
  border-color: #157685 !important;
}

/* ---------- OWL CAROUSEL ---------- */
.owl-theme .owl-dots .owl-dot span {
  background: #D1EAF5;
  border: 2px solid transparent;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #021D84;
  border-color: #157685;
  transform: scale(1.2);
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  background: #157685 !important;
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(21, 118, 133, 0.3);
  transition: all 0.3s ease;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: #021D84 !important;
  transform: scale(1.1);
}

/* ---------- BACK TO TOP ---------- */
.scroll-to-top {
  background: #021D84 !important;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 15px rgba(2, 29, 132, 0.4);
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background: #157685 !important;
  transform: translateY(-4px);
}

/* ---------- SIDE PANEL ---------- */
#side-panel-container {
  background: #004d73 !important;
}

#side-panel-container .widget-title {
  color: #ffffff;
}

#side-panel-container p,
#side-panel-container a,
#side-panel-container li {
  color: rgba(255, 255, 255, 0.8);
}

#side-panel-container a:hover {
  color: #D1EAF5;
}

/* ---------- SECTION BACKGROUNDS ---------- */
.bg-silver-light {
  background: #f8fbfd !important;
}

.bg-white-f5 {
  background: #f8fbfd !important;
}

/* ---------- BORDERS ---------- */
.border-bottom {
  border-bottom-color: #D1EAF5 !important;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 991px) {
  h2 {
    font-size: 1.9rem;
  }
  
  .btn {
    padding: 12px 24px;
  }
  
  .tm-sc-departments .nav-tabs li a {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
  
  .tm-sc-departments .tab-content {
    padding: 24px;
  }
}

/* ---------- ANIMATED ENTRANCES ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- LOADING / PRELOADER ---------- */
#preloader {
  background: #ffffff;
}

#preloader .preloader-dot-loading {
  background: #157685;
}


/* ---------- BLOG / NEWS CARDS ---------- */
.tm-sc-blog.blog-style1-current-theme article.post {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #EBEBEB;
  transition: all 0.4s ease;
}

.tm-sc-blog.blog-style1-current-theme article.post:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(21, 118, 133, 0.1);
  border-color: #D1EAF5;
}

.tm-sc-blog.blog-style1-current-theme .post-thumb img {
  transition: transform 0.6s ease;
}

.tm-sc-blog.blog-style1-current-theme article.post:hover .post-thumb img {
  transform: scale(1.08);
}

.tm-sc-blog.blog-style1-current-theme .entry-date {
  background: #021D84;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}

.tm-sc-blog.blog-style1-current-theme .entry-title a {
  color: #157685;
  font-weight: 700;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.tm-sc-blog.blog-style1-current-theme .entry-title a:hover {
  color: #021D84;
}

.tm-sc-blog.blog-style1-current-theme .entry-content p {
  color: #8C8C8C;
  line-height: 1.7;
}

.tm-sc-blog.blog-style1-current-theme .blog-meta i {
  color: #021D84;
}

/* ---------- CLIENT LOGOS ---------- */
.tm-sc-clients .owl-carousel .item img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.tm-sc-clients .owl-carousel .item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- SEARCH FORM ---------- */
#top-nav-search-form input[type="text"] {
  border: 2px solid #EBEBEB;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.95rem;
  color: #5B5B5B;
  transition: all 0.3s ease;
}

#top-nav-search-form input[type="text"]:focus {
  border-color: #021D84;
  box-shadow: 0 0 0 4px rgba(2, 29, 132, 0.1);
  outline: none;
}

/* ---------- MINI CART ---------- */
.top-nav-mini-cart-icon-contents .mini-cart-icon {
  color: #5B5B5B;
  transition: color 0.3s ease;
}

.top-nav-mini-cart-icon-contents .mini-cart-icon:hover {
  color: #157685;
}

.top-nav-mini-cart-icon-contents .dropdown-content {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid #EBEBEB;
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background: #157685;
}

/* ---------- PROGRESS BAR / REV SLIDER ---------- */
rs-progress.rs-bottom {
  background: rgba(21, 118, 133, 0.3) !important;
}

/* ---------- SCROLLBAR STYLING ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #157685;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #021D84;
}

/* ---------- SIDE PANEL CLOSE ---------- */
.side-panel-trigger-icon:hover {
  color: #021D84;
}

/* ---------- PRELOADER ENHANCEMENT ---------- */
.preloader-dot-loading {
  background: #157685 !important;
}

/* ---------- SECTION PADDING CONSISTENCY ---------- */
section {
  position: relative;
}

/* ---------- IMAGE OVERLAYS ---------- */
.overlay {
  transition: all 0.4s ease;
}

/* ---------- TAGS / LABELS ---------- */
.tag-sale,
.pricing-table-label {
  background: #021D84 !important;
}

/* ---------- CHECK ICONS ---------- */
.fa-check-circle.text-theme-colored1 {
  color: #021D84 !important;
}

/* ---------- ACTIVE TAB INDICATORS ---------- */
.nav-tabs .active a,
.nav-tabs .active a:hover,
.nav-tabs .active a:focus {
  color: #ffffff !important;
}

/* ---------- TEXT UTILITIES ---------- */
.text-theme-colored1 {
  color: #157685 !important;
}

.text-theme-colored2 {
  color: #5B5B5B !important;
}

.text-theme-colored3 {
  color: #021D84 !important;
}

.text-white {
  color: #ffffff !important;
}

/* ---------- BACKGROUND UTILITIES ---------- */
.bg-theme-colored1 {
  background-color: #157685 !important;
}

.bg-theme-colored2 {
  background-color: #5B5B5B !important;
}

.bg-theme-colored3 {
  background-color: #021D84 !important;
}

/* ---------- CARET / DROPDOWN ARROWS ---------- */
.dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #EBEBEB;
}

/* ---------- PAGINATION ---------- */
.pagination > li > a,
.pagination > li > span {
  color: #157685;
  border-color: #EBEBEB;
  transition: all 0.3s ease;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background-color: #D1EAF5;
  border-color: #157685;
  color: #157685;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #157685;
  border-color: #157685;
}


/* ---------- SERVICE CATEGORY SLIDER ---------- */
.service-slider-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.service-nav-btn {
  border: 2px solid #EBEBEB;
  border-radius: 50px;
  padding: 14px 24px;
  color: #5B5B5B;
  font-weight: 600;
  font-size: 0.9rem;
  background: #ffffff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.service-nav-btn i {
  color: #157685;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.service-nav-btn:hover,
.service-nav-btn.active {
  background: #157685;
  border-color: #157685;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(21, 118, 133, 0.3);
  transform: translateY(-2px);
}

.service-nav-btn:hover i,
.service-nav-btn.active i {
  color: #ffffff;
}

.service-slider-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #EBEBEB;
}

.service-slide-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-slide-image img {
  border-radius: 16px;
  transition: transform 0.6s ease;
}

.service-slide-item:hover .service-slide-image img {
  transform: scale(1.05);
}

.service-slide-title {
  color: #157685;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-slide-desc {
  color: #5B5B5B;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.service-slide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  /* display: grid; */
  grid-template-columns: 1fr;
  gap: 10px;
  grid-auto-flow: row;
}

.service-slide-list li {
  color: #5B5B5B;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.service-slide-list li i {
  margin-top: 3px;
  font-size: 1rem;
}

/* Owl nav customization for service slider */
.service-category-carousel .owl-nav {
  margin-top: 30px;
  text-align: center;
}

.service-category-carousel .owl-nav button.owl-prev,
.service-category-carousel .owl-nav button.owl-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #157685 !important;
  color: #fff !important;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  margin: 0 8px;
}

.service-category-carousel .owl-nav button.owl-prev:hover,
.service-category-carousel .owl-nav button.owl-next:hover {
  background: #021D84 !important;
  transform: scale(1.1);
}

.service-category-carousel .owl-dots {
  margin-top: 20px;
  text-align: center;
}

.service-category-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: #D1EAF5;
  transition: all 0.3s ease;
}

.service-category-carousel .owl-dots .owl-dot.active span,
.service-category-carousel .owl-dots .owl-dot:hover span {
  background: #157685;
  transform: scale(1.2);
}

@media (min-width: 992px) {
  .service-slide-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .service-slider-wrapper {
    padding: 25px;
  }

  .service-nav-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .service-slide-title {
    font-size: 1.3rem;
  }
}

/* ---------- ABOUT PAGE ANIMATIONS & HOVER EFFECTS ---------- */

/* Floating animation for stat cards */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.about-hero-section .image-box ~ div[style*="position: absolute"] {
  animation: float 4s ease-in-out infinite;
}

.about-hero-section .image-box ~ div[style*="position: absolute"]:nth-of-type(2) {
  animation-delay: 1s;
}

/* Smooth card lift on hover */
.about-icon-box {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.about-icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2, 29, 132, 0.1);
}

/* Icon bounce on card hover */
.about-icon-box:hover .icon-box-title i {
  animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Feature pill hover glow */
.about-hero-section .col-6.col-sm-3 > div {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-hero-section .col-6.col-sm-3 > div:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(21, 118, 133, 0.15);
  border-color: rgba(21, 118, 133, 0.2);
}

.about-hero-section .col-6.col-sm-3 > div:hover i {
  color: #021D84;
  transform: scale(1.15);
}

.about-hero-section .col-6.col-sm-3 > div i {
  transition: all 0.3s ease;
  display: inline-block;
}

/* Image subtle zoom on hover */
.about-hero-section .image-box img {
  transition: transform 0.7s ease;
}

.about-hero-section .image-box:hover img {
  transform: scale(1.06);
}

/* CTA button pulse glow */
.about-hero-section .btn-theme-colored2 {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-hero-section .btn-theme-colored2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(21, 118, 133, 0.4);
}

/* Process tabs hover lift */
.about-process-tabs .nav-tabs li a {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-process-tabs .nav-tabs li a:hover {
  transform: translateY(-3px);
}

/* Tab content image hover zoom */
.about-process-tabs .tab-content .service-slide-image img {
  transition: transform 0.6s ease;
}

.about-process-tabs .tab-content .service-slide-image:hover img {
  transform: scale(1.05);
}

/* Service nav button enhanced hover */
.service-nav-btn {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-nav-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Service slide list item hover */
.service-slide-list li {
  transition: all 0.25s ease;
  padding: 2px 8px;
  border-radius: 6px;
}

.service-slide-list li:hover {
  background: rgba(21, 118, 133, 0.04);
  transform: translateX(4px);
}

/* Gradient shimmer on active nav buttons */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.service-nav-btn.active {
  background: linear-gradient(90deg, #157685 0%, #021D84 50%, #157685 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Footer link hover slide */
footer#footer .menu-links-container a,
footer#footer .latest-posts a {
  transition: all 0.3s ease;
  display: inline-block;
}

footer#footer .menu-links-container a:hover,
footer#footer .latest-posts a:hover {
  transform: translateX(4px);
}

/* Scroll-to-top button enhanced */
.scrollToTop {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scrollToTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(21, 118, 133, 0.4);
}

/* Owl carousel nav button pulse on hover */
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  animation: navPulse 0.6s ease;
}

@keyframes navPulse {
  0% { box-shadow: 0 0 0 0 rgba(21, 118, 133, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(21, 118, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 118, 133, 0); }
}

/* Smooth section divider transition */
section {
  position: relative;
}

/* Ensure wow animations respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wow {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .about-hero-section .image-box ~ div[style*="position: absolute"] {
    animation: none !important;
  }
}

/* ================================================
   Visit Wellness Center — Standout CTA Button
   ================================================ */

.btn-visit-wellness {
	display: inline-block;
	position: relative;
	background: linear-gradient(135deg, #157685 0%, #021D84 50%, #157685 100%);
	background-size: 200% 200%;
	color: #ffffff !important;
	border: none;
	border-radius: 50px;
	padding: 12px 28px !important;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow: 0 4px 15px rgba(21, 118, 133, 0.4), 0 0 0 0 rgba(21, 118, 133, 0.5);
	transition: all 0.3s ease;
	animation: wellnessPulse 2.5s infinite, wellnessGradient 4s ease infinite;
	overflow: hidden;
	z-index: 1;
}

.btn-visit-wellness::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
	transition: left 0.5s ease;
	z-index: -1;
}

.btn-visit-wellness:hover::before {
	left: 100%;
}

.btn-visit-wellness:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(21, 118, 133, 0.55), 0 0 0 4px rgba(21, 118, 133, 0.15);
	color: #ffffff !important;
}

.btn-visit-wellness:active {
	transform: translateY(-1px);
}

.btn-visit-wellness i {
	margin-right: 8px;
	font-size: 14px;
}

@keyframes wellnessPulse {
	0% {
		box-shadow: 0 4px 15px rgba(21, 118, 133, 0.4), 0 0 0 0 rgba(21, 118, 133, 0.5);
	}
	70% {
		box-shadow: 0 4px 15px rgba(21, 118, 133, 0.4), 0 0 0 12px rgba(21, 118, 133, 0);
	}
	100% {
		box-shadow: 0 4px 15px rgba(21, 118, 133, 0.4), 0 0 0 0 rgba(21, 118, 133, 0);
	}
}

@keyframes wellnessGradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Header top bar specific styling */
.header-top .btn-visit-wellness {
	padding: 10px 22px !important;
	font-size: 12px;
}

/* Footer specific styling */
.footer-widget-area .btn-visit-wellness {
	margin-top: 15px;
	padding: 14px 32px !important;
	font-size: 14px;
}

/* Stop pulse on hover but keep glow */
.btn-visit-wellness:hover {
	animation: wellnessGradient 4s ease infinite;
}

/* ================================================
   Hero Section — Ken Burns Zoom Effect
   ================================================ */

rs-slide img.rev-slidebg {
	animation: heroKenBurns 10s ease-in-out infinite alternate;
	transform-origin: center center;
}

@keyframes heroKenBurns {
	0% {
		transform: scale(1) translate(0, 0);
	}
	100% {
		transform: scale(1.15) translate(-1%, -1%);
	}
}

/* Slower zoom for smoother feel on slide 2 & 3 */
rs-slide:nth-child(2) img.rev-slidebg {
	animation-duration: 12s;
	transform-origin: top center;
}

rs-slide:nth-child(3) img.rev-slidebg {
	animation-duration: 14s;
	transform-origin: center right;
}
