/* =========================================================================
   RSUD Semarang — RSD K.R.M.T. Wongsonegoro (RSWN) — Master Stylesheet
   Theme: flixita + alexia (child) + Bootstrap 5 + Owl + WOW.js
   Palette: deep emerald + rose coral accent
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --sm-primary:       #047857;
  --sm-primary-dark:  #064e3b;
  --sm-primary-darker:#022c22;
  --sm-primary-light: #d1fae5;
  --sm-primary-hover: #065f46;

  --sm-accent:        #e11d48;
  --sm-accent-dark:   #be123c;
  --sm-accent-light:  #ffe4e6;

  --sm-gold:          #f59e0b;

  --sm-text:          #0f172a;
  --sm-text-muted:    #475569;
  --sm-text-light:    #94a3b8;
  --sm-bg:            #ffffff;
  --sm-bg-subtle:     #f8fafc;
  --sm-bg-accent:     #f0fdf4;
  --sm-border:        #e2e8f0;
  --sm-border-dark:   #cbd5e1;

  --sm-font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sm-font-display: 'Fraunces', 'Plus Jakarta Sans', Georgia, serif;

  --sm-radius-sm: 6px;
  --sm-radius:    10px;
  --sm-radius-lg: 16px;
  --sm-radius-xl: 24px;

  --sm-shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --sm-shadow:    0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.05);
  --sm-shadow-lg: 0 12px 24px -8px rgba(15,23,42,.14), 0 4px 8px -4px rgba(15,23,42,.06);
  --sm-shadow-xl: 0 25px 50px -12px rgba(15,23,42,.18);

  --sm-container: 1200px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body,
body.home,
body[class*="page-"] {
  background: var(--sm-bg) !important;
  background-image: none !important;
  color: var(--sm-text);
  font-family: var(--sm-font-body);
  font-size: 15px;
  line-height: 1.65;
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--sm-primary);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--sm-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sm-font-display);
  color: var(--sm-text);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }

p { margin: 0 0 1em; color: var(--sm-text); }
ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
hr { border: none; height: 1px; background: var(--sm-border); margin: 24px 0; }

.sr-only, .screen-reader-text, .skip-link {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link:focus {
  position: fixed !important;
  left: 20px !important; top: 20px !important;
  width: auto !important; height: auto !important;
  clip: auto !important;
  background: var(--sm-primary) !important;
  color: #fff !important;
  padding: 12px 18px !important;
  border-radius: var(--sm-radius);
  z-index: 9999;
}

/* ---------- Bootstrap 5 grid + utilities replacement ---------- */
.container {
  width: 100%;
  max-width: var(--sm-container);
  margin: 0 auto;
  padding: 0 15px;
}
.container-fluid { width: 100%; padding: 0 15px; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.row.g-4 { row-gap: 1.5rem; column-gap: 0; }
.row.g-3 { row-gap: 1rem; column-gap: 0; }

[class*="col-"] {
  position: relative;
  padding: 0 15px;
  width: 100%;
  min-width: 0;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }

@media (min-width: 576px) {
  .col-sm-6  { flex: 0 0 50%; max-width: 50%; }
  .col-sm-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md-3  { flex: 0 0 25%; max-width: 25%; }
  .col-md-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-6  { flex: 0 0 50%; max-width: 50%; }
  .col-md-8  { flex: 0 0 66.6666%; max-width: 66.6666%; }
  .col-md-9  { flex: 0 0 75%; max-width: 75%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-2  { flex: 0 0 16.6666%; max-width: 16.6666%; }
  .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
  .col-lg-8  { flex: 0 0 66.6666%; max-width: 66.6666%; }
  .col-lg-9  { flex: 0 0 75%; max-width: 75%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Display utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
}

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
@media (min-width: 992px) {
  .text-lg-left  { text-align: left; }
  .text-lg-right { text-align: right; }
  .text-lg-center { text-align: center; }
}

/* Flexbox alignment */
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
@media (min-width: 992px) {
  .justify-content-lg-end { justify-content: flex-end; }
  .justify-content-lg-center { justify-content: center; }
}

/* Margin / spacing */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
@media (min-width: 992px) {
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-4 { margin-bottom: 1.5rem !important; }
}
.my-auto { margin-top: auto; margin-bottom: auto; }

/* Text colors */
.text-muted { color: var(--sm-text-muted) !important; }
.primary, .text-primary { color: var(--sm-primary) !important; }

/* ---------- Animate.css fallbacks (WOW.js triggers these) ---------- */
.wow { visibility: visible !important; animation-duration: .8s; animation-fill-mode: both; }
.animated { animation-duration: .8s; animation-fill-mode: both; }
@keyframes fadeInUp   { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -20px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-20px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight{ from { opacity: 0; transform: translate3d(20px, 0, 0); } to { opacity: 1; transform: none; } }
.fadeInUp    { animation-name: fadeInUp; }
.fadeInDown  { animation-name: fadeInDown; }
.fadeInLeft  { animation-name: fadeInLeft; }
.fadeInRight { animation-name: fadeInRight; }

/* ---------- Header ---------- */
#main-header { background: var(--sm-bg); }

/* Above-header (top contact bar) */
.above-header {
  background: linear-gradient(90deg, var(--sm-primary-dark), var(--sm-primary));
  color: #fff;
  font-size: 13.5px;
  border-bottom: 2px solid var(--sm-accent);
}
.above-header .container { max-width: var(--sm-container); }
.above-header .header-widget { padding: 10px 0; min-height: 44px; }
.above-header .header-widget > .container > .row { align-items: center; margin: 0; }
.above-header .widget-left,
.above-header .widget-right {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 0;
}
.above-header .widget-right { justify-content: flex-end; }
.above-header .widget { margin: 0; padding: 0; background: transparent; border: none; box-shadow: none; }

/* Top contact pill items */
.above-header .widget-contact .contact-area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.above-header .widget-contact .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  flex-shrink: 0;
}
.above-header .widget-contact .contact-corn i {
  font-size: 11px;
  color: #fff;
}
.above-header .widget-contact .contact-info { margin: 0; }
.above-header .widget-contact .title,
.above-header .widget-contact h6.title {
  font-size: 13px !important;
  font-weight: 500;
  color: #fff !important;
  margin: 0 !important;
  font-family: var(--sm-font-body);
  letter-spacing: 0;
  text-transform: none;
}
.above-header .widget-contact a { color: #fff !important; }
.above-header .widget-contact a:hover { color: var(--sm-accent-light) !important; }

/* Emergency icon fallback (class="fa Emergency") */
.above-header .fa.Emergency::before {
  content: '';
  display: inline-block;
  width: 11px; height: 11px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z'/></svg>") no-repeat center / contain;
}

/* Social icons in header */
.above-header .widget_social_widget ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.above-header .widget_social_widget li { list-style: none; }
.above-header .widget_social_widget li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.15);
  color: #fff !important;
  border-radius: 50%;
  font-size: 12px;
  transition: background .15s, transform .15s;
}
.above-header .widget_social_widget li a:hover {
  background: var(--sm-accent);
  transform: translateY(-1px);
}
/* YouTube icon fallback (class="fa rswntv") */
.above-header .fa.rswntv::before,
.fa.rswntv::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path fill='black' d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path fill='black' d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/></svg>") no-repeat center / contain;
}

/* Main navigation (logo + menu) */
.main-navigation-area {
  background: var(--sm-bg);
  border-bottom: 1px solid var(--sm-border);
  box-shadow: var(--sm-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 900;
}
.main-navigation { padding: 12px 0; }
.main-navigation.is-sticky-on { transition: padding .2s ease; }
.main-navigation .container { max-width: var(--sm-container); }
.main-navigation .row { align-items: center; margin: 0; }

/* Logo block */
.logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.logo .custom-logo-link { display: inline-block; }
.logo img,
.logo .custom-logo {
  height: 60px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain;
}
.site-description {
  font-size: 11.5px;
  color: var(--sm-primary);
  font-style: italic;
  margin: 0;
  letter-spacing: .02em;
  font-weight: 500;
}

/* Nav bar */
.navbar-area, .main-navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
}

.main-menu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.main-menu > li,
.menu-item { position: relative; list-style: none; }

.main-menu > li > a,
.main-menu > li > a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sm-text) !important;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: var(--sm-radius-sm);
  transition: all .15s ease;
  text-decoration: none;
  position: relative;
}
.main-menu > li > a:hover,
.main-menu > li.active > a,
.main-menu > li.current-menu-item > a,
.main-menu > li.current_page_item > a {
  color: var(--sm-primary) !important;
  background: var(--sm-primary-light);
}
.main-menu > li.active > a::after,
.main-menu > li.current-menu-item > a::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--sm-accent);
  border-radius: 2px;
}

