/* Doccure home-16 overrides — must load after /style/css/style.css */

.theme-16 {
  --primary: #2D5E47;
  --primary-100: #D4A57433;
  --primary-200: #13452D;
  --primary-300: #56806C;
  --primary-400: #728B7F;
  --primary-500: #F4F6F81A;
  --secondary: #D4A574;
  --primary-gradient: linear-gradient(90deg, #2D5E47 0%, #D4A574 100%);
  --primary-gradient-100: linear-gradient(90deg, #2D5E47 0%, #A29067 100%);
  --secondary-gradient: linear-gradient(360deg, #2D5E47 0%, #002B17 100%);
  --linear-gradient: linear-gradient(90deg, #143C29 0%, rgba(33, 93, 65, 0.5) 50%, #143E2B 100%);
  --light-100: #FFFFFF66;
  --light-200: #FFFFFF1A;
  --light-500: #FFFFFF0D;
  --light-600: #FFFFFF33;
  --light-700: #FFF5EA;
  --light-800: #F4F6F8;
}

/* Persistent shell: header is outside hero markup — keep it fixed over the banner. */
header.fixed.header-sixteen,
header.header-sixteen.fixed,
.header.header-sixteen.fixed {
  transition: none !important;
  animation: none !important;
}

.home-sixteen-home-route {
  position: relative;
}

/* Full viewport width — never paint white only on the inner .container / .header-nav. */
.home-sixteen-home-route .header-sixteen {
  position: relative;
  isolation: isolate;
  background: transparent;
}

.home-sixteen-home-route .header-sixteen.header-sixteen--pinned,
.home-sixteen-home-route .header-sixteen.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 111;
}

.home-sixteen-home-route .header-sixteen::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.home-sixteen-home-route .header-sixteen .container {
  position: relative;
  z-index: 1;
}

.home-sixteen-home-route .header-sixteen .header-nav {
  background: transparent !important;
}

/* Scroll sentinel: when this leaves the viewport, header switches to white bar. */
.home16-header-scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 72px;
  pointer-events: none;
  visibility: hidden;
}

@supports not (animation-timeline: scroll()) {
  .home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed)::before {
    background: transparent !important;
    box-shadow: none !important;
  }

  .home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed) .header-nav .main-nav {
    background: var(--light-500) !important;
  }

  .home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed) .header-nav .main-nav > li > a {
    color: #fff !important;
  }

  .home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed) .header-nav .main-nav > li.active > a,
  .home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed) .header-nav .main-nav > li > a:hover {
    color: var(--secondary) !important;
  }
}

/* Scroll-linked full-width white bar (header ::before, not inner nav). */
@supports (animation-timeline: scroll()) {
  @keyframes home16-header-surface {
    0% {
      background-color: transparent;
      box-shadow: none;
    }
    100% {
      background-color: #fff;
      box-shadow: 0 4px 34px rgba(206, 206, 206, 0.25);
    }
  }

  @keyframes home16-header-nav-link {
    0% {
      color: #fff;
    }
    100% {
      color: var(--gray-900);
    }
  }

  @keyframes home16-header-nav-pill {
    0% {
      background: var(--light-500);
    }
    100% {
      background: transparent;
    }
  }

  .home-sixteen-home-route .header-sixteen.header-sixteen--pinned:not(.fixed)::before {
    animation: home16-header-surface linear both;
    animation-timeline: scroll();
    animation-range: 0 72px;
  }

  .home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed) .header-nav .main-nav {
    animation: home16-header-nav-pill linear both;
    animation-timeline: scroll();
    animation-range: 0 72px;
  }

  .home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed) .header-nav .main-nav > li > a {
    animation: home16-header-nav-link linear both;
    animation-timeline: scroll();
    animation-range: 0 72px;
  }
}

/* Scrolled + inner pages: solid full-width white sticky bar. */
.home-sixteen-home-route .header-sixteen.fixed::before,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"]::before,
.home-sixteen-inner-shell .header-sixteen::before {
  background: #fff !important;
  box-shadow: 0 4px 34px rgba(206, 206, 206, 0.25) !important;
}

.home-sixteen-home-route .header-sixteen.fixed,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"],
.home-sixteen-inner-shell .header-sixteen.fixed,
.home-sixteen-inner-shell .header-sixteen {
  background: transparent !important;
}

.home-sixteen-home-route .header-sixteen.fixed .header-nav .main-nav,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"] .header-nav .main-nav,
.home-sixteen-inner-shell .header-sixteen .header-nav .main-nav {
  background: transparent !important;
}

