/* .montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

/* .nunito-<uniquifier> {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */
:root {
    --lqd-color-primary: #003E82;
    --lqd-color-secondary: #F68030;
    --lqd-color-tertiary: #003E82;
    --lqd-color-fourth: #FF9852;
    --lqd-color-fifth: #4E647C;
    --lqd-color-sixth: #F2F4F7;
    --lqd-color-seventh: #FF7100;
    --lqd-color-link: #5b7bfb;
    --lqd-color-link-hover: #181b31;
    --lqd-color-gradient-start: #007fff;
    --lqd-color-gradient-stop: #ff4d54;
    --lqd-container-width: 1366px;
    --lqd-row-gutter-x: 30px;
    --lqd-row-gutter-y: 0;
    /* --lqd-body-font-family: 'Rubik', sans-serif; */
    --lqd-body-font-family: 'Nunito', sans-serif;
    --lqd-body-font-size: 18px;
    --lqd-body-line-height: 1.7;
    --lqd-body-font-weight: 400;
    --lqd-body-letter-spacing: ;
    --lqd-body-text-color: #626974;
    --lqd-secondary-font-family: 'Nunito', sans-serif;
    --lqd-secondary-font-size: ;
    --lqd-secondary-line-height: ;
    --lqd-secondary-font-weight: ;
    --lqd-secondary-text-color: ;
    --lqd-accent-font-family: 'Montserrat', sans-serif;
    --lqd-accent-font-size: ;
    --lqd-accent-line-height: ;
    --lqd-accent-font-weight: ;
    --lqd-accent-text-color: ;
    --lqd-heading-font-family: 'Montserrat', sans-serif;
    --lqd-heading-line-height: 1.2em;
    --lqd-heading-font-weight: 600;
    --lqd-heading-text-transform: ;
    --lqd-heading-letter-spacing: ;
    --lqd-heading-color: var(--lqd-color-primary);
    --lqd-heading-color-span: var(--lqd-color-secondary);
    --lqd-sticky-header-height: 0px;
    --lqd-sticky-header-sentinel-top: 100%;
    --lqd-sticky-header-placeholder-height: 80px;
    --lqd-snickersbar-animation-time: 1.2s;
    --lqd-snickersbar-stay-time: 4s;
    --lqd-cc-bc: var(--lqd-color-primary);
    --lqd-cc-bg: var(--lqd-color-primary);
    --lqd-cc-size-outer: 35px;
    --lqd-cc-size-inner: 7px;
    --lqd-cc-bw: 1px;
    --lqd-cc-br: calc(var(--lqd-cc-size-outer) / 2);
    --lqd-cc-active-bc: var(--lqd-color-primary);
    --lqd-cc-active-bg: var(--lqd-color-primary);
    --lqd-cc-active-bw: 1px;
    --lqd-cc-active-circle-color: #fff;
    --lqd-cc-active-circle-txt: #000;
    --lqd-cc-active-arrow-color: #fff;
    --lqd-z-index: 20;
    --lqd-top-scroll-ind-height: 0
}
/* header */
html{
  scroll-behavior: smooth;
  /* Use auto instead of scroll to avoid double scrollbar with nested scroll containers */
  overflow-y: auto;
  overflow-x: hidden;
  /* Offset anchor scroll so fixed header doesn't hide section titles */
  scroll-padding-top: 100px;
}
/* Condition panels: scroll-margin so anchored sections (e.g. #neck-pain) aren't hidden under fixed header */
.condition-content {
  scroll-margin-top: 100px;
}
body
{
  margin: 0;
  padding: 0;
  color: #4E647C;
  overflow-x: hidden;
}
/* Prevent Bootstrap modals from adding extra right padding
   (which causes a horizontal "jump" when popups open/close). */
body.modal-open {
  padding-right: 0 !important;
}

/* Fix double scrollbar: override theme's body overflow:hidden so page scrolls normally */
@media screen and (max-width: 879px) {
  body {
    overflow: visible !important;
  }
}

/* Prevent nested scroll containers - single scroll on html/body only */
#wrap,
.main {
  overflow: visible !important;
}
section{
  padding: 60px 0px;
}
.container{
  max-width: 1366px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
p{
  font-family: var(--lqd-body-font-family);
  line-height: 22px;
  font-size: 18px;
}
h1{
font-family: var(--lqd-heading-font-family) !important;
font-weight: 700 !important;
font-size: 60px !important;
line-height: 70px !important;
/* letter-spacing: 0% !important; */
color: var(--lqd-color-primary) !important; 
margin-bottom: 20px !important;
letter-spacing: 1px;
}
h2{
font-family: var(--lqd-heading-font-family) !important;
font-weight: 600 !important;
font-size: 46px !important;
line-height: 52px !important;
letter-spacing: 1px !important;
color: var(--lqd-color-primary) !important;
}
h3{
font-family: var(--lqd-heading-font-family) !important;
font-weight: 600 !important;
font-size: 24px !important;
line-height: 25px !important;
letter-spacing: 0% !important;
color: var(--lqd-color-primary) !important;
}
h4{
  font-family: var(--lqd-heading-font-family) !important;
font-weight: 600 !important;
font-size: 22px !important;
line-height: 23px !important;
letter-spacing: 0% !important;
color: var(--lqd-color-primary) !important;
}
h5{
  font-family: var(--lqd-heading-font-family) !important;
font-weight: 600 !important;
font-size: 20px !important;
line-height: 21px !important;
letter-spacing: 0% !important;
color: var(--lqd-color-primary) !important;
}
h6{
  font-family: var(--lqd-heading-font-family) !important;
font-weight: 600 !important;
font-size: 16px !important;
line-height: 17px !important;
letter-spacing: 0% !important;
color: var(--lqd-color-primary) !important;
}
.oreange-heading{
  color: var(--lqd-color-fourth) !important;
}
button, .button, .btn{
  font-family: var(--lqd-heading-font-family) !important;
font-weight: 500 !important;
font-size: 16px !important;
line-height: 100% !important;
letter-spacing: 0% !important;
padding: 17px 25px !important;
border: none  !important;
background: linear-gradient(177.09deg, #F68030 2.48%, #DD5E1B 97.66%);
border-radius: 10px;
color:var(--lqd-cc-active-arrow-color);
}
.blue-btn{
  background: linear-gradient(177.38deg, #003E82 2.19%, #002B5B 93.99%);
}
.text-left{
  text-align: left;
}
/* header - fixed at top, full width, white background on scroll */
header {
  width: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  position: fixed;
  top: 0;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.header-scrolled {
  background-color: #ffffff;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08);

}
/* Spacer so content doesn't hide under fixed header */
.main > div:first-child {
  padding-top: 80px;
}
.header-inner {
  padding: 25px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 0.8em;
  color: #f2f2f2;
}
.mobile-menu-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  color: var(--lqd-color-tertiary);
  font-family: var(--lqd-heading-font-family);
  font-weight: 600;
  font-size: 22.15px;
  line-height: 100%;
  letter-spacing: 0%;
  border-radius: 5px;
  cursor: pointer;
}
.nav-menu ul{
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  color: var(--lqd-color-primary);
}
.nav-menu ul li a{
  text-decoration: none;
  color: var(--lqd-color-primary);
  font-family: var(--lqd-heading-font-family);
  font-size: 20px;
}

/* Bubble background animation on hover - 4 main nav links */
/* Organic blob-like bubble expands from below, transitioning to light orange */
.nav-menu .our-story-nav-item > a,
.nav-menu .issues-nav-item > a,
.nav-menu .imotion-way-nav-item > a,
.nav-menu .patient-hub-nav-item > a {
  position: relative;
  overflow: visible;
}
.nav-menu .our-story-nav-item > a::before,
.nav-menu .issues-nav-item > a::before,
.nav-menu .imotion-way-nav-item > a::before,
.nav-menu .patient-hub-nav-item > a::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -4px;
  bottom: -6px;
  background: rgba(255, 200, 160, 0.45);
  border-radius: 12px;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  z-index: -1;
}
.nav-menu .our-story-nav-item:hover > a::before,
.nav-menu .issues-nav-item:hover > a::before,
.nav-menu .imotion-way-nav-item:hover > a::before,
.nav-menu .patient-hub-nav-item:hover > a::before {
  transform: scaleY(1);
}

/* Active nav item: orange text + underline for current route */
.nav-menu ul > li.nav-active > a {
  color: var(--lqd-color-seventh) !important;
  position: relative;
}
.nav-menu ul > li.nav-active > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--lqd-color-seventh);
  border-radius: 2px;
}
/* Active submenu link (current page inside a dropdown) */
.nav-menu .our-story-submenu a.nav-active-link,
.nav-menu .patient-hub-submenu a.nav-active-link,
.nav-menu .issues-submenu-col a.nav-active-link,
.nav-menu .imotion-way-submenu-col a.nav-active-link,
.nav-menu .work-valued-submenu a.nav-active-link {
  color: var(--lqd-color-seventh) !important;
  font-weight: 600;
}