/* Dropdown caret (menu-has-children) */
.menu-item-has-children > a::after {
  content: '▾';
  display: inline-block;
  margin-left: 4px;
  font-size: 9px;
  line-height: 1;
  transition: transform .2s ease;
}
.menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Hide the mobile-collapsed chevron buttons on desktop */
@media (min-width: 992px) {
  .mobile-collapsed { display: none !important; }
}

/* Dropdown menus */
.main-menu .dropdown-menu,
.menu-item .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 4px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  z-index: 1001;
}
.main-menu li.dropdown:hover > .dropdown-menu,
.main-menu .menu-item-has-children:hover > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.main-menu .dropdown-menu > li { list-style: none; position: relative; }
.main-menu .dropdown-menu > li > a,
.dropdown-item {
  display: block !important;
  padding: 10px 14px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: var(--sm-text) !important;
  border-radius: var(--sm-radius-sm);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid transparent;
  background: transparent !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: all .15s ease;
}
.main-menu .dropdown-menu > li > a:hover,
.dropdown-item:hover,
.main-menu .dropdown-menu > li.current-menu-item > a {
  background: var(--sm-primary-light) !important;
  color: var(--sm-primary-dark) !important;
  border-left-color: var(--sm-accent);
}

/* Nested submenu */
.main-menu .dropdown-menu .dropdown > a::after {
  content: '›';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--sm-text-muted);
}
.main-menu .dropdown-menu .dropdown > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
  margin-top: 0;
}