.home-sixteen-home-route .header-sixteen.fixed .header-nav .main-nav > li > a,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"] .header-nav .main-nav > li > a,
.home-sixteen-inner-shell .header-sixteen .header-nav .main-nav > li > a {
  color: var(--gray-900) !important;
}

.home-sixteen-home-route .header-sixteen.fixed .header-nav .main-nav > li.active > a,
.home-sixteen-home-route .header-sixteen.fixed .header-nav .main-nav > li > a:hover,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"] .header-nav .main-nav > li.active > a,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"] .header-nav .main-nav > li > a:hover,
.home-sixteen-inner-shell .header-sixteen .header-nav .main-nav > li.active > a,
.home-sixteen-inner-shell .header-sixteen .header-nav .main-nav > li > a:hover {
  color: var(--primary) !important;
}

.home-sixteen-home-route .header-sixteen.fixed #mobile_btn,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"] #mobile_btn,
.home-sixteen-inner-shell .header-sixteen #mobile_btn {
  color: var(--gray-900) !important;
}

.home-sixteen-home-route .hero-section-sixteen {
  padding-top: 85px;
}

/* Demo-16 keeps header in-flow inside .hero-section-sixteen; our shell uses a fixed
   header outside the hero, so the bottom-anchored .banner-img must not paint into
   the header band (was overlapping at ~65px vs header bottom ~85px). */
.home-sixteen-home-route .hero-section-sixteen .banner-img {
  top: 130px;
  bottom: 0;
  height: auto;
  max-height: calc(100% - 130px);
  object-fit: contain;
  object-position: bottom center;
}

@media (max-width: 1399.98px) {
  .home-sixteen-home-route .hero-section-sixteen .banner-img {
    top: 120px;
    max-height: calc(100% - 120px);
  }
}

@media (max-width: 1199.98px) {
  .home-sixteen-home-route .hero-section-sixteen .banner-img {
    top: 110px;
    max-height: calc(100% - 110px);
  }
}

@media (max-width: 991.98px) {
  .home-sixteen-home-route .hero-section-sixteen {
    padding-top: 60px;
  }

  .home-sixteen-home-route .hero-section-sixteen .banner-img {
    top: auto;
    max-height: none;
    object-fit: unset;
    object-position: unset;
  }
}

/* RTL: flip food capsule graphic (banner-18) and move it to the left. */
html[dir="rtl"] .banner-section-sixteen .element-one {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

.home-sixteen-inner-shell .home-sixteen-inner-main {
  padding-top: 76px;
}

@media (max-width: 991.98px) {
  .home-sixteen-inner-shell .home-sixteen-inner-main {
    padding-top: 60px;
  }
}

.header-sixteen .header-nav {
  align-items: center;
}

.header-sixteen .header-nav .navbar-header,
.header-sixteen .header-nav .header-navbar-rht {
  align-self: center;
}

.header-sixteen .header-nav .navbar-header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.header-sixteen .home16-mobile-menu-actions {
  display: none;
}

@media (min-width: 992px) {
  .header-sixteen .header-nav .main-menu-wrapper {
    display: flex;
    align-items: center;
    align-self: center;
    flex: 1 1 auto;
    justify-content: center;
  }

  .header-sixteen .header-nav .main-nav {
    align-self: center;
  }
}

@media (max-width: 991.98px) {
  .header-sixteen .header-nav {
    flex-wrap: nowrap;
    min-height: 60px;
    height: 60px;
  }

  .header-sixteen .header-nav .navbar-header {
    width: 100% !important;
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 8px;
    /* Mirror demo header-16 mobile: logo on the right, menu on the left (RTL-safe). */
    flex-direction: row-reverse;
  }

  .header-sixteen .header-nav .navbar-header #mobile_btn {
    margin: 0 !important;
    flex-shrink: 0;
  }

  .header-sixteen .header-nav .navbar-header .logo,
  .header-sixteen .header-nav .navbar-header .navbar-brand.logo {
    margin-inline: 0 !important;
    width: 88px !important;
    max-width: 88px !important;
    flex: 0 0 88px !important;
  }

  .header-sixteen .header-nav .header-navbar-rht {
    display: none !important;
  }

  .header-sixteen .header-nav .main-menu-wrapper {
    display: block;
    flex: none;
    align-items: stretch;
    width: min(360px, 86vw);
    height: 100vh !important;
    max-height: 100dvh;
    top: 0 !important;
    bottom: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  }

  .header-sixteen .header-nav .main-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .header-sixteen .header-nav .main-nav > li {
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-sixteen .header-nav .main-nav > li > a {
    display: flex;
    width: 100%;
    padding: 14px 0 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: var(--gray-900) !important;
  }

  .header-sixteen .home16-mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 20px 28px;
  }

  .header-sixteen .home16-mobile-menu-actions .home16-mobile-menu-cta {
    justify-content: center;
    width: 100%;
  }
}