/* Shared: all nav submenus - list items display vertically (in line) */
.nav-menu .our-story-submenu,
.nav-menu .our-story-submenu li,
.nav-menu .patient-hub-submenu,
.nav-menu .patient-hub-submenu li,
.nav-menu .issues-submenu-col,
.nav-menu .issues-submenu-col ul,
.nav-menu .issues-submenu-col ul li,
.nav-menu .imotion-way-submenu-col,
.nav-menu .imotion-way-submenu-col ul,
.nav-menu .imotion-way-submenu-col ul li {
  display: block;
}
.nav-menu .issues-submenu-col ul li,
.nav-menu .imotion-way-submenu-col ul li {
  display: list-item; /* keep bullets for Issues and imotion way submenus */
}

/* Our Story submenu - appears on hover, top border, border radius */
.nav-menu .our-story-nav-item {
  position: relative;
}
.nav-menu .our-story-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 16px 22px;
  list-style: none;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--lqd-color-primary);
  box-shadow: 0 18px 40px rgba(0, 27, 77, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}
.nav-menu .our-story-nav-item:hover .our-story-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .our-story-submenu li + li {
  margin-top: 4px;
}
.nav-menu .our-story-submenu a {
  display: block;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: #4E647C;
  transition: color 0.2s ease;
}
.nav-menu .our-story-submenu a:hover {
  color: var(--lqd-color-seventh);
}

/* Patient Hub submenu - appears on hover, top border, border radius, orange + blue underline */
.nav-menu .patient-hub-nav-item {
  position: relative;
}
.nav-menu .patient-hub-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 16px 22px;
  list-style: none;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--lqd-color-primary);
  box-shadow: 0 18px 40px rgba(0, 27, 77, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}
.nav-menu .patient-hub-nav-item:hover .patient-hub-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .patient-hub-nav-item:hover > a {
  /* color: var(--lqd-color-seventh); */
}
.nav-menu .patient-hub-nav-item > a {
  position: relative;
}
/* Babble underline used instead of straight line - see main nav babble rules above */
.nav-menu .patient-hub-submenu li + li {
  margin-top: 4px;
}
.nav-menu .patient-hub-submenu a {
  display: block;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: #4E647C;
  transition: color 0.2s ease;
}
.nav-menu .patient-hub-submenu a:hover {
  color: var(--lqd-color-seventh);
}

/* Work Where You're Valued submenu - blue heading with underline, bulleted list in blue */
.nav-menu .work-valued-nav-item {
  position: relative;
}
.nav-menu .work-valued-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 16px 22px;
  list-style: none;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--lqd-color-primary);
  box-shadow: 0 18px 40px rgba(0, 27, 77, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}
.nav-menu .work-valued-nav-item:hover .work-valued-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .work-valued-nav-item:hover > a {
  color: var(--lqd-color-seventh);
}
.nav-menu .work-valued-nav-item > a {
  position: relative;
}
.nav-menu .work-valued-nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--lqd-color-primary);
  transition: width 0.3s ease;
}
.nav-menu .work-valued-nav-item:hover > a::after {
  width: 100%;
}
.nav-menu .work-valued-submenu li + li {
  margin-top: 4px;
}
.nav-menu .work-valued-submenu li {
  list-style: disc;
  margin-left: 18px;
}
.nav-menu .work-valued-submenu a {
  display: inline;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--lqd-color-primary);
  transition: color 0.2s ease;
}
.nav-menu .work-valued-submenu a:hover {
  color: var(--lqd-color-seventh);
}

/* Issues we address submenu - 2-column layout, top border, border radius, hover */
.nav-menu .issues-nav-item {
  position: relative;
}
.nav-menu .issues-submenu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--lqd-color-primary);
  box-shadow: 0 18px 40px rgba(0, 27, 77, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}
.nav-menu .issues-nav-item:hover .issues-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .issues-nav-item:hover > a {
  /* color: var(--lqd-color-seventh); */
}
.nav-menu .issues-submenu-col h4 {
  font-family: var(--lqd-heading-font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--lqd-color-primary);
  margin: 0 0 10px;
  line-height: 1.2;
}
.nav-menu .issues-submenu-col ul {
  list-style: disc;
  margin: 0;
  padding-left: 18px;
}
.nav-menu .issues-submenu-col ul li {
  margin-top: 4px;
}
.nav-menu .issues-submenu-col ul li::marker {
  color: var(--lqd-color-primary);
}
.nav-menu .issues-submenu-col a {
  font-size: 16px;
  font-weight: 500;
  color: #4E647C;
  transition: color 0.2s ease;
}
.nav-menu .issues-submenu-col a:hover {
  color: var(--lqd-color-seventh);
}