/* Main menu right buttons (search, close) */
.main-menu-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.main-menu-right .menu-right-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.main-menu-right li { list-style: none; }

.header-search-toggle,
.close-style {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--sm-bg-subtle);
  border: 1px solid var(--sm-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--sm-text);
  transition: all .15s ease;
  padding: 0;
}
.header-search-toggle:hover,
.close-style:hover {
  background: var(--sm-primary);
  color: #fff;
  border-color: var(--sm-primary);
}
.close-style::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'/></svg>") no-repeat center / contain;
}

/* Header search popup */
.header-search-popup {
  position: absolute;
  top: 110%;
  right: 0;
  width: 320px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
  z-index: 1002;
}
.header-search-toggle[aria-expanded="true"] + .header-search-popup,
.header-search-toggle:focus + .header-search-popup,
.main-menu-right li.search-button:hover .header-search-popup {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.header-search-flex { display: flex; gap: 6px; }
.header-search-popup input[type="search"],
.header-search-popup input[type="text"] {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-sm);
  font-size: 13px;
  outline: none;
}
.header-search-popup input:focus { border-color: var(--sm-primary); }

/* ---------- Hero slider (owl) ---------- */
#slider-section.slider-section {
  position: relative;
  background: var(--sm-primary-darker);
}
.home-slider.owl-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.home-slider .item {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 46vw, 560px);
  display: none;
}
.home-slider .item:first-child,
.home-slider .owl-item.active .item,
.home-slider.non-initialized .item { display: block; }

/* When Owl is NOT initialized, show only first slide */
.home-slider:not(.owl-loaded) .item:first-child { display: block; }
.home-slider:not(.owl-loaded) .item:not(:first-child) { display: none; }