.home-sixteen .sidebar-overlay {
  z-index: 100;
  border: 0;
  padding: 0;
  cursor: pointer;
  appearance: none;
  background-color: rgba(0, 0, 0, 0.6);
}

.home-sixteen .sidebar-overlay:not(.opened) {
  display: none !important;
  pointer-events: none !important;
}

/* script.js appends this on body; it is not inside .home-sixteen so the rule
   above never applies. Hide it — Home16TopNav owns the overlay. */
body > .sidebar-overlay {
  display: none !important;
  pointer-events: none !important;
}

@media (min-width: 992px) {
  .home-sixteen .sidebar-overlay {
    display: none !important;
    pointer-events: none !important;
  }
}

html[dir="rtl"] .header-sixteen .header-nav .main-menu-wrapper {
  text-align: right;
}

@media (max-width: 991.98px) {
  html[dir="rtl"] .header-sixteen .header-nav .main-menu-wrapper {
    left: auto;
    right: 0;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
  }

  html[dir="rtl"] .menu-opned .header-sixteen .header-nav .main-menu-wrapper,
  html[dir="rtl"] .menu-opened .header-sixteen .header-nav .main-menu-wrapper {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
  }

  html:not([dir="rtl"]) .header-sixteen .header-nav .main-menu-wrapper {
    left: 0;
    right: auto;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
  }

  html:not([dir="rtl"]) .menu-opned .header-sixteen .header-nav .main-menu-wrapper,
  html:not([dir="rtl"]) .menu-opened .header-sixteen .header-nav .main-menu-wrapper {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
  }
}

.menu-opned .main-menu-wrapper,
.menu-opened .main-menu-wrapper {
  transform: translateX(0) !important;
  -webkit-transform: translateX(0) !important;
}

html.menu-opned,
html.menu-opened,
html.menu-opned body,
html.menu-opened body {
  overflow: hidden;
}

html.menu-opned .comm-widget,
html.menu-opened .comm-widget {
  visibility: hidden !important;
  pointer-events: none !important;
}

.header-sixteen .header-nav .logo {
  display: inline-flex;
  align-items: center;
  width: 88px;
  flex: 0 0 88px;
  margin-left: 0;
  margin-right: unset;
  padding: 0;
}

@media (max-width: 575.98px) {
  .header-sixteen .header-nav .logo,
  header.header-sixteen .header-nav .logo {
    width: 88px !important;
    max-width: 88px !important;
    flex: 0 0 88px;
  }
}

.header-sixteen .header-nav .home16-header-logo,
.header-sixteen .header-nav .home16-header-logo svg {
  display: block;
  width: 88px !important;
  max-width: 88px !important;
  height: auto !important;
}

.header-sixteen .header-nav .logo .tenant-inline-svg-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  max-width: 88px;
  line-height: 0;
}

.header-sixteen .header-nav .logo img,
.header-sixteen .header-nav .logo .tenant-inline-svg-logo svg {
  display: block;
  width: 88px !important;
  max-width: 88px !important;
  height: auto !important;
}

.tenant-inline-svg-logo {
  display: inline-flex;
  line-height: 0;
}

.header-sixteen .menu-header .tenant-inline-svg-logo,
.header-sixteen .menu-header .tenant-inline-svg-logo svg {
  width: 72px;
  max-width: 72px;
  height: auto;
}

/* Tenant SVG logos: light variant on hero, dark variant when header is pinned/scrolled. */
.home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed):not([data-scrolled="true"]) .navbar-brand .white-logo {
  display: inline-flex;
}

.home-sixteen-home-route .header-sixteen.header-sixteen--over-hero:not(.fixed):not([data-scrolled="true"]) .navbar-brand .normal-logo {
  display: none;
}

.home-sixteen-home-route .header-sixteen.fixed .navbar-brand .white-logo,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"] .navbar-brand .white-logo,
.home-sixteen-inner-shell .header-sixteen .navbar-brand .white-logo {
  display: none;
}

.home-sixteen-home-route .header-sixteen.fixed .navbar-brand .normal-logo,
.home-sixteen-home-route .header-sixteen[data-scrolled="true"] .navbar-brand .normal-logo,
.home-sixteen-inner-shell .header-sixteen .navbar-brand .normal-logo {
  display: inline-flex;
}

.header-sixteen .header-nav .header-navbar-rht {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: unset;
}