/* The imotion way submenu - 2-column layout, top border, border radius, hover */
.nav-menu .imotion-way-nav-item {
  position: relative;
}
.nav-menu .imotion-way-submenu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--lqd-color-primary);
  box-shadow: 0 18px 40px rgba(0, 27, 77, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}
.nav-menu .imotion-way-nav-item:hover .imotion-way-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .imotion-way-nav-item:hover > a {
  /* color: var(--lqd-color-seventh); */
}
.nav-menu .imotion-way-submenu-col h4,
.nav-menu .imotion-way-submenu-col h5 {
  font-family: var(--lqd-heading-font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--lqd-color-primary);
  margin: 0 0 6px;
  line-height: 1.2;
}
.nav-menu .imotion-way-submenu-col h5 {
  font-size: 15px;
  margin: 0 0 10px;
}
.nav-menu .imotion-way-submenu-col h4 a,
.nav-menu .imotion-way-submenu-col h5 a {
  color: var(--lqd-color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-menu .imotion-way-submenu-col h4 a:hover,
.nav-menu .imotion-way-submenu-col h5 a:hover {
  color: var(--lqd-color-seventh);
}
.nav-menu .imotion-way-submenu-col ul {
  list-style: disc;
  margin: 0;
  padding-left: 18px;
}
.nav-menu .imotion-way-submenu-col ul li {
  margin-top: 4px;
}
.nav-menu .imotion-way-submenu-col ul li::marker {
  color: var(--lqd-color-primary);
}
.nav-menu .imotion-way-submenu-col ul a {
  font-size: 16px;
  font-weight: 500;
  color: #4E647C;
  transition: color 0.2s ease;
}
.nav-menu .imotion-way-submenu-col ul a:hover {
  color: var(--lqd-color-seventh);
}

.mobile-menu-icon img{
  margin-right: 10px;
  display: inline-block !important; /* keep icon and "Menu" text on same line (override page-level img{display:block}) */
}
.mobile-menu-icon:hover {
  cursor: pointer;
}
rect {
  border-radius: 10px;
  width: 28px;
  height: 4px;
  background-color: #555555;
}
rect:nth-child(2) {
  margin: 4px 0;
}
.filter {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100%;
  z-index: 1000;
  background-color: rgba(17, 17, 17, 0.295);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.menu-open .filter {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
/* Lock body scroll when mobile menu is open - prevents background text showing through on scroll */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden !important;
  }
}
/* Mobile / Desktop menu - vertical layout (matches design) */
.mobile-slider {
  padding: 30px 24px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  width: 400px;
  max-width: 100%;
  background-color: #ffffff;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  -webkit-overflow-scrolling: touch;
  backface-visibility: hidden;
}
body.menu-open .mobile-slider {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-slider-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #E8E8E8;
  margin-bottom: 24px;
  flex-shrink: 0;
  /* position: sticky; */
  top: 0;
  z-index: 1;
  background: #ffffff;
}
.mobile-slider-top .close-menu {
  color: #4E647C;
  font-size: 1.3em;
  flex-shrink: 0;
  cursor: pointer;
  padding: 8px;
  margin: -8px -8px -8px 0;
  width: 30px;
  height: 30px;
  opacity: 0.8;
}
.mobile-slider-top .close-menu:hover {
  opacity: 1;
}
.mobile-slider-top img.mobile-slider-logo,
.mobile-slider-top img:not(.close-menu) {
  max-width: 180px;
  height: auto;
}
.mobile-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-navigation li,
.mobile-nav-list > li {
  display: list-item;
}
.mobile-navigation li a,
.mobile-navigation li a:visited {
  padding: 14px 0;
  color: var(--lqd-color-primary);
  font-family: var(--lqd-heading-font-family);
  font-weight: 500;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: color 0.2s ease;
  font-size: 18px;
  line-height: 1.3;
}
.mobile-navigation li a:hover {
  color: var(--lqd-color-seventh);
}
/* Mobile nav divider (horizontal line before 4 main items) */
.mobile-nav-divider {
  height: 1px;
  background: #E0E0E0;
  margin: 12px 0 16px 0;
  padding: 0 !important;
  list-style: none;
}
/* Override common.css so submenu uses max-height (not display:none) for proper containment */
.mobile-navigation .mobile-submenu {
  display: block !important;
}
.mobile-navigation .mobile-has-submenu:not(.open) .mobile-submenu {
  max-height: 0;
  overflow: hidden;
}
/* Mobile submenu - expandable accordion */
.mobile-has-submenu {
  list-style: none;
  cursor: pointer;
  display: none !important;
}
.mobile-submenu-toggle {
  width: 100%;
  padding: 14px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--lqd-heading-font-family);
  font-weight: 500;
  font-size: 18px;
  color: var(--lqd-color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}
.mobile-submenu-toggle:hover {
  color: var(--lqd-color-seventh);
}
.mobile-submenu-toggle::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.mobile-has-submenu.open .mobile-submenu-toggle::after {
  content: "−";
}
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 12px 0 8px 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-left: 8px;
}
.mobile-has-submenu.open .mobile-submenu {
  max-height: 800px; /* enough for longest submenu (The imotion way) */
}
.mobile-submenu li a {
  padding: 10px 0;
  font-size: 16px;
}
/* Work Where You's Valued - uses mobile-work-valued-submenu (separate from mobile-has-submenu) so it stays visible even when mobile-has-submenu has display:none */
.mobile-work-valued-submenu {
  display: list-item !important;
  list-style: none;
  cursor: pointer;
}
.mobile-navigation .mobile-work-valued-submenu:not(.open) .mobile-submenu {
  max-height: 0;
  overflow: hidden;
}
.mobile-work-valued-submenu.open .mobile-submenu {
  max-height: 800px;
}
/* Work Where You's Valued - anchor styled as .mobile-navigation li a (same as Home) */
.mobile-work-valued-submenu .mobile-submenu-toggle {
  /* Inherits font, weight, size, color from .mobile-navigation li a */
  display: block;
  padding: 14px 0;
  margin: 0;
  width: 100%;
  text-align: left;
}
.mobile-work-valued-submenu {
  margin-left: 0;
  padding-left: 0;
}
.mobile-work-valued-submenu .mobile-submenu-toggle:hover {
  color: var(--lqd-color-seventh);
}
.mobile-work-valued-submenu.open .mobile-submenu-toggle {
  border-bottom: 2px solid var(--lqd-color-primary);
  padding-bottom: 12px;
  margin-bottom: 0;
}
.mobile-work-valued-submenu .mobile-submenu-toggle::after {
  display: none;
}
.mobile-submenu.work-valued-mobile-submenu {
  padding: 4px 0 8px 24px;
  margin-left: 8px;
  margin-top: 0;
}
.mobile-submenu.work-valued-mobile-submenu li {
  list-style: disc;
  margin-left: 18px;
  padding: 0;
}
.mobile-submenu.work-valued-mobile-submenu a {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--lqd-color-primary);
}
.mobile-submenu.work-valued-mobile-submenu a:hover {
  color: var(--lqd-color-seventh);
}