.home-slider .item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-slider .item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2,44,34,.6) 0%, rgba(4,120,87,.35) 55%, rgba(225,29,72,.2) 100%);
  z-index: 1;
}
.home-slider .main-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit;
}
.home-slider .main-table {
  display: table;
  width: 100%;
  min-height: clamp(320px, 46vw, 560px);
}
.home-slider .main-table-cell {
  display: table-cell;
  vertical-align: middle;
  padding: 40px 0;
}
.home-slider .main-content {
  color: #fff;
  max-width: 780px;
  padding: 0 20px;
}
.home-slider .main-content.text-center { margin: 0 auto; }
.home-slider .main-content.text-right  { margin-left: auto; }
.home-slider .main-content h4 {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-family: var(--sm-font-body);
}
.home-slider .main-content h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
  font-family: var(--sm-font-display);
}
.home-slider .main-content h1 .primary {
  color: var(--sm-accent) !important;
  background: linear-gradient(135deg, #fff, var(--sm-accent-light));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  display: inline-block;
}
.home-slider .main-content p {
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 640px;
}
.home-slider .main-content .btn-primary {
  background: var(--sm-accent) !important;
  border-color: var(--sm-accent) !important;
  padding: 12px 26px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(225,29,72,.35);
}
.home-slider .main-content .btn-primary:hover {
  background: var(--sm-accent-dark) !important;
  border-color: var(--sm-accent-dark) !important;
  transform: translateY(-2px);
}

/* Owl controls */
.owl-nav button {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.2) !important;
  color: #fff !important;
  border-radius: 50% !important;
  border: none !important;
  font-size: 20px !important;
}
.owl-nav button:hover { background: var(--sm-accent) !important; }
.owl-dots { text-align: center; margin-top: -30px; position: relative; z-index: 3; }
.owl-dots .owl-dot span {
  display: inline-block;
  width: 10px; height: 10px;
  background: rgba(255,255,255,.5);
  margin: 0 4px;
  border-radius: 50%;
  transition: all .2s ease;
}
.owl-dots .owl-dot.active span {
  background: var(--sm-accent);
  width: 28px;
  border-radius: 6px;
}

/* ---------- Info section (feature cards) ---------- */
#info-section.info-section-2 {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--sm-bg-subtle), var(--sm-bg));
  border-bottom: 1px solid var(--sm-border);
  position: relative;
}
#info-section::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: var(--sm-container);
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--sm-bg-subtle));
  pointer-events: none;
}
.info-wrapper { row-gap: 24px; }

/* Each feature card */
.info-wrapper .col-lg-3 { display: flex; }
.info-wrapper .widget.widget-contact {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-lg);
  overflow: hidden;
  box-shadow: var(--sm-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  margin: 0;
  padding: 0;
  position: relative;
}
.info-wrapper .widget.widget-contact:hover {
  transform: translateY(-6px);
  box-shadow: var(--sm-shadow-xl);
  border-color: var(--sm-primary-light);
}
.info-wrapper .widget.widget-contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sm-primary), var(--sm-accent));
  z-index: 5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.info-wrapper .widget.widget-contact:hover::before { transform: scaleX(1); }

.info-wrapper .contact-area {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.info-wrapper .feature-box-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sm-primary-light);
}
.info-wrapper .feature-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.info-wrapper .widget-contact:hover .feature-box-img img { transform: scale(1.06); }

.info-wrapper .feature-box-inner {
  padding: 28px 22px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.info-wrapper .feature-box-icon {
  position: absolute;
  top: -28px;
  left: 22px;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-dark));
  color: #fff;
  border-radius: 16px;
  font-size: 22px;
  box-shadow: 0 8px 16px -4px rgba(4,120,87,.35);
  transition: transform .3s ease;
}
.info-wrapper .widget-contact:hover .feature-box-icon {
  transform: rotate(-6deg) scale(1.05);
  background: linear-gradient(135deg, var(--sm-accent), var(--sm-accent-dark));
  box-shadow: 0 8px 16px -4px rgba(225,29,72,.35);
}
.info-wrapper .feature-box-title {
  margin: 14px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sm-text);
  font-family: var(--sm-font-display);
  line-height: 1.3;
}
.info-wrapper .fbox-content {
  color: var(--sm-text-muted);
  font-size: 13.5px;
  line-height: 1.7;
  flex: 1;
}
.info-wrapper .more.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--sm-primary-light);
  color: var(--sm-primary) !important;
  border-radius: 50%;
  margin-top: auto;
  align-self: flex-start;
  transition: all .2s ease;
  font-size: 14px;
}
.info-wrapper .more.read-more:hover {
  background: var(--sm-accent);
  color: #fff !important;
  transform: translate(4px, -2px);
}

/* ---------- Generic sections ---------- */
section { padding: 48px 0; }
section:first-of-type { padding-top: 0; }

.page, article.post, article.page {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-lg);
  padding: 32px;
  box-shadow: var(--sm-shadow-sm);
  margin: 32px auto;
  max-width: var(--sm-container);
}

.entry-title, .post-title, h1.entry-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  padding-bottom: 14px;
  margin-bottom: 18px;
  position: relative;
  border-bottom: 2px solid var(--sm-border);
}
.entry-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: var(--sm-accent);
}