html[dir="rtl"] .header-sixteen .header-nav .header-navbar-rht {
  margin-left: unset;
  margin-right: auto;
}

html[dir="rtl"] .header-sixteen .header-nav .main-nav {
  text-align: right;
}

.services-nav-sixteen .services-link-sixteen {
  border: none;
  background: transparent;
  width: 100%;
  text-align: inherit;
  padding: 0;
  cursor: pointer;
}

.services-nav-sixteen .services-link-sixteen:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.services-section-sixteen .services-link-sixteen {
  margin-bottom: 30px;
}

.services-section-sixteen .services-link-sixteen .description {
  margin-bottom: 15px;
}

/* RTL: mirror demo overlay CTA from top-right to top-left. */
html[dir="rtl"] .services-item-sixteen .services-overlay .services-icon {
  left: 16px;
  right: auto;
}

.footer-sixteen .footer-logo img,
.footer-sixteen .footer-logo .home16-footer-logo,
.footer-sixteen .footer-logo .home16-footer-logo svg,
.footer-sixteen .footer-logo .tenant-inline-svg-logo svg {
  height: 28px;
  width: auto;
}

.footer-sixteen .footer-widget .footer-title::before {
  content: "";
  background: var(--secondary);
  width: 40px;
  height: 1px;
  position: absolute;
  bottom: 20px;
  right: 0;
}

html[dir="ltr"] .footer-sixteen .footer-widget .footer-title::before {
  right: auto;
  left: 0;
}

.banner-section-sixteen .banner-content .title {
  font-size: 128px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 18px;
  font-style: normal;
}

@media (max-width: 991.98px) {
  .banner-section-sixteen .banner-content .title {
    font-size: 60px;
  }
}

.banner-section-sixteen .banner-content .title span {
  font-style: normal;
}

/* Home-16: no italic accents anywhere on the template. */
.main-wrapper.home-sixteen *:not(.fa):not(.fas):not(.far):not(.fab):not(.isax) {
  font-style: normal !important;
}

/* theme-16 CTA: no goo bubbles — simple hover fill. */
.theme-16-btn .buble,
.theme-16-btn .theme-16-btn-goo {
  display: none !important;
}

.theme-16-btn:hover {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #fff !important;
}

/* RTL: keep demo icon; flip so forward arrow points left. */
html[dir="rtl"] .theme-16-btn .isax-arrow-right-25 {
  transform: scaleX(-1);
  display: inline-block;
}

/* Demo: company logos sit between video and testimonials (pt-0 on testimonials).
   Nutrition config omits company — restore standard section top padding. */
.home-sixteen-home-route .video-section-sixteen + .testimonials-widget--doccure-home-16.testimonial-section-sixteen {
  padding-top: 80px !important;
}

.home-sixteen-home-route .company-section-sixteen + .testimonials-widget--doccure-home-16.testimonial-section-sixteen {
  padding-top: 0 !important;
}

@media (max-width: 991.98px) {
  .home-sixteen-home-route .video-section-sixteen + .testimonials-widget--doccure-home-16.testimonial-section-sixteen {
    padding-top: 50px !important;
  }
}

/* Blog card bottom accent — primary→secondary gradient bar; demo shows only on hover. */
.blog-section-sixteen .blog-row-sixteen > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.blog-section-sixteen .blog-row-sixteen .blog-item-sixteen {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-section-sixteen .blog-row-sixteen .blog-item-sixteen .blog-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.blog-section-sixteen .blog-row-sixteen .blog-item-sixteen .blog-content .blog-info {
  flex: 1 1 auto;
}

.blog-section-sixteen .blog-row-sixteen .blog-item-sixteen .blog-content .blog-info .custom-title {
  min-height: calc(2 * 1.4 * 24px);
}

.blog-section-sixteen .blog-row-sixteen .blog-item-sixteen .blog-content .blog-info .desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-section-sixteen .blog-row-sixteen .blog-item-sixteen .blog-content .blog-author {
  margin-top: auto;
}

.blog-section-sixteen .blog-row-sixteen > [class*="col-"]::before {
  opacity: 0;
  visibility: hidden;
}

.blog-section-sixteen .blog-row-sixteen > [class*="col-"]:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: -1px;
}

@media (max-width: 1399.98px) {
  .blog-section-sixteen .blog-row-sixteen > [class*="col-"]:hover::before {
    bottom: 2px;
  }
}

@media (max-width: 575.98px) {
  .testimonial-slider-sixteen .testimonial-content-wrap .testimonial-content .testimonial-author .quatation-icon {
    right: auto;
    left: 20px;
  }
}