/* Events submenu - visible in mobile nav (like Work Where You're Valued) */
.mobile-events-submenu {
  display: list-item !important;
  list-style: none;
  cursor: pointer;
}
.mobile-navigation .mobile-events-submenu:not(.open) .mobile-submenu {
  max-height: 0;
  overflow: hidden;
}
.mobile-events-submenu.open .mobile-submenu {
  max-height: 800px;
}
.mobile-events-submenu .mobile-submenu-toggle {
  display: block;
  padding: 14px 0;
  margin: 0;
  width: 100%;
  text-align: left;
}
.mobile-events-submenu .mobile-submenu-toggle:hover {
  color: var(--lqd-color-seventh);
}
.mobile-events-submenu.open .mobile-submenu-toggle {
  border-bottom: 2px solid var(--lqd-color-primary);
  padding-bottom: 12px;
  margin-bottom: 0;
}
.mobile-events-submenu .mobile-submenu-toggle::after {
  display: none;
}
.mobile-submenu.events-mobile-submenu {
  padding: 4px 0 8px 24px;
  margin-left: 8px;
  margin-top: 0;
}
.mobile-submenu.events-mobile-submenu li {
  list-style: disc;
  margin-left: 18px;
  padding: 0;
}
.mobile-submenu.events-mobile-submenu a {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--lqd-color-primary);
}
.mobile-submenu.events-mobile-submenu a:hover {
  color: var(--lqd-color-seventh);
}