.entry-content { font-size: 15px; line-height: 1.75; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--sm-radius); margin: 18px 0; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1em; }

/* ---------- Buttons ---------- */
.btn,
button:not(.navbar-toggle):not(.owl-prev):not(.owl-next):not(.header-search-toggle):not(.close-style):not(.mobile-collapsed button):not(.joinchat__button),
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--sm-font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  background: var(--sm-primary);
  border: 1px solid var(--sm-primary);
  border-radius: var(--sm-radius);
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none !important;
  line-height: 1.4;
}
.btn:hover,
input[type="submit"]:hover {
  background: var(--sm-primary-dark);
  border-color: var(--sm-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--sm-shadow);
  color: #fff !important;
}
.btn-primary {
  background: var(--sm-primary) !important;
  border-color: var(--sm-primary) !important;
}
.btn-primary:hover {
  background: var(--sm-primary-dark) !important;
  border-color: var(--sm-primary-dark) !important;
}

input[type="text"], input[type="search"], input[type="email"],
input[type="tel"], textarea, select {
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--sm-text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--sm-primary);
  box-shadow: 0 0 0 3px rgba(4,120,87,.12);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14px;
  background: #fff;
  border-radius: var(--sm-radius);
  overflow: hidden;
}
th {
  background: var(--sm-primary-dark);
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--sm-border);
}
tbody tr:nth-child(even) { background: var(--sm-bg-subtle); }
tbody tr:hover { background: var(--sm-primary-light); }

