/* =====================================================================
   UFSUI THEME - Uganda Funeral Services
   Port of the ufs-vue design to the G7Bill (Smarty / Bootstrap 3) engine.
   Static file: loaded by templates/common/header.php via U::File('custom.css')
   ===================================================================== */

/* ---------- Tokens (reference) ----------
   primary red  #DC0A0A
   gold         #c99e59 / #caa45e
   dark         #111111 / #0b0b0b
   page bg      #f5f5f5
------------------------------------------ */

/* ================= LEGACY (kept from funeral theme) ================= */
.progress-bar { background-color: #DC0A0A; }

/* old full-screen gear loader (widget.preloader) - replaced by the top bar in custom.js */
.loader { display: none !important; }

/* backups for the cheader.php / widget.player.php overrides:
   old toll-free bar + header.gif strip (printed in <head>, moved to the top of <body> by the browser) */
body.ufs-theme > div[class=""],
body.ufs-theme > div[style*="header.gif"] { display: none !important; }
/* floating music player button */
.amplitude-play-pause { display: none !important; }

/* ================= BASE ================= */
body.ufs-theme {
  background: #f5f5f5;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  overflow-x: hidden;
}
body.ufs-theme h1, body.ufs-theme h2, body.ufs-theme h3,
body.ufs-theme h4, body.ufs-theme h5, body.ufs-theme h6 {
  font-family: 'Open Sans', sans-serif;
}
.ufs-page { padding-top: 118px; }
.ufs-page .page-container { background: #f5f5f5; }
.ufs-is-inner .page-content { background: #f5f5f5; padding: 40px 0 50px; min-height: 0; }
.ufs-wrap { max-width: 1400px; margin: 0 auto; padding: 0 30px; }
.ufs-red { color: #DC0A0A; }
.ufs-gold { color: #c99e59; }
.ufs-muted { color: #777; }
.ufs-center { text-align: center; margin-top: 30px; }
.ufs-msgs:empty { display: none; }
.ufs-whatsapp { padding-top: 20px; }

/* flex rows on top of the Bootstrap 3 grid (equal height cards) */
.ufs-row-flex { display: flex; flex-wrap: wrap; }
.ufs-row-flex:before, .ufs-row-flex:after { display: none; }
.ufs-row-centered { justify-content: center; }
.ufs-row-flex > .ufs-col { display: flex; flex-direction: column; margin-bottom: 30px; }
.ufs-row-flex > .ufs-col > * { flex: 1 1 auto; }
.ufs-row-center { display: flex; flex-wrap: wrap; align-items: center; }
.ufs-row-center:before, .ufs-row-center:after { display: none; }

/* ================= BUTTONS ================= */
.ufs-btn, .btn.ufs-btn {
  display: inline-block;
  border: 0;
  border-radius: 0;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.ufs-btn:hover, .ufs-btn:focus { text-decoration: none; }
.ufs-btn-primary, .btn.ufs-btn-primary { background: #DC0A0A; color: #fff; }
.ufs-btn-primary:hover, .btn.ufs-btn-primary:hover,
.ufs-btn-primary:focus, .btn.ufs-btn-primary:focus { background: #000; color: #fff; }
.ufs-btn-dark, .btn.ufs-btn-dark { background: #000; color: #fff; }
.ufs-btn-dark:hover, .btn.ufs-btn-dark:hover,
.ufs-btn-dark:focus, .btn.ufs-btn-dark:focus { background: #cc8d26; color: #fff; }
.ufs-btn-gold, .btn.ufs-btn-gold { background: #c99e59; color: #fff; }
.ufs-btn-gold:hover, .btn.ufs-btn-gold:hover { background: #000; color: #fff; }
.ufs-btn-outline, .btn.ufs-btn-outline { background: #fff; color: #DC0A0A; border: 1px solid #DC0A0A; padding: 13px 24px; }
.ufs-btn-outline:hover, .btn.ufs-btn-outline:hover { background: #DC0A0A; color: #fff; }

.ufs-link { color: #DC0A0A; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-block; }
.ufs-link i { transition: transform .3s ease; margin-left: 4px; }
.ufs-link:hover, .ufs-link:focus { color: #000; text-decoration: none; }
.ufs-link:hover i { transform: translateX(4px); }
.ufs-link-gold { color: #c99e59; }

/* ================= TOP BAR ================= */
.ufs-header-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 10040; }
.ufs-topbar { background: #111; color: #bbb; font-size: 13px; height: 38px; overflow: hidden; transition: margin-top .3s ease; }
.ufs-topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.ufs-topbar a, .ufs-topbar span { color: #bbb; margin-right: 22px; text-decoration: none; white-space: nowrap; }
.ufs-topbar-right a { margin-right: 0; margin-left: 22px; }
.ufs-topbar a:hover { color: #c99e59; text-decoration: none; }
.ufs-topbar i { color: #c99e59; margin-right: 5px; }
.ufs-topbar .ufs-count { background: #DC0A0A; color: #fff; border-radius: 10px; padding: 0 7px; margin: 0 0 0 4px; font-size: 11px; }
.ufs-scrolled .ufs-topbar { margin-top: -38px; }

/* ================= NAVBAR ================= */
.ufs-header { background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); transition: box-shadow .3s ease; }
.ufs-scrolled .ufs-header { box-shadow: 0 6px 25px rgba(0, 0, 0, .12); }
.ufs-header-inner { display: flex; align-items: center; min-height: 80px; }

.ufs-brand { display: flex; align-items: center; text-decoration: none; margin-right: 20px; flex-shrink: 0; }
.ufs-brand:hover, .ufs-brand:focus { text-decoration: none; }
.ufs-brand img { width: 50px; height: auto; }
.ufs-brand-text { margin-left: 10px; color: #111; font-size: 22px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.ufs-brand-l2 { font-weight: 700; }

/* header + top bar span 90% of the viewport */
.ufs-header-wrap .ufs-wrap { width: 90vw; max-width: none; padding-left: 0; padding-right: 0; }
.ufs-nav { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; flex: 1 1 auto; }
.ufs-nav-head, .ufs-nav-mobile-extra { display: none; }
.ufs-nav-dynamic { display: flex; flex-shrink: 0; }
.ufs-header .ufs-nav .nav,
.ufs-header .ufs-nav-dynamic > ul {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ufs-header .ufs-nav .nav:before,
.ufs-header .ufs-nav .nav:after { display: none; }
.ufs-header .ufs-nav .nav > li { position: relative; float: none; display: block; }
.ufs-header .ufs-nav .nav > li.hide { display: none; }
.ufs-header .ufs-nav .nav > li > a,
.ufs-header .ufs-nav .nav > li > a.font-white {
  position: relative;
  display: block;
  padding: 29px 11px 25px;
  color: #333 !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 600 !important;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.ufs-header .ufs-nav .nav > li > a > i { display: none; }
.ufs-header .ufs-nav .nav > li > a > .arrow { display: none; }
.ufs-header .ufs-nav .nav > li.ufs-has-sub > a > .arrow { display: inline-block; margin-left: 4px; }
.ufs-header .ufs-nav .nav > li.ufs-has-sub > a > .arrow:before {
  content: "\f067";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
}
/* underline animation */
.ufs-header .ufs-nav .nav > li > a:after {
  content: '';
  position: absolute;
  left: 11px;
  bottom: 18px;
  width: 0;
  height: 3px;
  background-color: #DC0A0A;
  transition: width .3s ease;
}
.ufs-header .ufs-nav .nav > li:hover > a:after,
.ufs-header .ufs-nav .nav > li.active > a:after { width: calc(100% - 22px); }
.ufs-header .ufs-nav .nav > li:hover > a,
.ufs-header .ufs-nav .nav > li.active > a,
.ufs-header .ufs-nav .nav > li > a:focus { color: #DC0A0A !important; }

/* dropdown - black style */
.ufs-header .ufs-nav .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  float: none;
  margin: 0;
  min-width: 260px;
  padding: 12px 0;
  background-color: #111;
  border: 0;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 1000;
}
.ufs-header .ufs-nav .dropdown-menu:before,
.ufs-header .ufs-nav .dropdown-menu:after { display: none; }
.ufs-header .ufs-nav .nav > li:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ufs-header .ufs-nav .dropdown-menu > li { display: block; float: none; }
.ufs-header .ufs-nav .dropdown-menu > li > a,
.ufs-header .ufs-nav .dropdown-menu > li > a.nav-link {
  position: relative;
  display: block;
  padding: 10px 22px;
  color: #ccc !important;
  background: transparent !important;
  font-size: 14px;
  white-space: normal;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}
.ufs-header .ufs-nav .dropdown-menu > li > a > i { color: #c99e59; margin-right: 6px; font-size: 12px; }
.ufs-header .ufs-nav .dropdown-menu > li > a:after {
  content: '';
  position: absolute;
  left: 22px;
  bottom: 6px;
  width: 0;
  height: 2px;
  background-color: #c99e59;
  transition: width .25s ease;
}
.ufs-header .ufs-nav .dropdown-menu > li > a:hover,
.ufs-header .ufs-nav .dropdown-menu > li.active > a { color: #c99e59 !important; transform: translateX(6px); }
.ufs-header .ufs-nav .dropdown-menu > li > a:hover:after { width: calc(100% - 44px); }

.ufs-nav-cta { margin-left: 18px; flex-shrink: 0; }
.ufs-nav-cta .ufs-btn { padding: 14px 26px; }

/* hamburger */
.ufs-toggler {
  display: none;
  margin-left: auto;
  background: #000;
  border: 0;
  border-radius: 0;
  padding: 11px 10px;
  cursor: pointer;
}
.ufs-toggler span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.ufs-toggler span + span { margin-top: 6px; }

.ufs-backdrop {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 10045;
}

/* ================= PAGE HERO (inner pages) ================= */
.ufs-page-hero {
  background: url(images/ufs/services.jpg) center / cover no-repeat;
  background-attachment: fixed;
}
/* banner image per page (class = ufs-page-hero-{jc}) */
.ufs-page-hero-contact { background-image: url(images/ufs/contact.jpg); }
.ufs-page-hero-packages { background-image: url(images/ufs/packages.jpg); }
.ufs-page-hero-cart,
.ufs-page-hero-checkout,
.ufs-page-hero-order { background-image: url(images/ufs/contract.jpg); }
.ufs-page-hero-obituaries { background-image: url(images/ufs/home1.jpg); }
.ufs-page-hero-overlay {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: rgba(0, 0, 0, .55);
  padding: 50px 0;
}
.ufs-page-hero h1 { color: #fff; font-weight: 700; font-size: 46px; margin: 0 0 12px; }
.ufs-page-hero-crumb { color: rgba(255, 255, 255, .7); font-size: 14px; }
.ufs-page-hero-crumb a { color: #fff; }
.ufs-page-hero-crumb a:hover { color: #c99e59; text-decoration: none; }
.ufs-page-hero-crumb i { margin: 0 8px; color: #c99e59; }

/* ================= HOME: HERO SLIDER ================= */
.ufs-hero { position: relative; background: #000; }
.ufs-hero-carousel,
.ufs-hero-carousel .carousel-inner,
.ufs-hero-carousel .carousel-inner > .item { height: calc(100vh - 118px); min-height: 480px; }
.ufs-hero-carousel .carousel-inner { overflow: hidden; }
.ufs-slide-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 7s ease;
}
.ufs-hero-carousel .item.active .ufs-slide-bg { transform: scale(1.15); }
.ufs-slide1 { background-image: url(images/ufs/slide1.jpg); }
.ufs-slide3 { background-image: url(images/ufs/slide3.jpg); }
.ufs-slide5 { background-image: url(images/ufs/slide5.jpg); }
.ufs-slide6 { background-image: url(images/ufs/slide6.jpg); }
.ufs-slide7 { background-image: url(images/ufs/slide7.jpg); }
.ufs-slide-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, rgba(0, 0, 0, .65), rgba(0, 0, 0, .25));
}
.ufs-slide-overlay .ufs-wrap { width: 100%; }
.ufs-slide-text { max-width: 720px; margin-left: 3vw; color: #fff; }
.ufs-slide-kicker {
  display: inline-block;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 26px;
  padding: 4px 14px;
  margin: 0 0 6px;
}
.ufs-slide-text h1 { color: #fff; font-size: 42px; font-weight: 700; line-height: 1.2; margin: 10px 0 28px; }
.ufs-slide-text > * { opacity: 0; }
.ufs-hero-carousel .item.active .ufs-slide-text > * { animation: ufsFadeUp 1s ease forwards; }
.ufs-hero-carousel .item.active .ufs-slide-text > h1 { animation-delay: .3s; }
.ufs-hero-carousel .item.active .ufs-slide-text > .ufs-btn { animation-delay: .7s; }
@keyframes ufsFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
/* indicators */
.ufs-hero-carousel .carousel-indicators { bottom: 40px; }
.ufs-hero-carousel .carousel-indicators li,
.ufs-hero-carousel .carousel-indicators li.active {
  width: 35px;
  height: 3px;
  margin: 0 3px;
  border: 0;
  border-radius: 2px;
  background-color: #caa45e;
  opacity: .4;
  transition: all .3s ease;
}
.ufs-hero-carousel .carousel-indicators li.active { width: 55px; opacity: 1; }
/* arrows */
.ufs-hero-arrow {
  position: absolute;
  top: 50%;
  width: 55px;
  height: 55px;
  margin-top: -27px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 18px;
  line-height: 55px;
  text-align: center;
  opacity: 0;
  z-index: 15;
  transition: opacity .3s ease, background .3s ease, color .3s ease;
}
.ufs-hero-prev { left: 25px; }
.ufs-hero-next { right: 25px; }
.ufs-hero-carousel:hover .ufs-hero-arrow { opacity: 1; }
.ufs-hero-arrow:hover, .ufs-hero-arrow:focus { background: #DC0A0A; color: #fff; text-decoration: none; }

/* ================= HOME: ABOUT ================= */
.ufs-about { background: #fff; padding: 100px 0; }
.ufs-about-image { max-width: 480px; margin: auto; }
.ufs-about-image img { width: 100%; box-shadow: 0 20px 40px rgba(0, 0, 0, .08); }
.ufs-about-content { padding-left: 40px; }
.ufs-label {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #caa45e;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.ufs-about-title { font-size: 42px; line-height: 1.2; font-weight: 600; margin: 0 0 25px; color: #111; }
.ufs-about-content p { font-size: 15.5px; line-height: 1.8; color: #666; margin-bottom: 20px; max-width: 520px; }
.ufs-progress { max-width: 420px; margin: 30px 0 25px; }
.ufs-progress-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #222; }
.ufs-progress-track { width: 100%; height: 10px; background: #eee; overflow: hidden; }
.ufs-progress-fill { width: 90%; height: 100%; background: #DC0A0A; animation: ufsGrowBar 1.8s ease forwards; }
@keyframes ufsGrowBar {
  from { width: 0; }
  to { width: 90%; }
}

/* ================= PARALLAX BANDS ================= */
.ufs-parallax { background-position: center; background-size: cover; background-attachment: fixed; background-repeat: no-repeat; }
.ufs-parallax-values { background-image: url(images/ufs/home2.jpg); }
.ufs-parallax-mv { background-image: url(images/ufs/home1.jpg); }
.ufs-parallax-overlay {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(0, 0, 0, .5);
  padding: 60px 0;
}
.ufs-parallax-short { min-height: 50vh; }
.ufs-parallax-title { color: #fff; font-weight: 700; font-size: 48px; margin: 0 0 25px; }

.ufs-checklist { list-style: none; padding: 0; margin: 0 0 25px; }
.ufs-checklist li { display: flex; align-items: flex-start; margin-bottom: 14px; font-size: 15px; line-height: 1.6; }
.ufs-checklist li i { color: #DC0A0A; margin: 4px 10px 0 0; flex-shrink: 0; }
.ufs-checklist-light li { color: #fff; }

/* ================= SECTIONS ================= */
.ufs-section { padding: 80px 0 50px; }
.ufs-section-light { background: #f5f5f5; }
.ufs-section-white { background: #fff; }
.ufs-section-head { text-align: center; margin-bottom: 50px; }
.ufs-section-head h2 { font-weight: 700; font-size: 34px; margin: 0 0 12px; color: #111; }
.ufs-section-head p { color: #777; font-size: 15px; margin: 0; }
.ufs-section-head-sm { margin: 50px 0 30px; }

.ufs-c2a { background: #DC0A0A; padding: 40px 0; text-align: center; }
.ufs-c2a h2 { color: #fff; font-weight: 700; margin: 0; font-size: 26px; }
.ufs-c2a h2 a { color: #fff; text-decoration: underline; }
.ufs-c2a-inline { background: #111; padding: 30px; text-align: center; margin: 0 0 30px; }
.ufs-c2a-inline h3 { color: #fff; margin: 0; font-weight: 600; }
.ufs-c2a-inline h3 a { color: #c99e59; }

.ufs-note { background: #fff; border-left: 4px solid #c99e59; padding: 16px 20px; margin: 0 0 30px; color: #555; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.ufs-note i { color: #c99e59; margin-right: 6px; }

.ufs-card { background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); padding: 30px; }

/* ================= OBITUARY CARDS ================= */
.ufs-obit-card { display: flex; background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); transition: transform .3s ease, box-shadow .3s ease; }
.ufs-obit-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0, 0, 0, .1); }
.ufs-obit-img { display: block; flex: 0 0 45%; max-width: 45%; overflow: hidden; }
.ufs-obit-img img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; transition: transform .5s ease; }
.ufs-obit-card:hover .ufs-obit-img img { transform: scale(1.06); }
.ufs-obit-body { flex: 1 1 auto; padding: 16px 16px 14px; display: flex; flex-direction: column; }
.ufs-obit-body h5 { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.ufs-obit-body h5 a { color: #111; }
.ufs-obit-body h5 a:hover { color: #DC0A0A; text-decoration: none; }
.ufs-obit-date { color: #DC0A0A; font-size: 12px; margin: 0 0 8px; }
.ufs-obit-excerpt { color: #777; font-size: 13.5px; line-height: 1.6; margin: 0 0 10px; flex: 1 1 auto; }
.ufs-obit-actions { display: flex; flex-wrap: wrap; justify-content: space-between; }
.ufs-obit-actions .ufs-link { font-size: 13px; margin-top: 4px; }

/* ================= SERVICE CARDS ================= */
.ufs-service-card { background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.ufs-service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0, 0, 0, .1); }
.ufs-service-img { display: block; overflow: hidden; }
.ufs-service-img img { width: 100%; height: 210px; object-fit: cover; transition: transform .5s ease; }
.ufs-service-card:hover .ufs-service-img img { transform: scale(1.06); }
.ufs-service-body { padding: 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.ufs-service-body h5 { font-weight: 700; font-size: 17px; margin: 0 0 10px; color: #111; }
.ufs-service-body h5 i { color: #DC0A0A; margin-right: 4px; }
.ufs-service-body p { color: #777; line-height: 1.7; flex: 1 1 auto; }
.ufs-service-actions { display: flex; flex-wrap: wrap; justify-content: space-between; }

/* ================= PRICING / PACKAGE CARDS ================= */
.ufs-price-card { position: relative; background: #fff; border: 2px solid #eee; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ufs-price-card:hover { transform: translateY(-6px); box-shadow: 0 12px 25px rgba(0, 0, 0, .1); }
.ufs-price-card.is-featured { border-color: #DC0A0A; box-shadow: 0 15px 30px rgba(220, 10, 10, .12); }
.ufs-price-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: #c99e59; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 5px 12px; }
.ufs-price-img { display: block; overflow: hidden; }
.ufs-price-img img { width: 100%; height: 200px; object-fit: cover; }
.ufs-price-body { padding: 22px 22px 10px; text-align: center; flex: 1 1 auto; }
.ufs-price-body h5 { font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.ufs-price-body h5 a { color: #111; }
.ufs-price-body h5 a:hover { color: #DC0A0A; text-decoration: none; }
.ufs-price-amount { color: #DC0A0A; font-weight: 700; font-size: 24px; margin: 6px 0 14px; }
.ufs-price-amount small { color: #888; font-size: 13px; font-weight: 600; }
.ufs-price-desc { color: #777; font-size: 14px; line-height: 1.7; text-align: left; }
.ufs-price-desc ul { padding-left: 0; list-style: none; }
.ufs-price-desc ul li:before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #DC0A0A; margin-right: 8px; font-size: 12px; }
.ufs-price-actions { display: flex; padding: 0 22px 22px; }
.ufs-price-actions .ufs-btn { flex: 1 1 50%; padding: 11px 8px; font-size: 13px; }
.ufs-price-actions .ufs-btn + .ufs-btn { margin-left: 8px; }

/* ================= WHY CHOOSE US ================= */
.ufs-why { padding: 100px 0 70px; background: #f5f5f5; }
.ufs-why-text { padding-right: 40px; }
.ufs-why-text h1 { font-size: 40px; margin: 0 0 30px; color: #111; }
.ufs-why-item { border-bottom: 1px solid #e3e3e3; padding: 0 0 14px; margin-bottom: 18px; }
.ufs-why-item:last-child { border-bottom: 0; }
.ufs-why-item h5 { font-weight: 700; font-size: 17px; margin: 0 0 8px; color: #111; }
.ufs-why-item h5 i { color: #DC0A0A; margin-right: 8px; }
.ufs-why-item p { color: #666; margin: 0 0 0 26px; line-height: 1.7; }
.ufs-why-images { display: flex; justify-content: space-between; }
.ufs-why-images img { width: 48.5%; height: 300px; object-fit: cover; border-radius: 4px; }
.ufs-why-panel {
  position: relative;
  margin: -90px 40px 0;
  padding: 40px;
  border-radius: 4px;
  background: #111 url(images/ufs/pattern-dark.jpg) center / cover no-repeat;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}
.ufs-why-panel-kicker { color: #c99e59; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 4px; }
.ufs-why-panel h3 { color: #fff; margin: 0 0 20px; }
.ufs-why-panel .ufs-checklist { margin: 0; }

/* ================= MISSION & VISION ================= */
.ufs-mv { padding-bottom: 60px; background: #f5f5f5; }
.ufs-mv-cards { margin-top: -100px; position: relative; padding: 0 60px; }
.ufs-mv-card { background: #fff; padding: 45px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.ufs-mv-card h3 { font-weight: 700; margin: 0 0 15px; }
.ufs-mv-card p { color: #666; line-height: 1.8; margin: 0; }

/* ================= BLOG / NEWS CARDS ================= */
.ufs-blog-card { background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); text-align: center; display: flex; flex-direction: column; }
.ufs-blog-img { position: relative; }
.ufs-blog-img img { width: 100%; height: 220px; object-fit: cover; }
.ufs-blog-meta {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #DC0A0A;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  white-space: nowrap;
}
.ufs-blog-body { padding: 35px 22px 10px; flex: 1 1 auto; }
.ufs-blog-body h5 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.ufs-blog-body h5 a { color: #111; }
.ufs-blog-body h5 a:hover { color: #DC0A0A; text-decoration: none; }
.ufs-blog-body p { color: #777; }
.ufs-blog-foot { padding: 0 22px 22px; }

/* ================= TESTIMONIALS ================= */
.ufs-testimonial-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 15px rgba(0, 0, 0, .07); padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ufs-quote-icon { color: #c99e59; font-size: 34px; margin-bottom: 15px; }
.ufs-testimonial-msg { color: #777; font-style: italic; line-height: 1.8; margin-bottom: 22px; flex: 1 1 auto; }
.ufs-testimonial-avatar { width: 70px; height: 70px; border-radius: 50%; background: #f5f5f5; color: #c99e59; font-size: 28px; line-height: 70px; margin-bottom: 12px; }
.ufs-testimonial-card h6 { font-weight: 600; font-size: 15px; margin: 0 0 10px; color: #111; }

/* ================= PARTNERS ================= */
.ufs-partners { background: #fff; padding-bottom: 60px; }

/* ================= CONTACT PAGE ================= */
.ufs-contact .form-control { border-radius: 0; height: 48px; border-color: #e1e1e1; box-shadow: none; }
.ufs-contact textarea.form-control { height: auto; }
.ufs-contact .form-control:focus { border-color: #DC0A0A; }
.ufs-contact-form h4, .ufs-contact-info h4 { font-weight: 700; margin: 0 0 15px; }
.ufs-contact-info {
  color: #fff;
  padding: 40px;
  padding-top: 120px;
  background: #111 url(images/ufs/pattern-main.jpg) center / cover no-repeat;
}
.ufs-contact-info h4 { color: #fff; }
.ufs-contact-info p { margin-bottom: 12px; color: #eee; }
.ufs-contact-info p i { color: #c99e59; width: 22px; }
.ufs-contact-info a { color: #fff; }
.ufs-contact-info a:hover { color: #c99e59; text-decoration: none; }
.ufs-contact-info hr { border-color: rgba(255, 255, 255, .2); }
.ufs-branch-card { background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); display: flex; flex-direction: column; }
.ufs-branch-img img { width: 100%; height: 200px; object-fit: cover; }
.ufs-branch-body { padding: 20px; flex: 1 1 auto; }
.ufs-branch-body h5 { font-weight: 700; font-size: 17px; text-transform: uppercase; margin: 0 0 12px; }
.ufs-branch-body ul { list-style: none; padding: 0; margin: 0 0 14px; color: #666; }
.ufs-branch-body ul li { margin-bottom: 6px; }
.ufs-branch-body ul li i { color: #DC0A0A; width: 20px; }
.ufs-map-wrap { margin: 20px 0 50px; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); background: #fff; }
.ufs-cta-card { background: #fff; padding: 35px; box-shadow: 0 2px 15px rgba(0, 0, 0, .06); }
.ufs-cta-card h3 { font-weight: 700; margin: 0 0 15px; }
.ufs-cta-card .input-group { margin-bottom: 15px; }
.ufs-cta-card .form-control { border-radius: 0; }
.ufs-cta-card .input-group-btn .ufs-btn { padding: 10px 24px; height: 46px; }
.ufs-cta-dark { background: #111 url(images/ufs/pattern-dark.jpg) center / cover no-repeat; color: #ddd; }
.ufs-cta-dark h3 { color: #fff; }

/* ================= SOCIAL ================= */
.ufs-social { margin-top: 18px; }
.ufs-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 8px 8px 0;
  border: 1px solid #333;
  border-radius: 50%;
  color: #c99e59;
  text-decoration: none;
  transition: all .3s ease;
}
.ufs-social a:hover { background: #c99e59; color: #000; text-decoration: none; }

/* ================= FOOTER ================= */
.ufs-footer { background: linear-gradient(180deg, #0b0b0b, #000); color: #bbb; font-size: 14px; padding-top: 60px; }
.ufs-footer-col { margin-bottom: 30px; }
.ufs-footer-brand { color: #c99e59; font-weight: 700; margin: 0 0 15px; }
.ufs-footer-desc { color: #bbb; line-height: 1.7; }
.ufs-footer-title { color: #c99e59; font-weight: 600; font-size: 15px; margin: 0 0 15px; }
.ufs-footer-title:after { content: ''; display: block; width: 40px; height: 2px; background: #c99e59; margin-top: 8px; }
.ufs-footer-links { list-style: none; padding: 0; margin: 0; }
.ufs-footer-links li { margin-bottom: 10px; }
.ufs-footer-links a { color: #bbb; text-decoration: none; transition: all .25s ease; }
.ufs-footer-links a:hover { color: #c99e59; padding-left: 5px; text-decoration: none; }
.ufs-small { color: #aaa; font-size: 13px; margin: 0 0 6px; }
.ufs-small a { color: #aaa; }
.ufs-small a:hover { color: #c99e59; text-decoration: none; }
.ufs-footer-divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .1); margin: 20px 0; }
.ufs-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-bottom: 20px; }
.ufs-theme .scroll-to-top { color: #DC0A0A; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1500px) {
  .ufs-brand-text { font-size: 17px; text-transform: uppercase; }
  .ufs-brand-l1, .ufs-brand-l2 { display: block; }
  .ufs-brand-l2 { font-weight: 400; letter-spacing: 6px; font-size: 13px; }
  .ufs-header .ufs-nav .nav > li > a { padding-left: 9px; padding-right: 9px; }
  .ufs-header .ufs-nav .nav > li > a:after { left: 9px; }
  .ufs-header .ufs-nav .nav > li:hover > a:after,
  .ufs-header .ufs-nav .nav > li.active > a:after { width: calc(100% - 18px); }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .ufs-brand-text { display: none; }
}
@media (max-width: 1199px) {
  .ufs-header .ufs-nav .nav > li > a { padding-left: 8px; padding-right: 8px; font-size: 12px; }
  .ufs-header .ufs-nav .nav > li > a:after { left: 8px; }
  .ufs-nav-cta { margin-left: 10px; }
  .ufs-nav-cta .ufs-btn { padding: 12px 16px; }
  .ufs-brand { margin-right: 10px; }
  .ufs-brand img { width: 42px; }
}

/* mobile drawer menu (matches the Vue < 992px behaviour) */
@media (max-width: 991px) {
  .ufs-page { padding-top: 70px; }
  .ufs-topbar { display: none; }
  .ufs-header-wrap .ufs-wrap { width: auto; }
  .ufs-header-inner { min-height: 70px; padding-left: 15px; padding-right: 15px; }
  .ufs-brand-text { font-size: 16px; text-transform: uppercase; }
  .ufs-brand-l1, .ufs-brand-l2 { display: block; }
  .ufs-brand-l2 { font-weight: 400; letter-spacing: 6px; font-size: 14px; }
  .ufs-toggler { display: block; }

  .ufs-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 95%;
    max-width: 420px;
    height: 100vh;
    padding: 25px 25px 40px;
    background: #000;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    z-index: 10050;
    transition: right .35s ease;
  }
  .ufs-nav-open .ufs-nav { right: 0; }
  .ufs-nav-open .ufs-backdrop { display: block; }
  .ufs-nav-open { overflow: hidden; }

  .ufs-nav-head { display: flex; justify-content: space-between; align-items: center; color: #fff; margin-bottom: 25px; font-size: 18px; font-weight: 600; }
  .ufs-nav-close { background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
  .ufs-nav-dynamic { display: block; }
  .ufs-header .ufs-nav .nav,
  .ufs-header .ufs-nav-dynamic > ul { display: block; }
  .ufs-header .ufs-nav .nav > li > a,
  .ufs-header .ufs-nav .nav > li > a.font-white {
    color: #fff !important;
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    white-space: normal;
  }
  .ufs-header .ufs-nav .nav > li > a:after { display: none; }
  .ufs-header .ufs-nav .nav > li.ufs-has-sub > a > .arrow { float: right; }
  .ufs-header .ufs-nav .nav > li.ufs-open > a > .arrow:before { content: "\f068"; }
  .ufs-header .ufs-nav .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 6px 0 10px 12px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .ufs-header .ufs-nav .nav > li:hover > .dropdown-menu { transform: none; }
  .ufs-header .ufs-nav .nav > li.ufs-open > .dropdown-menu { display: block; }
  .ufs-nav-cta { margin: 25px 0 0; }
  .ufs-nav-cta .ufs-btn { display: block; }
  .ufs-nav-mobile-extra { display: block; margin-top: 25px; }
  .ufs-nav-mobile-extra a { display: block; color: #bbb; padding: 8px 0; }
  .ufs-nav-mobile-extra a i { color: #c99e59; width: 22px; }

  .ufs-hero-carousel,
  .ufs-hero-carousel .carousel-inner,
  .ufs-hero-carousel .carousel-inner > .item { height: 80vh; min-height: 420px; }

  .ufs-about-content { padding-left: 15px; margin-top: 40px; }
  .ufs-why-text { padding-right: 15px; margin-bottom: 40px; }
  .ufs-mv-cards { padding: 0 15px; }
  .ufs-mv-cards .ufs-col + .ufs-col { margin-top: 0; }
}

@media (max-width: 767px) {
  .ufs-page-hero { background-attachment: scroll; }
  .ufs-parallax { background-attachment: scroll; }
  .ufs-page-hero-overlay { min-height: 200px; }
  .ufs-page-hero h1 { font-size: 30px; }
  .ufs-slide-text { margin-left: 0; }
  .ufs-slide-kicker { font-size: 16px; }
  .ufs-slide-text h1 { font-size: 26px; }
  .ufs-hero-arrow { display: none; }
  .ufs-about { padding: 70px 0; }
  .ufs-about-title { font-size: 30px; }
  .ufs-parallax-title { font-size: 32px; }
  .ufs-section { padding: 60px 0 30px; }
  .ufs-section-head h2 { font-size: 28px; }
  .ufs-why { padding: 70px 0 50px; }
  .ufs-why-text h1 { font-size: 32px; }
  .ufs-why-images img { height: 200px; }
  .ufs-why-panel { margin: -50px 10px 0; padding: 28px; }
  .ufs-mv-card { padding: 30px; }
  .ufs-obit-card { flex-direction: column; }
  .ufs-obit-img { flex: 0 0 auto; max-width: 100%; }
  .ufs-obit-img img { height: 220px; }
  .ufs-contact-info { padding-top: 40px; }
  .ufs-footer-bottom { display: block; text-align: center; }
}