/* Section headers inside submenus (e.g. Conditions, Injury/Recovery Programs) */
.mobile-submenu-section {
  padding: 12px 0 6px 0;
  font-family: var(--lqd-heading-font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--lqd-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  list-style: none;
  border-bottom: 1px solid #E8E8E8;
  margin-bottom: 4px;
}
.mobile-submenu-section:first-child {
  padding-top: 4px;
}

/* ── Dedicated + toggle button for work-valued & events submenus ────────── */
.mobile-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile-sub-link {
  flex: 1;
  display: block;
  padding: 14px 0;
  font-family: var(--lqd-heading-font-family);
  font-weight: 500;
  font-size: 18px;
  color: var(--lqd-color-primary);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.mobile-sub-link:hover {
  color: var(--lqd-color-seventh);
}

/* No background, no border — icon is the only visual element */
.mobile-sub-plus-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003E82;
  transition: color 0.2s ease, transform 0.15s ease;
}
.mobile-sub-plus-btn:hover {
  color: #FF9852;
  transform: scale(1.15);
}

/* FA icon size & pointer passthrough */
.mobile-sub-fa-icon {
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.2s ease;
}

/* When open: fa-plus → fa-minus via unicode content override */
.mobile-work-valued-submenu.open .mobile-sub-fa-icon::before,
.mobile-events-submenu.open .mobile-sub-fa-icon::before {
  content: "\f068"; /* fa-minus */
}
/* ────────────────────────────────────────────────────────────────────────── */
/* benner-section */
.main{
  background-image: url(/front/assets/images/bg/imotion-benner-bg.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  height: auto;
  align-items: center;
}
.benner-section{
  text-align: center;
  display: flex ;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 60px;
}
.benner-section h1{
  width: 60%;
  margin: 0 auto;
}
.bener-cta{
  padding: 40px 0px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.trust-bar{
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #E0E0E0;
}
.trust-card{
  color: #4E647C;
font-family: var(--lqd-heading-font-family);
font-weight: 500;
font-style: Medium;
font-size: 20px;
line-height: 25px;
letter-spacing: 0%;
}
.trust-bar{
  display: flex;
  justify-content: space-between;
}
.trust-card .d-flex{
  display: flex;
  align-items: center;
  gap: 15px;
}
.trust-card .text-left{
  /* padding-left: 10px; */
  align-items: center;
}
.trust-card .text-left p{
  margin-bottom: 0px;
  font-size: 17px;
}
/* Solution Block */
.solution-block {
  padding-bottom: 0px;
}
.solution-block .container{
  padding-bottom: 60px;
  border-bottom: 1.5px dashed #D4DDEB;
}
.solution-block .solution-content{
  width: 81%;
  margin: 0 auto;
}
/* How We Treat Patients */
.heading-border{
  background-image: url(/front/assets/images/bg/heading-border.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size:auto;
}
.how-we-treat h2{
  margin-bottom: 40px;
  padding-bottom: 10px;
}
.how-we-treat-cards{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.how-we-treat-card{
  padding: 10px;
  background-color: #F9FCFF;
  /* border: 1px solid #E0E0E0; */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.how-we-treat-card:hover{
  /* box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); */
  box-shadow: 0px 4px 15px 0px #afafaf40;
  transition: box-shadow 0.3s ease-in-out;
}
.how-we-treat-card h4{
  margin-bottom: -10px;
}
.how-we-treat-card .how-we-treat-card-link{
  display: none;
  position: absolute;
  top: 22px;
  right: 22px;
}
.how-we-treat-card:hover .how-we-treat-card-link{
  display: block;
  transition: display 0.3s ease;
}
/* Core Services Section */
.core-services{
  background-image: url(/front/assets/images/bg/service-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.core-services h2{
  margin-bottom: 40px;
  padding-bottom: 10px;
}
.core-services-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.core-services-cards{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.core-services-card{
  background-color: #F2F4F7;
  /* padding: 30px; */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  width: 442px;
height: 190px;
}
.core-services-card p{
  margin: 0px;
}
.core-services-card h4{
  font-size: 21px !important;
  margin-bottom: 10px;
}
.core-services-card-top{
  border-radius: 10px;
  background-color: #ffffff;
  padding: 20px 30px 40px 30px;
}
.core-services-card-icon{
  padding: 20px;
  width: 100px;
  height: 100px;
  margin-top: -70px;
}
.core-services-card:hover{
  box-shadow: 0px 4px 15px 0px #afafaf40;
  transition: box-shadow 0.3s ease-in-out;
  background-color: var(--lqd-color-secondary);
  transition: stroke 0.3s ease;
}
.core-services-card:hover .core-services-card-icon svg circle{
  fill: var(--lqd-color-secondary) !important;
  transition: fill 0.3s ease;
}
.core-services-card:hover .core-services-card-icon svg path{
  fill: #ffffff !important;
  transition: stroke 0.3s ease;
}
/* AlterG section */
.alterg-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.alterg-content p{
  width: 60%;
}
.alterg-content b{
  font-weight: 700;
}
.alterg-image {
  background-image: url(/front/assets/images/bg/alterG-slider-bg.png);
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0px;
  padding: 0px;
}
.alterg-slider-wrapper{
  max-width: 660px;
  width: 100%;
  padding: 20px;
  border-radius: 50px 0 50px 0;
  overflow: hidden;
}
.alterg-slider-wrapper .slide img{
  width: 100%;
  height: auto;
  display: block;
}
.slick-dotted.slick-slider{
  margin-bottom: 0px;
  width: 660px;
  padding: 20px;
  border-radius: 50px 0px 50px 0px;
}
.slick-dotted.slick-slider ul.slick-dots{
  bottom: 0px;
}
/* Book Appointment Section */
.book-appointment-section{
  padding: 60px 0px;
}
.book-appointment-content{
  background-image: url(/front/assets/images/bg/book-appointment-bg.png);
  border-radius: 20px;
}
.book-appointment-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.book-appointment-text{
  padding: 30px 0px;
  width: 50%;
}
.book-appointment-text .heading-border{
  background-position: left bottom;
}
.book-appointment-slider{
  width: 50%;
}

    .form-wrapper {
        max-width: 600px;
        margin: auto;
        /* background: #fff; */
        padding: 30px;
        border-radius: 12px;
        /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
    }

    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    input, select, textarea {
        width: 100%;
        padding: 14px 16px;
        border-radius: 10px;
        border: 1px solid #dbe7ff;
        font-size: 14px;
        outline: none;
    }
    .ui-selectmenu-button{
      display: none;
    }
    input:focus, select:focus, textarea:focus {
      border-color: #6aa6ff;
    }
    
    textarea {
      grid-column: span 2;
      resize: none;
      height: 120px;
    }
    
    .recaptcha-box {
      margin: 20px 0;
      padding: 14px;
      border: 1px solid #ddd;
      border-radius: 6px;
      width: fit-content;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      background: #fafafa;
    }
    input#robotCheck{
      width: auto;
    }
    .submit-btn {
      width: 100%;
      padding: 16px;
      background: linear-gradient(90deg, #f57c2a, #ea5f1a);
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
    }
    
    .submit-btn:hover {
      opacity: 0.95;
    }
    
    .error {
      color: red;
      font-size: 13px;
      margin-top: 10px;
    }
    select{
      display: block !important;
    }
    
    @media (max-width: 768px) {
      .form-grid {
            grid-template-columns: 1fr;
        }
        textarea {
            grid-column: span 1;
        }
    }

/* Contact: "Let's Talk With Us" section (contact-us.html) */
.contact-talk {
  padding: 60px 0px;
}

.contact-talk-card {
  background: #f3f7ff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0px 10px 30px rgba(0, 27, 77, 0.06);
}

.contact-talk-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  grid-template-areas: "info form";
  gap: 40px;
  align-items: stretch;
}

.contact-talk-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-talk-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-talk-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.contact-talk-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.contact-talk-item-text h4 {
  margin: 0 0 6px;
}

.contact-talk-item-text p {
  margin: 0;
  color: var(--lqd-body-text-color);
}

.contact-talk-item-text a {
  color: inherit;
  text-decoration: none;
}

.contact-talk-item-text a:hover {
  text-decoration: underline;
}

.contact-talk-locations-btn {
  margin-top: 10px;
  display: inline-block;
  text-align: center;
}

.contact-talk-form {
  grid-area: form;
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
}

.contact-talk-title {
  margin: 0 0 18px !important;
  font-size: 60px !important;
  line-height: 66px !important;
}

.contact-talk-form-grid select {
  grid-column: span 2;
}

.contact-talk-form-grid textarea {
  grid-column: span 2;
  height: 140px;
}

.contact-features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-feature-card {
  background: #ffffff;
  border: 1px solid #eaf0ff;
  border-radius: 16px;
  padding: 18px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0px 10px 22px rgba(0, 27, 77, 0.05);
}

.contact-feature-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: #f3f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-feature-text h4 {
  margin: 0 0 6px;
}

.contact-feature-text p {
  margin: 0;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .contact-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-talk-card {
    padding: 20px;
  }
  .contact-talk-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "form"
      "info";
  }
  .contact-talk-form {
    padding: 18px;
  }
  .contact-talk-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-talk-form-grid select,
  .contact-talk-form-grid textarea {
    grid-column: span 1;
  }
  .contact-features {
    grid-template-columns: 1fr;
  }
  .contact-talk-title {
    font-size: 38px !important;
    line-height: 44px !important;
  }
  .mobile-has-submenu{
    display: block !important;
  }
}
    /* testimonial-section */
    
.testimonial-section {
    /* max-width: 1200px; */
    margin: auto;
}

.testimonial-section .container{
  display: flex;
  gap: 40px;
}
.testimonial-left{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-left .heading-border{
  background-position: left bottom;
}
.testimonial-slider-wrapper.slick-initialized.slick-slider{
  background-color: #FFFAF5;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #FFE6D5;
}
.testimonial-left .slick-prev, .testimonial-left .slick-next{
  top: auto;
  bottom: 20px;
}
.testimonial-left .slick-prev{
  left: auto;
  right: 90px;
}
.testimonial-left .slick-next{
  left: auto;
  right:30px;
}
.testimonial-left .slick-prev:before{
  content: url(/front/assets/images/icon/left.png);
  right: 0;
  font-size: 40px;
}
.testimonial-left .slick-next:before{
  content: url(/front/assets/images/icon/right.png);
  right: 0;
  font-size: 40px;
}
.testimonial-right{
  width: 50%;
}
.testimonial-right .row .col-lg-6{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}
.slick-dots li{
  border: 1px solid var(--lqd-color-seventh);
  border-radius: 50%;
  padding: 1px;
  width: 15px;
  height: 15px;
}
.slick-dots li button:before{
  color: transparent;
  font-size: 9px;
  line-height: 15px;
  height:10px ;
  width:13px ;
}
.slick-dots li.slick-active button:before{
  color: var(--lqd-color-seventh);
}
/* LEFT TESTIMONIAL CARD */
.testimonial-card {
    background: var(--light-bg);
    padding: 32px;
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.testimonial-right .row .col-lg-6{
  padding: 10px;
}
.stat-card1{
  height: 274px;
    border-radius: 20px;
    display: flex;
    align-items: end;
    color: white;
    padding: 20px

}
.locaiotn-slider{
  background-image: url(/front/assets/images/bg/form-image.png);
  background-position: center;
  background-repeat:no-repeat ;
  background-size: cover;
  height: 890px;
  width: 700px;
  max-width: 100%;
  border-radius:20px ;
  display: flex;
  align-items: end;
  overflow: hidden;
}
.location-slider-wrapper {
  width: 100%;
  min-height: 0;
  overflow: hidden;
}
/* When Slick hasn't run yet: show only first slide so cards don't stack */
.location-slider-wrapper:not(.slick-initialized) .slide {
  display: none;
}
.location-slider-wrapper:not(.slick-initialized) .slide:first-child {
  display: block;
}
/* Ensure Slick layout works inside flex container */
.location-slider-wrapper.slick-initialized {
  position: relative;
  display: flex;
}
.location-slider-wrapper.slick-initialized .slide {
  display: block;
}
.location-slider-wrapper.slick-initialized .slick-list,
.location-slider-wrapper.slick-initialized .slick-track {
  height: 100%;
}
.location-slider-wrapper.slick-initialized .slick-slide {
  height: auto;
}
.location-slider-wrapper.slick-initialized .slick-prev, .location-slider-wrapper.slick-initialized .slick-next{
  display: none !important;
}
.locaiotn-card{
  background: rgba(106, 139, 167, 0.185);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 28px 32px;
  margin: 20px 0px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  color: #ffffff;
  overflow: visible;
  border: 1px solid #ffffffaf;
}
.locaiotn-card h3{
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.locaiotn-card .location-card-content .location-specialization,
.locaiotn-card .location-card-content > .row:first-child p{
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 16px;
  padding-left: 0px !important;
}
.location-card-content{
  width: 50%;
  /* padding-right: 24px; */
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}
.location-card-hours{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.location-card-content p{
  padding-left: 10px;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
}
.locaiotn-card .location-card-content .col-lg-1,
.locaiotn-card .location-card-contect .col-lg-2{
  padding-right: 10px;
  flex-shrink: 0;
}
.location-card-contect{
  width: 48%;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location-card-contect a{
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
}
.location-card-contect a:hover{
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.locaiotn-card .location-card-content .col-2 img,
.locaiotn-card .location-card-contect .col-2 img,
.locaiotn-card .location-card-content .col-lg-1 img,
.locaiotn-card .location-card-contect .col-lg-2 img {
  width: 30px !important;
  height: 30px !important;
  min-width: 26px;
  object-fit: contain;
}
.locaiotn-card .location-card-content .row.align-items-center,
.locaiotn-card .location-card-content .row:not(:first-child),
.locaiotn-card .location-card-contect .row {
  /* margin-bottom: 12px; */
  /* align-items: center; */
}
.locaiotn-card .location-card-contect .row:last-child {
  margin-bottom: 0;
}
.location-slider-wrapper.slick-initialized .slick-prev,
.location-slider-wrapper.slick-initialized .slick-next {
  z-index: 2;
  width: 36px;
  height: 36px;
}
.location-slider-wrapper.slick-initialized .slick-prev { left: 8px; }
.location-slider-wrapper.slick-initialized .slick-next { right: 8px; }
.location-slider-wrapper.slick-initialized .slick-prev:before,
.location-slider-wrapper.slick-initialized .slick-next:before {
  color: #ffffff;
  font-size: 28px;
  opacity: 0.9;
}
.location-slider-wrapper.slick-initialized.slick-slider.slick-dotted ul.slick-dots{
  bottom: 16px !important;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex !important;
  justify-content: center;
  gap: 10px;
}
.location-slider-wrapper .slick-dots li{
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: transparent;
}
.location-slider-wrapper .slick-dots li button{
  width: 8px;
  height: 8px;
  padding: 0;
}
.location-slider-wrapper .slick-dots li button:before{
  display: none;
}
.location-slider-wrapper .slick-dots li.slick-active{
  background: #ffffff;
}
.location-slider-wrapper .slick-dots li.slick-active button:before{
  display: none;
}
/* Team card: image fallback when image fails to load */
.team-card .card-image {
    background-color: #e8e8e8;
    min-height: 200px;
    display: block;
}

.quote {
    font-size: 18px;
    color: #3b4b66;
    line-height: 1.6;
    margin-bottom: 0px;
}

.user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.nav-arrows {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* RIGHT GRID */
.right-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}


.stat-card2 {
    background: #fff7ef;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--blue);
    border-radius: 20px;
}

.stat-card span {
    font-size: 22px;
}
.stat-card-text{
  display: flex;
  gap: 20px;
  align-items: center;
}
.stat-card-text p{
  margin: 0;
  font-size: 22px;
}


/* IMAGE CARDS */
.image-card {
    position: relative;
    height: 150px;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,60,140,0.8), transparent);
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
/* cta-section */
section.cta-section{
  padding-top: 0px;
}
.cta-content{
  padding: 70px;
  background-image: url(/front/assets/images/bg/cta-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-align: center;
  color: #ffffff;
  border-radius: 20px;
  /* margin-bottom: -200px !important; */
}
.cta-content h2{
  color: #ffffff !important;
  font-size: 46px;
  font-weight: 500;
}
.heading-border{
  padding-bottom: 10px;
}
.cta-btns{
  display: flex;
  justify-content: center;
  gap: 20px ;
}
.cta-btns a.btn.btn-secondary{
  background: transparent !important;
  border: 1px solid #ffffff !important;
}
/* FOOTER - Matches reference image: #2C64B4 font/icons, #FFEBDB divider, #CCCCCC separators, #F8F8F8 bg */
footer.site-footer,
.site-footer {
  background-image: url(/front/assets/images/bg/book-appointment-bg.png);
  background-size: cover;
  background-position: top center;
    padding: 40px 24px 32px;
    border-radius: 16px 16px 0 0;
    margin-top: 40px;
}

.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 24px;
    row-gap: 8px;
}

.site-footer .footer-links a {
    color: #2C64B4;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 0 2px;
    transition: color 0.2s ease;
    font-family: "nunito", sans-serif;
}

.site-footer .footer-links a:hover {
    color: #2C64B4;
    opacity: 0.85;
}

/* Vertical separator between links - light gray */
.site-footer .footer-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: #CCCCCC;
    margin: 0 14px;
    vertical-align: middle;
}

/* Horizontal divider - light orange/peach */
.site-footer .footer-divider {
    height: 1px;
    background: #FFEBDB;
    margin: 0 auto 24px;
    width: 100%;
    max-width: 1200px;
}

/* BOTTOM ROW - Copyright left, social icons right */
.site-footer .footer-bottom {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer .footer-copy {
    color: #2C64B4;
    font-size: 18px;
    font-weight: 400;
    font-family: "nunito", sans-serif;
}

.site-footer .footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.site-footer .footer-socials a {
    color: #2C64B4;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer .footer-socials a:hover {
    opacity: 0.85;
}
.locaiotn-card h3{
  color:#ffffff !important;
}

/* Footer responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 32px 16px 24px;
    }

    .site-footer .footer-links {
        /* flex-direction: column; */
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    .site-footer .footer-sep {
        display: none;
    }

    .site-footer .footer-links a {
        padding: 4px 0;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .site-footer .footer-copy {
        order: 2;
        font-size: 13px;
    }

    .site-footer .footer-socials {
        order: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 24px 12px 20px;
    }

    .site-footer .footer-links a {
        font-size: 14px;
    }
} 
/* media queries */
/* ========= GLOBAL MOBILE ADJUSTMENTS ========= */

@media (max-width: 1024px) {
  .core-services-cards{
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .core-services-card{
    width: 505px;
  }
  .alterg-content{
    flex-direction: column;
    /* align-items: flex-start; */
  }
  .alterg-slider-wrapper.slick-initialized.slick-slider.slick-dotted{
    margin: 0 auto;
  }
  .book-appointment-content{
    width: 70%;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .book-appointment-text{
    width: 100%;
    padding: 20px;
  }
  .testimonial-section .container{
    flex-direction: column;
    gap: 40px;
  }
  .alterg-content p{
    margin: 0 auto;
  }
  .testimonial-left{
    width: 100%;
  }
  .quote{
    text-align: left;
  }
  .testimonial-right{
    margin: 0 auto;
    width: 70%;
  }
}
@media (max-width: 991px) {
  section {
    padding: 40px 16px;
  }

  h1 {
    font-size: 32px !important;
    line-height: 40px !important;
  }

  h2 {
    font-size: 28px !important;
    line-height: 34px !important;
  }

  .benner-section {
    padding-top: 100px;
  }

  .benner-section h1 {
    width: 100%;
  }

  .bener-cta {
    /* flex-direction: column; */
    align-items: stretch;
  }

  .trust-bar {
    /* flex-direction: column; */
    width: 70%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 16px;
  }

  .trust-card {
    width: 100%;
  }
}

/* ========= HOW WE TREAT & CORE SERVICES ========= */
@media (max-width: 991px) {
  .how-we-treat-cards,
  .core-services-cards {
    flex-direction: column;
    gap: 0;
  }

  .how-we-treat-card,
  .core-services-card {
    width: 100%;
  }

  .core-services-card {
    gap: 12px;
    height: auto;
    min-height: unset;
    margin-bottom: 6px;
  }

  .core-services-card:last-child {
    margin-bottom: 0;
  }
}

/* ========= ALTERG SECTION ========= */
@media (max-width: 991px) {
  .alterg-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .alterg-content p {
    width: 100%;
  }

  .alterg-image {
    width: 100%;
    min-height: 260px;
    background-size: cover;
  }

  .slick-dotted.slick-slider {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
  }
}

/* ========= BOOK APPOINTMENT ========= */
@media (max-width: 991px) {
  .book-appointment-content {
    flex-direction: column;
    padding: 30px 16px;
  }

  .book-appointment-text,
  .book-appointment-slider {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  textarea {
    grid-column: span 1;
  }
}

/* ========= TESTIMONIAL SECTION ========= */
@media (max-width: 991px) {
  .testimonial-section .container {
    flex-direction: column;
  }

  .testimonial-left,
  .testimonial-right {
    width: 100%;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .right-grid {
    grid-template-columns: 1fr;
  }
}

/* ========= LOCATION / CTA / FOOTER ========= */
@media (max-width: 991px) {
  .locaiotn-slider {
    width: 100%;
    height: auto;
    min-height: auto;
    border-radius: 20px;
    align-items: stretch;
  }

  .location-slider-wrapper.slick-initialized .slick-list,
  .location-slider-wrapper.slick-initialized .slick-track {
    height: auto !important;
  }

  .location-slider-wrapper.slick-initialized .slick-slide {
    height: auto !important;
  }

  .locaiotn-card {
    flex-direction: column;
    margin: 20px;
  }

  .location-card-content,
  .location-card-contect {
    width: 100%;
    padding: 10px 0;
  }
  .location-card-content {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 20px;
    margin-bottom: 16px;
  }
  .location-card-contect {
    padding-left: 0;
  }

  .cta-content {
    padding: 40px 20px;
    margin-bottom: -120px !important;
  }

  .site-footer {
    padding-top: 120px;
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 768px) {
  .how-we-treat-content.text-center{
    width: 70%;
    margin: 0 auto;
  }
  .core-services-content{
    width: 70%;
    margin: 0 auto;
  }
  h2.section-title.heading-border{
    text-align: center;
  }
  .book-appointment{
    padding: 20px 0px;
  }
  .book-appointment .container{
    padding: 0px;
  }
  .locaiotn-card{
    margin: 10px;
    padding: 16px 20px;
  }
  .locaiotn-card h3{
    font-size: 1.25rem;
    margin-bottom: 4px;
  }
  .locaiotn-card .location-card-content p,
  .locaiotn-card .location-card-contect p{
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  .locaiotn-card .location-card-content .row,
  .locaiotn-card .location-card-contect .row{
    margin-bottom: 4px;
  }
  .locaiotn-card .location-card-content .row:last-child,
  .locaiotn-card .location-card-contect .row:last-child{
    margin-bottom: 0;
  }
  .locaiotn-card .location-card-content p{
    padding-left: 8px;
  }
  .locaiotn-card .location-card-content .col-2 img,
  .locaiotn-card .location-card-contect .col-2 img,
  .locaiotn-card .location-card-content .col-lg-1 img,
  .locaiotn-card .location-card-contect .col-lg-2 img{
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
    object-fit: contain;
  }
  .book-appointment-content{
    width: 100%;
  }
  .form-wrapper{
    padding: 10px;
  }
  .book-appointment-text{
    text-align: center;
  }
  .location-card-content .row .col{
    justify-content: center;
  }
  .testimonial-right .row{
    justify-content: space-around;
  }
}

/* Location card - extra compact for short viewports (e.g. 768x552) */
@media (max-width: 768px) and (max-height: 600px) {
  .locaiotn-card {
    padding: 12px 16px;
  }
  .locaiotn-card h3 {
    font-size: 1.1rem;
  }
  .locaiotn-card .location-card-content p,
  .locaiotn-card .location-card-contect p {
    font-size: 0.85rem;
  }
  .locaiotn-card .location-card-content .col-2 img,
  .locaiotn-card .location-card-contect .col-2 img,
  .locaiotn-card .location-card-content .col-lg-1 img,
  .locaiotn-card .location-card-contect .col-lg-2 img {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
    object-fit: contain;
  }
}

/* ========= VERY SMALL SCREENS ========= */
@media (max-width: 575px) {
  .cta-content h2{
    line-height: 58px;
  }
  button,
  .btn {
    width: 100%;
    text-align: center;
  }

  .mobile-slider {
    width: 100%;
  }
  .bener-cta{
    flex-direction: column;
    width: 60%;
    margin: 0 auto;
  }
  .how-we-treat-content.text-center{
    width: 100%;
  }
  .core-services-content{
    width: 100%;
  }
  .slick-dotted.slick-slider{
    padding: 0px;
  }
  .alterg-text b{
    font-weight: 600;
  }
  .cta-btns{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60%;
    margin: 0 auto;
  }
  .testimonial-card{
    padding: 10px;
  }
}
/* our story / breadcrumb pill */
.span-path {
  background: linear-gradient(177.09deg, #F68030 2.48%, #DD5E1B 97.66%);
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  display: inline-block;
  max-width: 100%;
  line-height: 1.4;
  white-space: normal;
  overflow: hidden;
  font-size: 18px;
}

@media (max-width: 480px) {
  .span-path {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* new to update in live*/
@media (max-width:1024px) {
  .header-inner{
    width: 100% !important;
    padding: 0px;
  }
  .logo{
    padding: 10px;
  }
  .container{
    max-width: 1024px;
    width: 100%;
  }
  .timeline{
    padding: 0px;
  }
  .timeline-line{
    display: none;
  }
  .timeline-intro p{
    width: 80%;
    margin: 0 auto;
  }
  .timeline-item.left{
    width: 90%;
    margin: 0 auto;
  }
  .timeline-item{
    padding: 0px;
    position: static;

  }
  .timeline-item::before{
    display: none;
  }
  .journey-card,
  .card{
    padding: 24px 28px;
  }
  .timeline-item.right{
    width: 90%;
    margin: 0 auto;
  }

}
@media (max-width: 768px) {
  .header-inner .logo img {
    max-width: 200px;
    height: auto;
  }
  /* Mobile: hide horizontal nav, show hamburger menu */
  .nav-menu {
    display: none;
  }
  .container{
    max-width: 768px;
    width: 100%;
  }
  .timeline-line{
    display: none;
  }
  .journey-card,
  .card{
    padding: 20px 22px;
  }
  .timeline-item{
    padding: 0px;
    position: static;
  }
}
@media (max-width:425px) {
  .container{
    max-width: 425px;
    width: 100%;
  }
  .timeline-intro .container h2{
    width: 70% !important;
  }
}
@media (max-width: 320px) {
  .container{
    max-width: 320px;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .header-inner .logo img {
    max-width: 160px;
  }
}

/* =========================
   CONDITIONS: Sidebar visible
   ========================= */
/* If AOS fails to initialize, elements with `data-aos` can remain invisible.
   Force the conditions sidebar to always render. */
.conditions-category-card,
.conditions-category-card[data-aos],
.conditions-category-card.aos-init {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* =========================
   RESPONSIVE TABLES
   ========================= */
/* All tables: wrap in .table-responsive for horizontal scroll on small screens */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* Apply to any table - responsive by default */
table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive table,
table {
  min-width: 0;
}

table th,
table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

/* Small screens: horizontal scroll for tables */
@media (max-width: 991px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }

  .table-responsive table {
    min-width: 500px;
  }
}

/* Mobile: card-style layout for tables (each row becomes a block) */
@media (max-width: 768px) {
  .table-responsive-mobile-cards table,
  .table-responsive-mobile-cards thead,
  .table-responsive-mobile-cards tbody,
  .table-responsive-mobile-cards th,
  .table-responsive-mobile-cards td,
  .table-responsive-mobile-cards tr {
    display: block;
  }

  .table-responsive-mobile-cards thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-responsive-mobile-cards tr {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .table-responsive-mobile-cards td {
    border: none;
    padding: 8px 0;
    padding-left: 50%;
    position: relative;
  }

  .table-responsive-mobile-cards td::before {
    content: attr(data-label);
    font-weight: 600;
    position: absolute;
    left: 0;
    width: 45%;
    padding-right: 10px;
    color: #333;
  }
}

/* Tablet: ensure horizontal scroll works smoothly */
@media (max-width: 991px) {
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
  }
}
/* index- page responsive */
    @media (max-width: 1280px) {
        .core-services-card-top{
            padding: 20px 17px;
            padding-bottom:45px;
        }
    }
    @media(max-width: 1024px) {
      .logo img{
        height: 60px;
      }
    }
    
    @media (max-width: 884px) {
      /* Ensure submenu is visible on hover - don't clip with overflow (overrides page-level overflow-x: hidden) */
      header {
        overflow: visible !important;
      }
      .header-inner {
        overflow: visible !important;
      }
      .nav-menu {
        overflow: visible !important;
      }
      .mobile-menu-icon div{
        font-size: 0pc;
      }
      .nav-menu ul{
        gap: 15px;
      }
      .logo img{
        height: 50px;
      }
      .nav-menu ul li a{
        font-size: 19px;
      }
    }
    @media (max-width: 820px) {
        .nav-menu ul li a{
            font-size:16px;
        }
        .logo{
            width: 200px;
        }
        .mobile-menu-icon{
            font-size:0;
        }
        .benner-section{
            padding-top:60px;
        }
        .how-we-treat-cards{
            width: 70%;
            margin:0 auto;
        }
        .core-services-content{
          gap:10px
        }
        .alterg-image{
          background: none;
        }
        .alterg-content p{
          margin-bottom: 10px;
        }

        /* Location card – prevent overflow at 800px */
        .book-appointment {
            overflow-x: hidden;
        }
        .book-appointment .container {
            padding-left: 12px;
            padding-right: 12px;
        }
        .locaiotn-slider {
            width: 100% !important;
            max-width: 100%;
            overflow: hidden;
            box-sizing: border-box;
        }
        .locaiotn-card {
            margin: 12px 8px !important;
            padding: 16px 18px !important;
            box-sizing: border-box;
            max-width: 100%;
        }
        .locaiotn-card .location-card-content p,
        .locaiotn-card .location-card-contect p {
            font-size: 0.9rem;
            word-break: break-word;
        }
        .location-slider-wrapper.slick-initialized .slick-list,
        .location-slider-wrapper.slick-initialized .slick-track {
            overflow: hidden;
        }

        /* Icon and text side by side in location card rows */
        .locaiotn-card .location-card-content .row:not(:first-child),
        .locaiotn-card .location-card-contect .row {
            display: flex;
            flex-direction: row;
            align-items: center;
            flex-wrap: nowrap;
        }
        .locaiotn-card .location-card-content .row .col-lg-1,
        .locaiotn-card .location-card-contect .row .col-lg-2,
        .locaiotn-card .location-card-content .row .col-2,
        .locaiotn-card .location-card-contect .row .col-2 {
            flex: 0 0 auto;
            width: auto;
            max-width: none;
        }
        .locaiotn-card .location-card-content .row .col-lg-11,
        .locaiotn-card .location-card-contect .row .col-lg-10,
        .locaiotn-card .location-card-content .row .col-10,
        .locaiotn-card .location-card-content .row .col-sm-11,
        .locaiotn-card .location-card-contect .row .col-10 {
            flex: 1 1 auto;
            min-width: 0;
        }
        .cta-content{
          margin-bottom: 0px !important;
        }
        .stat-card1{
          background-size: cover;
        }
        .heading-border{
          background-position: center bottom;
        }
    }
    
    @media (max-width: 768px) {
      .heading-border{
        background:none;
      }
    }
    @media (max-width: 428px) {
      .benner-content.container h1{
        max-width: 100%;
      }
      .bener-cta.aos-init.aos-animate{
        width: 100%;
      }
      .trust-bar.d-flex.justify-space-between.aos-init.aos-animate{
        width: 54%;
      }
      .how-we-treat-cards{
        width: 100%;
        gap: 20px;
      }
      .benner-section{
        padding-top: 40px;
      }
      .slick-dotted.slick-slider ul.slick-dots{
        bottom: -20px;
      }
      .cta-btns{
        width: 100%;
      }
    }