/* ---------- FontAwesome 4 fallback ---------- */
.fa, i[class*="fa-"] {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Inline SVG masks for commonly-used FA 4 icons */
.fa.fa-envelope::before, .fa.fa-envelope-o::before,
.fa.fa-phone::before, .fa.fa-map-marker::before,
.fa.fa-facebook::before, .fa.fa-twitter::before, .fa.fa-instagram::before,
.fa.fa-user-md::before, .fa.fa-heartbeat::before, .fa.fa-bed::before,
.fa.fa-stethoscope::before, .fa.fa-arrow-right::before, .fa.fa-chevron-right::before,
.fa.fa-chevron-up::before, .fa.fa-angle-up::before,
.fa.fa-search::before, .fa.fa-question::before, .fa.fa-clock-o::before,
.fa.fa-home::before, .fa.fa-ambulance::before, .fa.fa-hospital-o::before {
  content: '';
  display: inline-block;
  width: 1em; height: 1em;
  background: currentColor;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.fa.fa-envelope, .fa.fa-envelope-o {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm0 48v40.8c-22.4 18.3-57.8 46.6-133.4 106-16.7 13.1-49.9 44.7-74.6 44.3-24.7.4-57.9-31.2-74.6-44.3C115.8 199.4 80.4 171.1 58 152.8V112h406zM48 400V214.4c22.9 18.3 55.1 43.7 104.2 82.3 21.7 17.1 59.8 54.8 103.8 54.6 43.8.3 81.7-36.8 103.8-54.6 49.1-38.5 81.3-63.9 104.2-82.3V400H48z'/></svg>");
}
.fa.fa-phone {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z'/></svg>");
}
.fa.fa-map-marker {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path fill='black' d='M172.3 501.7C27 291 0 269.4 0 192 0 86 86 0 192 0s192 86 192 192c0 77.4-27 99-172.3 309.7-9.5 13.7-29.8 13.7-39.4 0zM192 272c44.2 0 80-35.8 80-80s-35.8-80-80-80-80 35.8-80 80 35.8 80 80 80z'/></svg>");
}
.fa.fa-facebook {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='black' d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/></svg>");
}
.fa.fa-twitter {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/></svg>");
}
.fa.fa-instagram {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='black' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/></svg>");
}
.fa.fa-user-md {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='black' d='M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H394.3c.5 0 1.1 0 1.6 0c-3.6-13.9-5.9-28.4-5.9-43.4c0-31.8 9.9-61.3 26.8-85.6c-20.2-39.2-61.1-67-108.8-67H178.3z'/></svg>");
}
.fa.fa-heartbeat {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M320.2 243.8l-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0l182.5-186.5H349.2l-29-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203.3 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-52.7 41.4-132.3-7.3-182.1z'/></svg>");
}
.fa.fa-bed {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'><path fill='black' d='M176 256c44.11 0 80-35.89 80-80s-35.89-80-80-80-80 35.89-80 80 35.89 80 80 80zm352-128H304c-8.84 0-16 7.16-16 16v144H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v352c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48h512v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V240c0-61.86-50.14-112-112-112z'/></svg>");
}
.fa.fa-stethoscope {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M447 0h-24c-4.4 0-8 3.6-8 8v43c-58.6 20.9-96 57.7-96 96s37.4 75.1 96 96v24c0 48.7-39.3 88-88 88s-88-39.3-88-88v-8c53 0 96-43 96-96V32c0-17.7-14.3-32-32-32h-48c-8.8 0-16 7.2-16 16s7.2 16 16 16h48v96c0 35.3-28.7 64-64 64S112 163.3 112 128V32h48c8.8 0 16-7.2 16-16s-7.2-16-16-16h-48C94.3 0 80 14.3 80 32v96c0 53 43 96 96 96v8c0 66.3 53.7 120 120 120s120-53.7 120-120v-24c58.6-20.9 96-57.7 96-96s-37.4-75.1-96-96V8c0-4.4-3.6-8-8-8zm0 80c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48z'/></svg>");
}
.fa.fa-arrow-right {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='black' d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 229.1c9.4 9.4 9.4 24.6 0 33.9L246.6 457.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 288H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'/></svg>");
}
.fa.fa-chevron-right {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='black' d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/></svg>");
}
.fa.fa-chevron-up, .fa.fa-angle-up {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L256 260.486 133.254 381.515c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L271.03 130.523c9.372-9.372 24.568-9.372 33.941.001z'/></svg>");
}
.fa.fa-search {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/></svg>");
}
.fa.fa-question {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path fill='black' d='M202.021 0C122.202 0 70.503 32.703 29.914 91.026c-7.363 10.58-5.093 25.086 5.178 32.874l43.138 32.709c10.373 7.865 25.132 6.026 33.253-4.148 25.049-31.381 43.63-49.449 82.757-49.449 30.764 0 68.816 19.799 68.816 49.631 0 22.552-18.617 34.134-48.993 51.164-35.423 19.86-82.299 44.576-82.299 106.405V320c0 13.255 10.745 24 24 24h72.471c13.255 0 24-10.745 24-24v-5.773c0-42.86 125.268-44.645 125.268-160.627C377.504 66.256 286.902 0 202.021 0zM192 373.459c-38.196 0-69.271 31.075-69.271 69.271 0 38.195 31.075 69.27 69.271 69.27s69.271-31.075 69.271-69.271-31.075-69.27-69.271-69.27z'/></svg>");
}
.fa.fa-clock-o {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z'/></svg>");
}
.fa.fa-home {
  --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path fill='black' d='M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z'/></svg>");
}

.fa[class*="fa-"] {
  -webkit-mask-image: var(--i);
          mask-image: var(--i);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.fa[class*="fa-"]::before {
  background-image: none !important;
}
/* only apply masking when --i is defined */
.fa:not([class*="fa-envelope"]):not([class*="fa-phone"]):not([class*="fa-map-marker"]):not([class*="fa-facebook"]):not([class*="fa-twitter"]):not([class*="fa-instagram"]):not([class*="fa-user-md"]):not([class*="fa-heartbeat"]):not([class*="fa-bed"]):not([class*="fa-stethoscope"]):not([class*="fa-arrow-right"]):not([class*="fa-chevron"]):not([class*="fa-angle"]):not([class*="fa-search"]):not([class*="fa-question"]):not([class*="fa-clock-o"]):not([class*="fa-home"]):not(.Emergency):not(.rswntv) {
  -webkit-mask-image: none;
          mask-image: none;
}

/* ---------- Footer ---------- */
#footer-section.footer-section {
  background: linear-gradient(180deg, var(--sm-primary-darker) 0%, #000 100%);
  color: rgba(255,255,255,.88);
  padding: 48px 0 0;
  position: relative;
  border-top: 4px solid var(--sm-accent);
}
#footer-section .container { max-width: var(--sm-container); }

#footer-section .footer-top { padding-bottom: 20px; }
#footer-section .footer-top > .container > .row {
  align-items: stretch;
  row-gap: 16px;
}

/* Footer contact cards */
#footer-section .widget.widget-contact {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--sm-radius-lg);
  padding: 24px 20px;
  margin-bottom: 0;
  text-align: center;
  height: 100%;
  transition: all .2s ease;
  box-shadow: none;
}
#footer-section .widget.widget-contact:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--sm-accent);
  transform: translateY(-3px);
}
#footer-section .widget.widget-contact .contact-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#footer-section .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--sm-primary), var(--sm-accent));
  border-radius: 16px;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}
#footer-section .contact-icon .contact-corn { display: inline-flex; }
#footer-section .contact-info { text-align: center; }
#footer-section .contact-info .title,
#footer-section .contact-info h6.title {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 6px;
  font-family: var(--sm-font-body);
}
#footer-section .contact-info .text,
#footer-section .contact-info p.text {
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  word-break: break-word;
}
#footer-section .contact-info a { color: #fff !important; }
#footer-section .contact-info a:hover { color: var(--sm-accent-light) !important; }

/* Footer bottom (copyright) */
#footer-section .footer-bottom,
#footer-section .copyright-area,
#footer-section .site-info {
  padding: 18px 0;
  margin-top: 24px;
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

/* ---------- ResponsiveVoice (text-to-speech plugin) controls ---------- */
.rv-btn, [class*="responsivevoice"] {
  border-radius: var(--sm-radius-sm);
}

/* ---------- Scroll-to-top ---------- */
.scrollup, #back-to-top, .back-to-top, .scroll-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--sm-primary);
  color: #fff !important;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--sm-shadow-lg);
  z-index: 95;
  transition: all .2s ease;
}
.scrollup:hover, #back-to-top:hover, .back-to-top:hover {
  background: var(--sm-accent);
  transform: translateY(-3px);
  color: #fff !important;
}

/* ---------- WhatsApp widget if present ---------- */
.joinchat {
  position: fixed !important;
  bottom: 28px !important;
  left: 20px !important;
  right: auto !important;
  z-index: 94 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .above-header .widget-left,
  .above-header .widget-right { gap: 14px; }
  .above-header .widget-contact .title { font-size: 12.5px !important; }
}

@media (max-width: 991px) {
  .main-navigation .row { justify-content: space-between; }
  .main-navigation .col-3 { flex: 0 0 auto; max-width: 70%; }
  .main-navigation .col-9 { flex: 0 0 auto; max-width: 60px; }

  .main-navbar { position: relative; }
  .main-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius);
    box-shadow: var(--sm-shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all .2s ease;
  }
  .main-navbar:hover .main-menu,
  .main-navbar:focus-within .main-menu,
  .main-menu:hover { opacity: 1; visibility: visible; transform: translateY(0); }

  .main-menu > li > a { display: block; padding: 10px 12px; }
  .main-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 12px;
    margin: 0;
    background: var(--sm-bg-subtle);
    min-width: 0;
  }
  .main-menu .dropdown-menu .dropdown > .dropdown-menu {
    top: auto; left: auto; margin: 0;
    padding-left: 12px;
  }

  .above-header { font-size: 12.5px; }
  .home-slider .main-content h1 { font-size: 1.8rem; }
  .home-slider .main-content h4 { font-size: .85rem; }

  .info-wrapper .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
  .above-header .widget-left { flex-direction: column; gap: 6px; }
  .above-header .widget-right { justify-content: center !important; }
  .logo img, .logo .custom-logo { height: 46px !important; max-width: 200px !important; }
  .site-description { font-size: 10.5px; }
  .info-wrapper .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
  .home-slider .main-content { padding: 0 16px; }
  .home-slider .main-content h1 { font-size: 1.5rem; }
  .owl-nav button { width: 36px; height: 36px; }
  #footer-section { padding: 32px 0 0; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .container, .container-fluid { padding: 0 12px; }
  .home-slider .item { min-height: 240px; }
  .home-slider .main-content h1 { font-size: 1.3rem; }
  .scrollup, .back-to-top { width: 40px; height: 40px; bottom: 20px; right: 20px; }
}

/* ---------- Print ---------- */
@media print {
  .above-header, .main-navigation-area, #slider-section, #footer-section,
  .scrollup, .joinchat, .owl-nav, .owl-dots { display: none !important; }
  body { background: #fff !important; color: #000; }
  .widget.widget-contact { box-shadow: none; border-color: #ccc; }
}
