body {
  font-family: "Inter", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
nav.navbar li,
nav.navbar li a,
.btnprimary,
.btnsecondary,
.btnthird,
.btnfour,
.btnprimary:hover,
a.btnprimary:hover,
.btnsecondary:hover,
a.btnsecondary:hover,
.btnthird:hover,
a.btnthird:hover,
.btnfour:hover,
a.btnfour:hover,
.langbar.left,
.langbar.right,
input,
button,
select,
textarea {
  font-family: "Inter", sans-serif;
}
/*--------- Common Css ----------- */
.blog-img img,
.medevents .medevents-img,
.casestudies .casestudies-img,
.gallery .presscard,
.doccard .doccard-img img,
.vm .vmimg img {
  transition: transform 0.4s ease-in-out;
}
.limit-text {
  display: inline-block;
  width: 14ch; /* ch = character units */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.blog-img:hover img,
.medevents:hover .medevents-img,
.casestudies:hover .casestudies-img,
.gallery:hover .presscard,
.doccard:hover .doccard-img img,
.vm .vmimg:hover img {
  transform: scale(1.03); /* Adjust scale as needed */
}
.list-none li {
  list-style: none;
}
.points ul {
  padding-left: 0px;
}

/*--------- Utility / Helper Classes ---------*/
.text-96 {
  color: #969696 !important;
}
.obj-cover {
  object-fit: cover !important;
}
.obj-fill {
  object-fit: fill !important;
}
a.text-hover:hover {
  text-decoration: underline !important;
}
a.text-hover-color:hover {
  color: #e7be92 !important;
}
.text-ul {
  text-decoration: underline !important;
}
.ofh {
  overflow: hidden;
}
.bg-white {
  background: #000;
}
.bg-app {
  background: #e7be92;
}
.text-main {
  color: #e7be92 !important;
}
.bg-lapp {
  background: #e7be92;
}
.text-appp {
  color: #e7be92 !important;
}
.text-app2 {
  color: #e7be92 !important;
}
.bg-darkk {
  background-color: #000000 !important;
}
.bg-news {
  background: #f6f6f6;
}
.bg-light1 {
  background: rgba(0, 0, 0, 0.04);
}
.bg-greyy {
  background: #b8b8b8 !important;
}
.text-darkk {
  color: #000000;
}
.text-darkkk {
  color: #000000 !important;
}
.text-grey {
  color: #969696;
}
.text-lblue {
  color: #0f4ded !important;
}
.text-nblue {
  color: #0a0cf4 !important;
}
.text-app {
  color: #e7be92;
}
.text-lightt,
.text-lightt p {
  color: #555555 !important;
}
.brs-10 {
  border-radius: 10px;
}
.brs-15 {
  border-radius: 15px;
}
.brs-top-15 {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.brs-bot-15 {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: rgba(139, 150, 153, 0.2) 0 5px 18px;
}
.brs-bot-30 {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.brs-20 {
  border-radius: 20px;
}
.brs-30 {
  border-radius: 30px;
}
.brs-40 {
  border-radius: 40px;
}
.brs-50 {
  border-radius: 50%;
}
.pad5-7 {
  padding: 3px 5px;
}
.lh-60 {
  line-height: 75px;
}
.fs-65 {
  font-size: 65px;
}
.sideimg {
  position: absolute;
  top: 0px;
  left: 0;
  width: 350px;
}
.bg-under {
  background: #545454;
}
.mtn-48 {
  margin-top: -48px;
}
.wid-20 {
  width: 20px;
}
.fw-100 {
  font-weight: 100;
}
.fw-200 {
  font-weight: 200;
}
.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}
.fw-900 {
  font-weight: 900;
}
.btnsecondary {
  padding: 8px 30px;
  border-radius: 30px !important;
}

/*--------- Text overflow Control Css --------- */
.overelipsis1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.overelipsis2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.overelipsis3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.overelipsis {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wid-30 {
  width: 30px;
}
.w-250 {
  width: 250px;
}
.bg-hgrey {
  background: #f4f4f4;
}
.maskimg {
  position: absolute;
  right: 0;
  width: 200px;
  top: 0;
}

/*--------- Pagination Css (shared: listings / testimonials) ---------*/
.paginationcss .page-link {
  position: relative;
  display: block;
  padding: 15px 20px;
  line-height: 1.25;
  color: #121212;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  margin-right: 16px;
}
.page-item:first-child .page-link {
  border-radius: 50%;
}
.paginationcss .page-item:last-child .page-link {
  border-radius: 50%;
}
.paginationcss .page-item.active .page-link {
  color: #000000;
  background-color: #e7be92;
  border-color: #dee2e6;
}

/*--------- Owl-Carousel Css --------- */
.owl-item a:hover {
  text-decoration: none;
}
.owl-theme .owl-controls .owl-page span {
  background: #e7be92;
}
.owl-buttons {
  position: absolute;
  right: 74px;
  top: -70px;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div {
  cursor: pointer;
  background: #000000 !important;
  width: 50px;
}
.owl-controls .owl-page {
  background: transparent !important;
  width: 20px !important;
}

/*--------- Social media icons Css ---------*/
.bg-fb {
  background: #3b5998;
}
.bg-twit {
  background: #00acee;
}
.bg-link {
  background: #0072b1;
}
.bg-whats {
  background: #25d366;
}

/*--------- Custotm style ScrollBar Css ---------*/
.cusscroll ::-webkit-scrollbar {
  width: 2px;
}
.cusscroll ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
}
.cusscroll ::-webkit-scrollbar-thumb {
  background: #e7be92;
  border-radius: 10px;
}
.cusscroll ::-webkit-scrollbar-thumb:hover {
  background: #b30000;
}

.text-red {
  color: red;
}
.h-280 {
  height: 310px;
  object-fit: cover;
}
.h-250 {
  height: 250px;
  object-fit: cover;
}

.text-nblue,
.text-lblue {
  color: #e7be92 !important;
}
.text-darkk,
.text-darkkk {
  color: #ffffff !important;
}
.text-grey,
.text-96 {
  color: rgba(255, 255, 255, 0.6) !important;
}
.text-lightt,
.text-lightt p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.bg-hgrey,
.bg-news,
.bg-greyy {
  background: rgba(255, 255, 255, 0.05) !important;
}
.bg-light1 {
  background: rgba(255, 255, 255, 0.04);
}

.border {
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.blogarea img,
img.border {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.card {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}
.card-header {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.modal-content {
  background: #0d2536;
  color: #ffffff;
}

/* --- Pagination --- */
.paginationcss .page-link {
  color: #ffffff;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.paginationcss .page-item.active .page-link {
  color: #0c2334;
  background-color: #e7be92;
  border-color: #e7be92;
}

/* ---------- GLOBAL — Responsive ---------- */

@media (max-width: 767px) {
  /*COMMON CODE*/
  .mob-d-flex {
    display: flex !important;
  }
  .mob-flex-col {
    flex-direction: column !important;
  }
  .mob-border-none {
    border: none !important;
  }
  .mob-text-center {
    text-align: center !important;
  }
  .height-auto {
    height: auto !important;
  }
  .mobpx-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .mobd-none {
    display: none !important;
  }
  .mobp-static {
    position: static !important;
  }
  .mobpl-15 {
    padding-left: 15px !important;
  }
  .mobpl-0 {
    padding-left: 0px !important;
  }
  .mobpr-15 {
    padding-right: 15px !important;
  }
  .mobpx-15 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .mobpx-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .mobmx-0 {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .mobmr-15 {
    margin-right: 15px !important;
  }
  .mobtext-center {
    text-align: center !important;
  }
  .mobw-100 {
    width: 100% !important;
  }
  .mobmy-5px {
    margin: 5px 0px !important;
  }
  .mobfs-24 {
    font-size: 24px !important;
  }
  .moblh-3 {
    line-height: 3;
  }
  .mobtext-right {
    text-align: right !important;
  }
  .mobjustify-right {
    justify-content: end !important;
  }
  .file-upload-input {
    width: 200px !important;
  }
  .btnprimary {
    padding: 8px 22px !important;
    font-size: 14px;
  }
}

@media (max-width: 450px) {
  .fs-65 {
    font-size: 40px !important;
  }
  .fs-40 {
    font-size: 35px !important;
  }
  .w-75 {
    width: 100% !important;
  }
  .sideimg {
    display: none;
  }
  .centext {
    text-align: center;
  }
  .py-5 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .pt-5 {
    padding-top: 10px !important;
  }
  .owl-buttons {
    right: -4px;
    top: -38px;
  }
  .pt-3 {
    padding-top: 0.5rem !important;
  }
  .lh-60 {
    line-height: 52px;
  }
  .mr-20 {
    margin-right: 0px !important;
  }
  .w-250 {
    width: 200px;
  }
}

@media (max-width: 375px) {
  .fs-50 {
    font-size: 35px !important;
  }
  .fs-40 {
    font-size: 28px !important;
  }
}

.navbar-light .navbar-nav .nav-link {
  color: black;
  font-size: 16px;
  font-weight: 500;
}

/*Navbar Styles*/
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}
.navbar-nav .nav-link:hover {
  color: #e7be92 !important;
}
.navbar-nav .dropdown .nav-link:hover {
  color: #e7be92 !important;
}

.navbar-nav .dropdown .nav-link.active {
  color: #ffffff !important;
}

.top-navbar-head.activescroll {
  background: #fff;
  box-shadow: rgba(139, 150, 153, 0.2) 0 5px 18px;
}
nav.breadcrumb {
  position: relative;
  justify-content: flex-start;
}
ol.breadcrumb {
  justify-content: flex-start;
  align-items: center;
  margin: 0px;
  padding: 0px;
}
.bred_flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.bred_flex h1 {
  font-size: 18px;
  margin-bottom: 0px;
}

/*--------- Top Menu Css ---------*/
.top_menu {
  background: linear-gradient(90deg, #0a1a27, #0d2536 55%, #0a1a27) !important;
  border-bottom: 1px solid rgba(231, 190, 146, 0.18);
  font-size: 13px;
}
.top_menu .row {
  align-items: center;
  min-height: 34px;
}
.top_menu .py-3,
.top_menu .pt-3 {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.top_menu .list-inline-item {
  margin-right: 22px;
}
.top_menu .list-inline-item:last-child {
  margin-right: 0;
}
.top_menu a,
.top_menu a span {
  font-size: 13px;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}
.top_menu a:hover,
.top_menu a:hover span {
  color: #e7be92 !important;
}
.top_menu .fs-18 {
  font-size: 13px !important;
}
.top_menu marquee,
.top_menu marquee span {
  font-size: 12.5px;
}
.top_menu .float-right a.text-app.brs-50 {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(231, 190, 146, 0.4);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.top_menu .float-right a.text-app.brs-50:hover {
  background: #e7be92;
  border-color: #e7be92;
}
.top_menu .float-right a.text-app.brs-50:hover i {
  color: #0c2334 !important;
}
.top_menu .float-right a i {
  font-size: 12px;
  background: transparent;
  border-radius: 0;
  color: #e7be92;
  padding: initial;
  width: auto;
  height: auto;
  text-align: center;
}

.breadcrumb {
  border-radius: 0px;
}

/* --- Navbar: muted gray bar, centered menu (Figma header) --- */
.bg-white {
  background: transparent !important;
}
nav.navbar.top-navbar-head {
  background: transparent !important;
}
.navbar-light .navbar-nav .nav-link {
  color: #ffffff;
}
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover {
  color: #ffffff;
  font-style: italic;
}
.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.top-navbar-head.activescroll {
  background: transparent !important;
  box-shadow: none;
}
.navbar .dropdown-menu {
  background: #0d2536;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.navbar .dropdown-menu .dropdown-item {
  color: #ffffff;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.06);
  color: #e7be92;
}

/* --- Breadcrumb band --- */
nav.breadcrumb {
  display: flex;
  align-items: stretch;
  background: linear-gradient(#0b1f2e);
  min-height: 50px;
  padding: 0;
  margin-bottom: 0;
  border-radius: 0;
}
nav.breadcrumb > .container,
nav.breadcrumb > .container-fluid {
  display: flex;
  align-items: center;
}
nav.breadcrumb .bred_flex p {
  order: 2;
  font-family: "Karla", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #ffffff;
  margin: 0;
}
nav.breadcrumb .bred_flex p::before {
  content: "/";
  display: inline-block;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 8px;
}
ol.breadcrumb {
  background: transparent;
}
.breadcrumb-item,
.breadcrumb-item a {
  font-family: "Karla", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb-item a:hover {
  color: #e7be92;
  text-decoration: none;
}
.breadcrumb-item.active a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- HEADER — Responsive ---------- */

@media (max-width: 1024px) {
  .top_menu {
    display: none;
  }
  .navbar {
    padding: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  nav.breadcrumb .bred_flex p,
  .breadcrumb-item,
  .breadcrumb-item a {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 767px) {
  .bred_flex {
    flex-wrap: wrap;
  }
  nav.breadcrumb .bred_flex p,
  .breadcrumb-item,
  .breadcrumb-item a {
    font-size: 15px;
    line-height: 22px;
  }
  nav.breadcrumb .bred_flex p::before {
    margin: 0 6px;
  }
}

@media (max-width: 450px) {
  .navbar-brand.fs-30 {
    font-size: 26px !important;
  }
  a.navbar-brand.fs-30.fw-900.mdx-navbar-brand {
    font-size: 22px !important;
    max-width: 217px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
}

@media (max-width: 375px) {
  .navbar-brand.fs-30 {
    font-size: 20px !important;
  }
}

@media (max-width: 325px) {
  .navbar-brand.fs-30 {
    font-size: 16px !important;
  }
}

nav.navbar.top-navbar-head.mdx-premium-nav {
  background: rgba(11, 31, 51, 0.55) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition:
    background 300ms ease,
    padding 300ms ease,
    box-shadow 300ms ease;
  animation: mdxNavFadeIn 500ms ease both;
}

nav.navbar.top-navbar-head.mdx-premium-nav.activescroll {
  background: rgba(11, 31, 51, 0.88) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

/* @keyframes mdxNavFadeIn — consolidated into the ANIMATIONS section
   at the end of this file (still used above via `animation:`) */

/* Logo */
.mdx-premium-nav .mdx-navbar-brand {
  display: flex;
  align-items: center;
  font-size: 22px !important;
  font-weight: 500;
}
.mdx-premium-nav .mdx-navbar-brand img {
  max-height: 46px;
  width: auto;
  transition: max-height 300ms ease;
}
.mdx-premium-nav.activescroll .mdx-navbar-brand img {
  max-height: 36px;
}

/* Menu — center alignment, spacing, typography */
.mdx-premium-nav .mdx-nav-links {
  align-items: center;
}
.mdx-premium-nav .mdx-nav-item {
  padding-left: 16px;
  padding-right: 16px;
}
.mdx-premium-nav .mdx-nav-link {
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85) !important;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  transition:
    color 300ms ease,
    transform 300ms ease;
}
.mdx-premium-nav .mdx-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #e7be92;
  transition:
    width 300ms ease,
    left 300ms ease;
}
.mdx-premium-nav .mdx-nav-link:hover,
.mdx-premium-nav .mdx-nav-link:focus {
  color: #ffffff !important;
  transform: translateY(-2px);
}
.mdx-premium-nav .mdx-nav-link:hover::after,
.mdx-premium-nav .mdx-nav-link:focus::after {
  width: 100%;
  left: 0;
}
.mdx-premium-nav .mdx-nav-link.active {
  color: #e7be92 !important;
}
.mdx-premium-nav .mdx-nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Dropdown — glass panel */
.mdx-premium-nav .mdx-dropdown-menu {
  background: rgba(13, 37, 54, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.mdx-premium-nav .mdx-dropdown-item {
  transition:
    background 250ms ease,
    color 250ms ease,
    padding-left 250ms ease;
}
.mdx-premium-nav .mdx-dropdown-item:hover,
.mdx-premium-nav .mdx-dropdown-item:focus {
  padding-left: 22px;
}

/* Hamburger — animated to an X, CSS-only (keys off Bootstrap's aria-expanded) */
.mdx-premium-nav .mdx-toggler {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
}
.mdx-premium-nav .mdx-toggler-icon {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
  background-image: none !important;
}
.mdx-premium-nav .mdx-toggler-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition:
    transform 300ms ease,
    opacity 300ms ease,
    top 300ms ease;
}
.mdx-premium-nav .mdx-toggler-icon span:nth-child(1) {
  top: 0;
}
.mdx-premium-nav .mdx-toggler-icon span:nth-child(2) {
  top: 7px;
}
.mdx-premium-nav .mdx-toggler-icon span:nth-child(3) {
  top: 14px;
}
.mdx-premium-nav
  .mdx-toggler[aria-expanded="true"]
  .mdx-toggler-icon
  span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.mdx-premium-nav
  .mdx-toggler[aria-expanded="true"]
  .mdx-toggler-icon
  span:nth-child(2) {
  opacity: 0;
}
.mdx-premium-nav
  .mdx-toggler[aria-expanded="true"]
  .mdx-toggler-icon
  span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Mobile collapse — slide down glass panel */
@media (max-width: 767px) {
  .mdx-premium-nav .mdx-nav-collapse {
    background: rgba(11, 31, 51, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-top: 14px;
    padding: 10px 14px;
    animation: mdxMobileSlide 350ms ease both;
  }
  .mdx-premium-nav .mdx-nav-item {
    padding-left: 8px;
    padding-right: 8px;
  }
  .mdx-premium-nav .mdx-nav-link {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .mdx-premium-nav .mdx-nav-link::after {
    display: none;
  }
}

/* @keyframes mdxMobileSlide — consolidated into the ANIMATIONS
   section at the end of this file (still used above via
   `animation:`). Its prefers-reduced-motion handling is merged
   into the master reduced-motion block there too. */

/* ==================================================
   FOOTER
   ================================================== */

/*--------- Footer Css ---------*/
footer p.footba::before {
  content: "";
  position: absolute;
  width: 420px;
  left: 0;
  height: 1px;
  background: #575757;
  top: 31px;
}
footer p.footba::after {
  content: "";
  position: absolute;
  width: 420px;
  right: 0;
  height: 1px;
  background: #575757;
  top: 31px;
}

@media (max-width: 1200px) {
  footer p.footba::before {
    display: none;
  }
  footer p.footba::after {
    display: none;
  }
}

/* ============================================================
   FOOTER SECTION (Medicorex)
   ============================================================ */

.mdx-footer {
  padding: 90px 0 10px;
}

/* --- Left column: logo + description --- */
.mdx-footer-brand {
  display: inline-block;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
}

.mdx-footer-brand:hover {
  color: #ffffff;
  text-decoration: none;
}

.mdx-footer-desc {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  max-width: 430px;
  margin-top: 26px;
}

.mdx-footer-desc p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 0;
}

/* --- Middle column: vertical menu --- */
.mdx-footer-menu li {
  margin-bottom: 15px;
}

.mdx-footer-menu li:last-child {
  margin-bottom: 0;
}

.mdx-footer-menu li a {
  color: #ffffff;
  font-size: 14px;
  transition: color 0.3s ease;
}

.mdx-footer-menu li a:hover {
  color: #e7be92;
  text-decoration: none;
}

/* --- Right column: newsletter --- */
.mdx-newsletter-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  text-transform: none; /* design uses sentence case; theme default capitalizes headings */
  margin-bottom: 22px;
}

.mdx-newsletter-desc {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 28px;
}

.mdx-newsletter-input-group {
  gap: 16px;
  flex-wrap: nowrap; /* input + button on one row (stacks only on small phones) */
}

/* theme_css forces transparent bg + gold border on inputs with !important,
   so these overrides need !important too */
.mdx-newsletter-input-group input {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  height: 36px;
  padding: 0 20px;
  background: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  color: #0c2334 !important;
  font-size: 14px;
}

.mdx-newsletter-input-group input::placeholder {
  color: #444444;
  opacity: 1;
}

.mdx-newsletter-input-group input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #e7be92;
}

.mdx-newsletter-input-group button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 36px;
  background: #e7be92;
  color: #0c2334;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.mdx-newsletter-input-group button:hover {
  background: #d9a970;
  color: #0c2334;
}

/* jQuery validate error message */
#subscribe_form label#dw_s_emial-error,
#subscribe_form label.error {
  display: block;
  color: #ff8080;
  font-size: 14px;
  margin: 10px 0 0;
}

/* --- Bottom footer: divider, copyright, social icons --- */
.mdx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  margin-top: 40px;
  padding-top: 18px;
  gap: 20px;
}

.mdx-copyright {
  color: #ffffff;
  font-size: 14px;
}

.mdx-copyright a,
.mdx-copyright span a {
  color: #ffffff;
  transition: color 0.3s ease;
}

/* .text-main paints the CMS copyright name gold with !important — keep it white */
.mdx-copyright strong,
.mdx-copyright strong.text-main {
  color: #ffffff !important;
}

.mdx-copyright a:hover {
  color: #e7be92;
  text-decoration: none;
}

.mdx-social-list {
  gap: 16px;
}

.mdx-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  color: #000000;
  font-size: 16px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.mdx-social-icon:hover {
  background: #e7be92;
  color: #0c2334;
  text-decoration: none;
}

/* ============================================================
   FOOTER SECTION — RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .mdx-footer {
    padding: 60px 0 30px;
  }

  .mdx-footer-col {
    margin-bottom: 40px;
  }

  .mdx-footer-col:last-child {
    margin-bottom: 0;
  }

  .mdx-footer-brand,
  .mdx-newsletter-title {
    font-size: 28px;
  }

  .mdx-footer-bottom {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  .mdx-footer-brand,
  .mdx-newsletter-title {
    font-size: 24px;
  }

  .mdx-footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .mdx-social-list {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .mdx-footer-brand,
  .mdx-newsletter-title {
    font-size: 20px;
  }

  .mdx-newsletter-input-group {
    flex-wrap: wrap;
  }

  .mdx-newsletter-input-group input {
    flex: 1 1 100%;
  }

  .mdx-newsletter-input-group button {
    flex: 1 1 100%;
  }
}

/* ==================================================
   HOME PAGE — HERO BANNER
   ================================================== */

/*Banner Section STYLES*/
.carousel-indicators li {
  border-radius: 50%;
  width: 12px;
  height: 12px;
}
.banner_txt {
  position: absolute;
  top: 505;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  width: 80%;
}
.banner_txt h3 {
  font-size: 40px;
  font-weight: bold;
}

.banner_txt p {
  font-size: 20px;
}

a._banner_href {
  color: #fff;
  width: 100%;
  display: block;
}

/*.banner_txt h1{font-size:50px;font-size: 60px;width: 75%;font-weight: 900;}*/
/*.banner_txt p{width:75%;}*/

#democ .carousel-indicators .active {
  background: #e7be92;
  border: 1px solid #e7be92;
  margin-top: 9px;
}

/* Legacy mobile banner override — kept before the redesigned banner
   block below to preserve the original cascade order */
@media (max-width: 767px) {
  .banner_txt h1 {
    font-size: 24px;
    width: 100%;
  }
}

/* ── Banner Text Positioning ── */
.carousel-item {
  position: relative;
}
.banner_txt {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 5%;
  max-width: 55%;
}

/* Tagline */
.banner_txt .mcx-tagline {
  color: #c9a96e;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Heading */
.banner_txt h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
}
.banner_txt h1 .mcx-highlight {
  background: #c9a96e;
  color: #1b1b2f;
  padding: 2px 18px;
  border-radius: 8px;
  display: inline-block;
}

/* Subheading / Description */
.banner_txt .fs-16 {
  color: #a0abbe !important;
  font-size: 15px !important;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 28px;
}

/* Buttons */
/*.banner_txt .buttons .btn.btnprimary {*/
/*    border: 2px solid #C9A96E;*/
/*    color: #C9A96E;*/
/*    background: transparent;*/
/*    padding: 12px 30px;*/
/*    border-radius: 50px;*/
/*    font-weight: 600;*/
/*    font-size: 15px;*/
/*    transition: all 0.3s ease;*/
/*}*/
/*.banner_txt .buttons .btn.btnprimary:hover {*/
/*    background: #C9A96E;*/
/*    color: #0F1B2D;*/
/*}*/

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .banner_txt {
    max-width: 70%;
  }
  .banner_txt h1 {
    font-size: 32px;
  }
}
@media (max-width: 575.98px) {
  .banner_txt {
    max-width: 90%;
    padding: 0 16px;
  }
  .banner_txt h1 {
    font-size: 26px;
  }
  .banner_txt .fs-16 {
    font-size: 13px !important;
  }
}

/* ==================================================
   HOME PAGE — ABOUT
   ================================================== */

/*About Styles*/
.docimgabout {
  width: 350px;
  object-fit: cover;
  position: absolute;
  height: 400px;
  left: 40px;
  top: 35px;
}
.docimgabouthome {
  width: 350px !important;
  height: 350px !important;
}
.about_homepage div.text-lightt p {
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Legacy about responsive */
@media (max-width: 767px) {
  .docimgabouthome {
    position: static;
  }
}

@media (max-width: 325px) {
  .docimgabout {
    width: 285px;
    height: 285px;
  }
}

/* ============================================================
   ABOUT US SECTION — DARK THEME
   ============================================================ */

/* --- Section Base --- */
.about-homepage-dark {
  background-color: #0e1e33;
  padding: 70px 0;
  overflow: hidden;
}

.about-homepage-dark .sideimg {
  opacity: 0.08;
}

/* --- Image Block --- */
.about-img-box {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.about-img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

/* --- Content Block --- */
/*.about-content-block {*/
/*    padding-left: 24px;*/
/*}*/

.about-content-heading {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.about-content-title {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 16px;
  line-height: 1.25;
  display: none;
}

.about-content-short {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin-bottom: 20px;
}

.about-content-body {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  margin-bottom: 30px;
}

.about-content-body p,
.about-content-short p {
  color: #ffffff;
  margin-bottom: 10px;
}

.about-content-body p:last-child,
.about-content-short p:last-child {
  margin-bottom: 0;
  font-size: 13px;
}

/* --- Know More CTA --- */
.about-cta-wrap {
  margin-top: 8px;
}

.btn-about-know-more {
  display: inline-block;
  padding: 8px 19px;
  background-color: #e7be92;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #e7be92;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.15s ease;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.btn-about-know-more:hover {
  background-color: transparent;
  color: #d4a574;
  border-color: #d4a574;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-about-know-more:focus {
  outline: 2px solid #d4a574;
  outline-offset: 3px;
  text-decoration: none;
}

.btn-about-know-more:active {
  transform: translateY(0);
}

/* ============================================================
   ABOUT US — RESPONSIVE
   ============================================================ */

/* --- 1400px+ --- */
@media (min-width: 1400px) {
  .about-homepage-dark {
    padding: 80px 0;
  }

  .about-img {
    height: 380px;
  }

  .about-content-heading {
    font-size: 30px;
  }

  .about-content-body,
  .about-content-short {
    font-size: 17px;
  }
}

/* --- 1200px – 1399px --- */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .about-img {
    height: 260px;
  }
}

/* --- 992px – 1199px --- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .about-homepage-dark {
    padding: 60px 0;
  }

  .about-img {
    height: 310px;
  }

  .about-content-heading {
    font-size: 26px;
  }

  .about-content-body,
  .about-content-short {
    font-size: 15px;
  }

  .about-content-block {
    padding-left: 16px;
  }
}

/* --- 768px – 991px --- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .about-homepage-dark {
    padding: 50px 0;
  }

  .about-img {
    height: 270px;
  }

  .about-content-block {
    padding-left: 12px;
  }

  .about-content-heading {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .about-content-body,
  .about-content-short {
    font-size: 14px;
    line-height: 1.3;
  }
}

/* --- Below 768px --- */
@media (max-width: 767.98px) {
  .about-homepage-dark {
    padding: 40px 0;
  }

  .about-img-box {
    margin-bottom: 28px;
  }

  .about-img {
    height: 280px;
  }

  .about-content-block {
    padding-left: 0;
  }

  .about-content-heading {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .about-content-body,
  .about-content-short {
    font-size: 15px;
  }

  .btn-about-know-more {
    padding: 10px 26px;
    font-size: 14px;
  }
}

/* --- Below 576px --- */
@media (max-width: 575.98px) {
  .about-homepage-dark {
    padding: 32px 0;
  }

  .about-img-box {
    margin-bottom: 24px;
  }

  .about-img {
    height: 220px;
  }

  .about-content-heading {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .about-content-body,
  .about-content-short {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .btn-about-know-more {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* ============================================================
   ABOUT US INNER PAGE
   ============================================================ */

.about-inner-hero {
  background-color: #0b1929;
  padding-bottom: 60px;
}

/* --- Left: overlapping image + badge --- */
.about-inner-media {
  position: relative;
  max-width: 480px;
  margin: 0 auto 90px;
}

.about-inner-img-1 img {
  display: block;
  width: 72%;
  height: 252px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

.about-inner-img-2 {
  position: absolute;
  right: 0%;
  bottom: -63px;
  width: 65%;
  z-index: 2;
}

.about-inner-img-2 img {
  display: block;
  width: 86%;
  height: 195px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-inner-badge {
  position: absolute;
  top: 32%;
  right: 0%;
  transform: translateY(-50%);
  z-index: 3;
  box-sizing: border-box;
  width: 150px;
  height: 133px;
  background-color: #e7be92;
  color: #0b1929;
  padding: 38px 22px 25px 14px;
  clip-path: path(
    "M0,110.53 L0,12.63 Q0,0 12.63,0 L137.37,0 Q150,0 147.09,12.29 L121.41,120.30 Q118.43,132.64 105.81,132.64 L22.11,132.64 Q0,132.64 0,110.53 Z"
  );
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-inner-badge h4 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 5px;
}

.about-inner-badge p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

/* --- Right: content typography --- */
.about-inner-content .about-inner-label {
  font-size: 22px !important;
}

.about-inner-content .about-inner-title {
  font-size: 40px;
}

.about-inner-content .text-lightt,
.about-inner-content .text-lightt p,
.about-inner-content .cms-content,
.about-inner-content .cms-content p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
}

/* --- Dynamic feature list arrows (CMS <ul><li> only) --- */
.cms-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}

.cms-content ul li {
  position: relative;
  padding-left: 28px;
  color: #ffffff;
  font-size: 14px;
  /* font-weight: 500; */
}

.cms-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #e7be92;
}

/* --- Info pages (services/treatments/departments/doctors/events/case
   studies detail pages) — CMS <ul><li> bullet icon --- */
.mdx-info-content ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}
.mdx-info-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.mdx-info-content ul li:last-child {
  margin-bottom: 0;
}
.mdx-info-content ul li::before {
  content: "";
  background-image: url("../img/checked-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 2px;
}

@media (max-width: 767.98px) {
  .about-inner-media {
    max-width: 340px;
    margin-bottom: 70px;
  }

  .about-inner-img-1 img {
    height: 260px;
  }

  .about-inner-img-2 {
    bottom: -50px;
    width: 60%;
  }

  .about-inner-img-2 img {
    height: 200px;
  }

  .about-inner-badge {
    width: 118px;
    height: 106px;
    padding: 11px 20px 11px 10px;
    clip-path: path(
      "M0,88.42 L0,10.26 Q0,0 10.26,0 L108.16,0 Q118.43,0 116.06,9.99 L95.55,95.79 Q93.16,105.81 82.95,105.81 L17.37,105.81 Q0,105.81 0,88.42 Z"
    );
  }

  .about-inner-badge h4 {
    font-size: 20px;
  }

  .about-inner-badge p {
    font-size: 12px;
  }

  .cms-content ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .about-inner-content .about-inner-title {
    font-size: 30px;
  }
}

/* ==================================================
   HOME PAGE — STATISTICS / COUNTERS
   ================================================== */

/* ============================================================
   STATISTICS SECTION
   ============================================================ */

/* --- Section Base --- */
.statistics-section {
  background-color: #0e1e33;
  padding: 60px 0;
  overflow: hidden;
}

/* --- Heading --- */
.statistics-heading {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

/* --- Stats Grid --- */
.statistics-row {
  justify-content: center;
}

/* --- Individual Stat Card --- */
.statistics-card {
  text-align: center;
  padding: 20px 10px;
}

.statistics-value {
  font-size: 40px;
  font-weight: 700;
  color: #d4a574;
  margin-bottom: 6px;
  line-height: 1.2;
}

.statistics-label {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
  line-height: 1.35;
}

/* --- Contact Us CTA --- */
.statistics-cta-wrap {
  text-align: center;
  margin-top: 36px;
}

.btn-statistics-contact {
  display: inline-block;
  padding: 11px 30px;
  font-size: 14px;
  font-weight: 700;
  background-color: #e7be92;
  color: #1a1a1a;
  border-radius: 6px;
  border: 1px solid #d4a574;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.15s ease;
}

.btn-statistics-contact:hover {
  background-color: transparent;
  color: #d4a574;
  border-color: #d4a574;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-statistics-contact:focus {
  outline: 2px solid #d4a574;
  outline-offset: 3px;
  text-decoration: none;
}

.btn-statistics-contact:active {
  transform: translateY(0);
}

/* ============================================================
   STATISTICS — RESPONSIVE
   ============================================================ */

/* --- 1400px+ --- */
@media (min-width: 1400px) {
  .statistics-section {
    padding: 70px 0;
  }

  .statistics-heading {
    font-size: 26px;
  }

  .statistics-value {
    font-size: 44px;
  }

  .statistics-label {
    font-size: 17px;
  }
}

/* --- 992px – 1199px --- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .statistics-section {
    padding: 50px 0;
  }

  .statistics-value {
    font-size: 36px;
  }
}

/* --- 768px – 991px --- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .statistics-section {
    padding: 45px 0;
  }

  .statistics-heading {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .statistics-value {
    font-size: 32px;
  }

  .statistics-label {
    font-size: 14px;
  }

  .statistics-card {
    padding: 16px 8px;
  }
}

/* --- Below 768px --- */
@media (max-width: 767.98px) {
  .statistics-section {
    padding: 40px 0;
  }

  .statistics-heading {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .statistics-value {
    font-size: 30px;
  }

  .statistics-label {
    font-size: 14px;
  }

  .statistics-card {
    padding: 14px 6px;
  }

  .statistics-cta-wrap {
    margin-top: 28px;
  }
}

/* --- Below 576px --- */
@media (max-width: 575.98px) {
  .statistics-section {
    padding: 32px 0;
  }

  .statistics-heading {
    font-size: 19px;
    margin-bottom: 20px;
  }

  .statistics-value {
    font-size: 26px;
  }

  .statistics-label {
    font-size: 13px;
  }

  .statistics-card {
    padding: 12px 4px;
  }

  .btn-statistics-contact {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* ==================================================
   HOME PAGE — WHY CHOOSE US
   ================================================== */

.whytochoosehome .choosetickbefore li {
  font-size: 18px;
  font-weight: 600;
}
.whytochoosehome .choosetickbefore p {
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
}

.whychoosevideo {
  position: absolute;
}
.choosetickbefore * {
  color: #1a2a3a;
}

.choosetickbefore ul,
.specialtick ul {
  list-style: none !important;
}
.choosetickbefore ul li {
  color: #1a2a3a;
  position: relative;
  margin-top: 20px;
  font-size: smaller;
}
.choosetickbefore ul li::before {
  content: url("../img/checked-icon.png");
  margin-right: 15px;
  position: absolute;
  left: -35px;
}

.wc-section {
  background-color: #0f1b2d;
  padding: 60px 0;
  overflow: hidden;
}
.wc-section .wc-heading {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  padding-bottom: 10px;
}
.wc-section .wc-heading span {
  color: var(--primary-color, #d4a574);
}

/* Left: 2x2 Card Grid */
/*.wc-cards-grid {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 24px;*/
/*}*/
.wc-card {
  background-color: #e7be92;
  border-radius: 16px;
  padding: 28px 24px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.wc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 165, 116, 0.25);
}
.wc-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f1b2d;
  margin-bottom: 12px;
}
.wc-card p {
  font-size: 14px;
  color: #1a2a3a;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Right: Static Image + Cycling Stats */
.wc-right-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 345px;
}
.wc-static-image {
  position: absolute;
  top: 50%;
  left: 57%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 310px;
  opacity: 0.25;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  filter: brightness(2.3);
}
.wc-stats-display {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 54px;
}
.wc-stats-line {
  width: 6px;
  height: 130px;
  background-color: #e7be92;
  border-radius: 2px;
  flex-shrink: 0;
}
.wc-stats-text-wrapper {
  position: relative;
  min-width: 220px;
  min-height: 100px;
  display: flex;
  align-items: center;
}
.wc-stat-item {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  white-space: nowrap;
}
.wc-stat-item.active {
  opacity: 1;
  transform: translateY(0);
}
.wc-stat-item.exit-up {
  opacity: 0;
  transform: translateY(-30px);
}
.wc-stat-value {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.wc-stat-label {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

/* ---------- WHY CHOOSE US — Responsive ---------- */

@media (max-width: 767px) {
  .whychoosevideo {
    position: relative !important;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .wc-right-panel {
    min-height: 300px;
    margin-top: 40px;
  }
  .wc-static-image {
    width: 200px;
    height: 200px;
  }
  .wc-stat-value {
    font-size: 36px;
  }
  .wc-stat-label {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .wc-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wc-section {
    padding: 40px 0;
  }
  .wc-heading {
    font-size: 26px !important;
    margin-bottom: 30px !important;
  }
  .wc-right-panel {
    min-height: 250px;
  }
}

/* ==================================================
   HOME PAGE — SERVICES (DIAMOND GRID / SLIDER)
   ================================================== */

.srv-diamond-section {
  /*background: #14233a;*/
  padding: 50px 0 70px;
  overflow: hidden;
}

.srv-diamond-section .srv-heading {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
}

/* Each diamond item wrapper */
.srv-diamond-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px 15px;
}

/* The diamond shape container (square, rotated 45deg) */
.srv-diamond-card {
  width: 290px;
  height: 290px;
  position: relative;
  flex-shrink: 0;
  /* 290 rotated 45deg = ~410 bounding box. Collapse dead space top & bottom */
  margin-top: -60px;
  margin-bottom: -55px;
}

/* The rotated diamond surface — fill with the section navy color */
.srv-diamond-clip {
  width: 100%;
  height: 100%;
  clip-path: inset(0 round 14px);
  transform: rotate(45deg);
  overflow: hidden;
  background: #14233a;
}

/* Image only fills the UPPER portion of the diamond; bottom stays navy */
.srv-diamond-clip img {
  display: block;
  width: 142%;
  height: 142%;
  object-fit: cover;
  object-position: center center;
  transform: rotate(-45deg);
  transform-origin: center center;
  position: absolute;
  top: -21%;
  left: -21%;
  /* Fade the lower part of the image into the navy so text sits on solid color */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    transparent 70%
  );
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 70%);
}

/* Shadow behind the diamond */
.srv-diamond-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: rgba(0, 0, 0, 0.25);
  transform: rotate(45deg);
  border-radius: 20px;
  filter: blur(14px);
  z-index: -1;
}

/* Text block overlay sitting in the LOWER navy area of the diamond */
.srv-diamond-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  z-index: 3;
  text-align: center;
  padding: 0 30px;
}

.srv-diamond-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.2;
}

.srv-diamond-link {
  display: inline-block;
  font-size: 12px;
  color: #c9a96e !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.srv-diamond-link:hover {
  color: #e0c185;
}

/* Row wrappers for staggered grid (non-slider) */
.srv-row-top,
.srv-row-bottom {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ============================================
   Owl-carousel (slider) mode overrides
   Diamond sized to ~68% of the slot so its rotated bounding box
   fits without overlapping; grid negative margins reset.
   ============================================ */
/*.srv-diamond-section .owl-carousel .srv-diamond-item {*/
/*    padding: 0;*/
/*}*/

.srv-diamond-section .owl-carousel .srv-diamond-item > a,
.srv-diamond-section .owl-carousel .srv-diamond-item > .d-flex {
  display: block;
  width: 100%;
}

.srv-diamond-section .owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.srv-diamond-section .owl-carousel .srv-diamond-card {
  width: 60%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.srv-diamond-section .owl-carousel .srv-diamond-item .d-flex {
  width: 90%;
  padding: 50px 0;
}

/* Text block scales for slider diamonds */
.srv-diamond-section .owl-carousel .srv-diamond-text {
  bottom: 0%;
}

/* Responsive: Tablet */
@media (max-width: 991.98px) {
  .srv-diamond-card {
    width: 230px;
    height: 230px;
    margin-top: -48px;
    margin-bottom: -44px;
  }

  .srv-diamond-clip {
    clip-path: inset(0 round 18px);
  }

  .srv-diamond-card::before {
    border-radius: 18px;
  }

  .srv-diamond-text {
    bottom: 46px;
  }

  .srv-diamond-name {
    font-size: 18px;
  }
}

/* Responsive: Mobile */
@media (max-width: 767.98px) {
  .srv-diamond-section {
    padding: 40px 0 50px;
  }

  .srv-row-top,
  .srv-row-bottom {
    flex-wrap: wrap;
  }

  .srv-row-top .srv-diamond-item,
  .srv-row-bottom .srv-diamond-item {
    width: 50%;
    padding: 0 5px 15px;
  }

  .srv-diamond-card {
    width: 175px;
    height: 175px;
    margin-top: -36px;
    margin-bottom: -33px;
  }

  .srv-diamond-clip {
    clip-path: inset(0 round 14px);
  }

  .srv-diamond-card::before {
    border-radius: 14px;
  }

  .srv-diamond-text {
    bottom: 34px;
    padding: 0 15px;
  }

  .srv-diamond-name {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .srv-diamond-link {
    font-size: 12px;
  }
}

@media (max-width: 479.98px) {
  .srv-diamond-card {
    width: 140px;
    height: 140px;
    margin-top: -29px;
    margin-bottom: -26px;
  }

  .srv-diamond-clip {
    clip-path: inset(0 round 12px);
  }

  .srv-diamond-card::before {
    border-radius: 12px;
  }

  .srv-diamond-text {
    bottom: 26px;
    padding: 0 8px;
  }

  .srv-diamond-name {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .srv-diamond-link {
    font-size: 11px;
  }

  .srv-row-top .srv-diamond-item,
  .srv-row-bottom .srv-diamond-item {
    padding: 0 3px 12px;
  }
}

/* ==================================================
   HOME PAGE — SPECIALITIES
   ================================================== */

/*--------- Speciality's Css ---------*/
.specialtick ul {
  padding-left: 0px;
}
/*.specialtick{    display: flex;*/
/*    align-items: center;}*/
.specialtick {
  position: absolute;
  left: -10px;
}
.artdate {
  right: 0px;
  position: absolute;
  bottom: 22px;
  background: #e7be92;
  padding: 10px 15px;
}

/* Specialties card grid (About Us page) */
.spl-heading {
  text-align: center;
}
.spl-row {
  margin-left: -12px;
  margin-right: -12px;
}
.spl-col {
  padding-left: 12px;
  padding-right: 12px;
}
.spl-card {
  background: #0b1f2e;
  border: 1px solid #e7be92;
  border-radius: 8px;
  padding: 28px 24px;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
  height: 220px;
  display: flex;
  flex-direction: column;
}
.spl-card-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.35s ease;
  flex: 0 0 auto;
}
.spl-card-desc {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  padding-right: 8px;
  transition: color 0.35s ease;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  word-wrap: break-word;
  scrollbar-width: thin;
  scrollbar-color: #e7be92 #0b1f2e;
}
.spl-card-desc::-webkit-scrollbar {
  width: 6px;
}
.spl-card-desc::-webkit-scrollbar-track {
  background: #0b1f2e;
  border-radius: 4px;
}
.spl-card-desc::-webkit-scrollbar-thumb {
  background-color: #e7be92;
  border-radius: 4px;
}
.spl-card:hover .spl-card-desc {
  scrollbar-color: #0c2334 #e7be92;
}
.spl-card:hover .spl-card-desc::-webkit-scrollbar-track {
  background: #e7be92;
}
.spl-card:hover .spl-card-desc::-webkit-scrollbar-thumb {
  background-color: #0c2334;
}
.spl-card:hover {
  background: #e7be92;
  border-color: #e7be92;
}
.spl-card:hover .spl-card-title {
  color: #0c2334;
}
.spl-card:hover .spl-card-desc {
  color: #0c2334;
}
@media (min-width: 1200px) {
  .col-xl-fifth {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ==================================================
   HOME PAGE — TESTIMONIALS (shared with Testimonials page)
   ================================================== */

/*--------- Tesimonial Css --------- */
.testimoimg {
  width: 75px;
  height: 75px;
  border-radius: 50%;
}

/* Legacy testimonials slider controls (mobile) */
@media (max-width: 450px) {
  #testimonials_slider .owl-buttons {
    top: 0px;
    position: relative;
  }
}

/*--------- Testimonials Page - Patient Reviews Slider ---------*/
/* Theme colors reused: #0D2536 (secondary section bg, via .secondary_section),
   #E7BE92 (primary btn bg / beige), #0C2334 (primary btn text / dark), #FFFFFF.
   Hardcoded (no theme match): #F4F4F4 card upper section. */

.mdx-reviews-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.mdx-review-item {
  display: flex;
  width: 100%;
  padding: 0 14px;
}

/* Rounded card: beige body with white upper section.
   Fixed height = Figma frame ratio (355px at ~400px card width),
   so slider/flex quirks can never stretch or clip it. */
.mdx-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 305px;
  background: #e7be92;
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mdx-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* Decorative curved border - beige line across the top, down the right */
.mdx-review-card::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 22px;
  left: 52px;
  height: 180px;
  border-top: 3px solid #e7be92;
  border-right: 3px solid #e7be92;
  border-top-right-radius: 30px;
  pointer-events: none;
  z-index: 1;
}

/* Decorative curved border - dark line down the left, along the bottom */
.mdx-review-card::after {
  content: "";
  position: absolute;
  top: 152px;
  bottom: 26px;
  left: 24px;
  right: 52px;
  border-left: 2px solid #0c2334;
  border-bottom: 2px solid #0c2334;
  border-bottom-left-radius: 30px;
  pointer-events: none;
  z-index: 1;
}

/* White upper section */
.mdx-review-top {
  position: relative;
  flex-shrink: 0;
  height: 150px;
  background: #f4f4f4;
}

/* Large quotation mark */
.mdx-reviews .mdx-review-quote {
  position: absolute;
  top: 50px;
  left: 24px;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: #0c2334;
}

/* Circular patient image overlapping both sections */
.mdx-review-avatar {
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
}

.mdx-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Beige lower section */
.mdx-review-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 30px 48px 46px 52px;
}

.mdx-reviews .mdx-review-text {
  color: #0c2334;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Figma shows 4 lines; keeps text inside the fixed card */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mdx-reviews .mdx-review-name {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 8px;
  text-align: right;
  color: #0c2334;
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
}

/* Equal-height slides */
#testimonials_page_slider .owl-wrapper,
#testimonials_slider .owl-wrapper {
  display: flex !important;
}

#testimonials_page_slider .owl-item,
#testimonials_slider .owl-item {
  display: flex;
  float: none;
}

/* Carousel navigation - centered circular buttons below the cards */
.mdx-reviews .owl-controls {
  margin-top: 40px;
  text-align: center;
}

.mdx-reviews .owl-buttons {
  position: static;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.mdx-reviews .owl-controls .owl-buttons div {
  width: 43px;
  height: 43px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  opacity: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mdx-reviews .owl-controls .owl-buttons div.owl-prev {
  background: #ffffff !important;
  color: #0c2334;
}

.mdx-reviews .owl-controls .owl-buttons div.owl-next {
  background: #e7be92 !important;
  color: #0c2334;
}

.mdx-reviews .owl-controls .owl-buttons div:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1199px) {
  .mdx-reviews .mdx-review-quote {
    font-size: 72px;
  }
}

@media (max-width: 767px) {
  .mdx-review-item {
    padding: 0 8px;
  }

  .mdx-review-card {
    height: 330px;
  }

  .mdx-review-top {
    height: 140px;
  }

  .mdx-reviews .mdx-review-quote {
    top: 8px;
    left: 18px;
    font-size: 64px;
  }

  .mdx-review-avatar {
    top: 40px;
    width: 118px;
    height: 118px;
  }

  .mdx-review-card::before {
    top: 22px;
    right: 18px;
    left: 44px;
    height: 160px;
    border-top-right-radius: 26px;
  }

  .mdx-review-card::after {
    top: 142px;
    bottom: 22px;
    left: 20px;
    right: 44px;
    border-bottom-left-radius: 26px;
  }

  .mdx-review-body {
    padding: 30px 24px 24px 44px;
  }

  .mdx-reviews .mdx-review-name {
    font-size: 16px;
  }

  .mdx-reviews .owl-controls {
    margin-top: 30px;
  }
}

/* ==================================================
   HOME PAGE — CASE STUDIES SLIDER
   Owl Carousel nav styling lives in the CASE STUDIES INDEX section
   near the end of this file (reuses the Testimonials nav treatment).
   ================================================== */

/* ==================================================
   HOME PAGE — BLOGS
   ================================================== */

/* ============================================================
   BLOGS SECTION (HOMEPAGE) — DARK THEME
   ============================================================ */

/* --- Heading: centered title, "View All" pinned top-right --- */
.blog_homepage h3 {
  text-align: center;
  position: relative;
  font-size: 24px;
  font-weight: 500;
}

.blog_homepage h3 > span {
  position: absolute;
  right: 16px;
  top: 0;
  float: none;
}

/* --- Card --- */
.blog_homepage .blog a,
.blog_homepage .blog a:hover {
  text-decoration: none;
}

/* Gold underline slides in on card hover (transparent bar avoids layout shift) */
.blog_homepage .blog::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 14px;
  background: transparent;
  transition: background-color 0.3s ease;
}

.blog_homepage .blog:hover::after {
  background: #e7be92;
}

/* Listing page title ("Blogs") */
.blog_homepage .mdx-blog-list-title {
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 32px !important;
  padding-bottom: 40px !important;
}
@media (max-width: 575px) {
  .blog_homepage .mdx-blog-list-title {
    font-size: 24px !important;
    padding-bottom: 24px !important;
  }
}

/* --- Image --- */
.blog_homepage .blog-img {
  overflow: hidden;
}

.blog_homepage .blog-img img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --- Content --- */
.blog_homepage .blog-content {
  padding-top: 16px;
}

.blog_homepage .blog-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.55;
  min-height: 30px; /* reserves 2 title lines so meta rows align across cards */
  transition: color 0.3s ease;
}

.blog_homepage .blog:hover .blog-title,
.blog_homepage .blog:hover .blog-meta-item,
.blog_homepage .blog:hover .blog-meta-item i {
  color: #e7be92;
}

/* --- Meta row (date / read time) --- */
.blog_homepage .blog-meta {
  gap: 24px;
}

.blog_homepage .blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  transition: color 0.3s ease;
}

.blog_homepage .blog-meta-item i {
  font-size: 16px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.blog_homepage .blog-meta-date {
  text-transform: lowercase; /* Figma shows "14-aug-2025" */
}

/* ============================================================
   BLOGS SECTION — RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .blog_homepage .blog-meta {
    gap: 14px;
  }

  .blog_homepage .blog-title {
    font-size: 20px;
    min-height: 62px;
  }
}

@media (max-width: 767px) {
  .blog_homepage h3 {
    font-size: 24px;
  }

  .blog_homepage .blog-title {
    font-size: 18px;
    min-height: 56px;
  }

  .blog_homepage .blog-meta-item {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .blog_homepage h3 {
    font-size: 20px;
  }

  .blog_homepage .blog {
    margin-bottom: 30px;
  }

  .blog_homepage .blog-title {
    min-height: 0;
  }
}

/* ==================================================
   SERVICES — SERVICE INDEX PAGE
   ================================================== */

/*services*/
.service .testimoimg {
  width: 75px;
  height: 75px;
  border-radius: 50%;
}

.service-card:hover .text-hover-color {
  color: #e7be92 !important;
}

/*Treatments Styles*/
.treatments .treatments-card:hover h3.treattitle {
  color: #e7be92;
}

/* ============================================
   SERVICE PAGE — diamond grid spacing override
   Scoped to .primary_section.service so the index
   page diamond layout is unaffected.
   ============================================ */
.primary_section.service .row {
  justify-content: center;
}

/* Give each diamond breathing room and kill the tight
   index-page negative margins that cause overlap */
.primary_section.service .srv-diamond-item {
  padding: 60px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.primary_section.service .srv-diamond-card {
  width: 200px;
  height: 200px;
  margin: 0 auto; /* remove the -60/-55 collapse */
}

/* Zigzag stagger: push the 2nd-row items (4th, 5th...) downward
   so they nest between the top row like Image 2.
   With col-md-4 the 4th & 5th cards start the second visual row. */
.primary_section.service .srv-diamond-item:nth-child(n + 4) {
  margin-top: -40px;
}

/* Image fills upper portion, text sits on navy below */
.primary_section.service .srv-diamond-clip img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 60%,
    transparent 72%
  );
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 72%);
}

.primary_section.service .srv-diamond-text {
  bottom: -15px;
}

/* ---- Tablet ---- */
@media (max-width: 991.98px) {
  .primary_section.service .srv-diamond-card {
    width: 200px;
    height: 200px;
  }
  .primary_section.service .srv-diamond-text {
    bottom: 42px;
  }
  .primary_section.service .srv-diamond-item:nth-child(n + 4) {
    margin-top: -30px;
  }
}

/* ---- Mobile: 2 per row, reset stagger ---- */
@media (max-width: 767.98px) {
  .primary_section.service .srv-diamond-item {
    padding: 0 10px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .primary_section.service .srv-diamond-card {
    width: 165px;
    height: 165px;
  }
  .primary_section.service .srv-diamond-text {
    bottom: 30px;
  }
  /* drop the desktop zigzag on small screens */
  .primary_section.service .srv-diamond-item:nth-child(n + 4) {
    margin-top: 15px;
  }
}

@media (max-width: 479.98px) {
  .primary_section.service .srv-diamond-card {
    width: 140px;
    height: 140px;
  }
  .primary_section.service .srv-diamond-text {
    bottom: 24px;
  }
}

/* ==================================================
   TREATMENTS PAGE — GRID FALLBACK (used when total
   treatments > 8; diamond grid is used at 8 and below).
   Same typography, colors, radius and hover language as
   the services/treatments diamond cards.
   ================================================== */
.trt-grid-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(12, 35, 52, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.trt-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(12, 35, 52, 0.2);
}

.trt-grid-img {
  height: 200px;
  overflow: hidden;
}

.trt-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trt-grid-card:hover .trt-grid-img img {
  transform: scale(1.06);
}

.trt-grid-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trt-grid-name {
  font-size: 18px;
  font-weight: 700;
  color: #0c2334;
  margin-bottom: 8px;
}

.trt-grid-card:hover .trt-grid-name {
  color: #e7be92;
}

.trt-grid-desc {
  font-size: 14px;
  font-weight: 300;
  color: #4a5a68;
  margin-bottom: 12px;
  flex: 1;
}

.trt-grid-link {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  color: #c9a96e !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trt-grid-link:hover {
  color: #e0c185;
}

@media (max-width: 767.98px) {
  .trt-grid-img {
    height: 170px;
  }
}

/* ==================================================
   DOCTORS — LISTING & PROFILE CARDS
   (shared: homepage doctors slider + doctors listing page)
   ================================================== */

/*Doctors*/
.doctor-card:hover .text-hover-color {
  color: #e7be92 !important;
}
.doctoricons {
  background: #000;
  margin: 0px 5px;
  color: #fff;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}

.doctors .doccard {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  padding: 20px;
}

.doctors .doccard-img {
  position: static;
  overflow: hidden;
  line-height: 0;
}

.doctors .doccard-img img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.doctors .doccard-info {
  padding: 24px 16px;
  text-align: center;
  background: #e8f6f9;
}

.doctors .doccard-info .doctitle {
  margin: 0 0 6px;
  color: #0b1929;
}

.doctors .doc-spec {
  color: #5a6b7b;
  font-weight: 600;
}

.doctors .doccard-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 40px 32px;
  background: linear-gradient(
    180deg,
    rgba(11, 25, 41, 0.45) 0%,
    rgba(11, 25, 41, 0.85) 100%
  );
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  z-index: 3;
}

.doctors .doccard:hover .doccard-overlay {
  opacity: 1;
  visibility: visible;
}

.doctors .doccard-overlay .doctitle {
  color: #ffffff;
  margin: 0;
}

.doctors .doccard-overlay .doc-spec {
  color: #e7eef5;
  margin: 0;
  font-weight: 500;
}

.doctors .doccard-divider {
  width: 56px;
  height: 2px;
  background: #d4a574;
  margin: 4px 0 8px;
}

.doctors .doc-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
}

.doctors .doc-contact:hover {
  color: #e7be92;
}

.doctors .doc-ic {
  display: inline-flex;
  color: #ffffff;
  flex-shrink: 0;
}

.doctors .doccard-profile {
  margin-top: 12px;
  color: #d4a574;
  font-weight: 700;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.doctors .doccard-profile:hover {
  color: #e7be92;
}

/* Overlay body text (news excerpt / award description) */
.doctors .doc-desc,
.doctors .doc-desc p {
  color: #e7eef5;
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}

.doctors .row {
  margin-left: -16px;
  margin-right: -16px;
}

.doctors .row > [class*="col-"] {
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: 32px;
}

@media (max-width: 1199px) {
  .doctors .doccard-img img {
    height: 340px;
  }
}

@media (max-width: 991px) {
  .doctors .doccard-overlay {
    padding: 32px 24px;
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .doctors .doccard-img img {
    height: 360px;
  }
  .doctors .doccard-overlay {
    padding: 28px 24px;
    gap: 12px;
  }
  .doctors .doccard-profile {
    font-size: 16px;
  }
  .doctors .doccard:focus-within .doccard-overlay {
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================================
   AWARDS INNER PAGE — PREMIUM REDESIGN
   New ancestor class (.mdx-awards-section, added alongside the
   existing "doctors" class on the <section> in awards.php) scopes
   every override below. The shared .doccard component used by the
   Doctors listing page is left completely untouched — nothing is
   removed or renamed, this only re-skins the Awards page and shows
   the award details up front instead of behind a hover-only overlay.
   ============================================================ */

.doctors.mdx-awards-section .mdx-awards-head {
  margin-bottom: 8px;
}

.doctors.mdx-awards-section .row > [class*="col-"] {
  display: flex;
}

.doctors.mdx-awards-section .doccard {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 22px rgba(15, 27, 45, 0.22);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.doctors.mdx-awards-section .doccard:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 190, 146, 0.35);
  box-shadow: 0 14px 34px rgba(15, 27, 45, 0.32);
}

.doctors.mdx-awards-section .doccard-img {
  position: relative;
}
.doctors.mdx-awards-section .doccard-img img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* The default title/year panel is superseded by the (now static)
   overlay below, which carries the full set of award details */
.doctors.mdx-awards-section .doccard-info {
  display: none;
}

.doctors.mdx-awards-section .doccard-overlay {
  position: static;
  opacity: 1;
  visibility: visible;
  background: none;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 22px 24px;
}
.doctors.mdx-awards-section .doccard-overlay .doctitle {
  font-size: 19px;
  margin-bottom: 2px;
}
.doctors.mdx-awards-section .doccard-overlay .doc-spec {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  line-height: 1.4;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0c2334;
  background: #e7be92;
  margin: 4px 0 6px;
}
.doctors.mdx-awards-section .doccard-divider {
  display: none;
}
.doctors.mdx-awards-section .doc-contact {
  font-size: 14.5px;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
}
.doctors.mdx-awards-section .doc-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(231, 190, 146, 0.12);
  color: #e7be92;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.doctors.mdx-awards-section .doc-desc,
.doctors.mdx-awards-section .doc-desc p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 6px;
}

@media (max-width: 767px) {
  .doctors.mdx-awards-section .doccard-overlay {
    padding: 18px 18px 20px;
  }
}

/*==========================================
   DOCTOR INNER PAGE
   ==========================================*/

/* ---------- 1. Hero Section ---------- */
.docinner-hero {
  position: relative;
  padding-top: 64px;
  margin-bottom: 72px;
}

/* ---------- 2. Doctor Profile Card ---------- */
.docinner-hero-card {
  position: relative;
  background: #e7be92;
  border-radius: 10px;
  padding: 20px 26px;
}
.docinner-hero-text {
  max-width: 64%;
}
.docinner-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: #0c2334 !important;
  margin: 0 0 10px;
}
.docinner-spec {
  font-size: 18px;
  font-weight: 600;
  color: #0c2334;
  margin: 0 0 18px;
}
.docinner-intro,
.docinner-intro p {
  font-size: 14px;
  line-height: 1.3;
  color: #000000;
  font-weight: 500;
}
.docinner-intro {
  margin-bottom: 28px;
}
.docinner-intro p:last-child {
  margin-bottom: 0;
}

/* ---------- 3. Doctor Image ---------- */
.docinner-hero-media {
  position: absolute;
  top: 0;
  right: 40px;
  bottom: -24px;
  width: 23%;
  max-width: 240px;
  z-index: 2;
}
.docinner-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

/* ---------- 4. About Section (overlapping beige card) ---------- */
.docinner-overlap {
  align-items: flex-start;
  margin-bottom: 24px;
}
.docinner-about-col {
  position: relative;
  z-index: 2;
}
.docinner-about-card {
  background: #e7be92;
  border-radius: 20px;
  padding: 32px 30px;
  margin-top: 44px;
  margin-right: -56px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.docinner-about-img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.docinner-about-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  color: #0c2334 !important;
  margin: 0 0 14px;
}
.docinner-about-text,
.docinner-about-text p,
.docinner-about-text li {
  font-size: 15px;
  line-height: 1.3;
  color: rgba(12, 35, 52, 0.85) !important;
}
.docinner-about-text p {
  margin-bottom: 14px;
}
.docinner-about-text p:last-child {
  margin-bottom: 0;
}
.docinner-about-text a {
  color: #0c2334;
  text-decoration: underline;
}
.docinner-social {
  margin-top: 22px;
}
.docinner-social-title {
  font-size: 15px;
  font-weight: 700;
  color: #0c2334;
  margin: 0 0 10px;
}
.docinner-social-icons .doctoricons {
  background: #0c2334;
  margin: 0 10px 0 0;
  transition: transform 0.3s ease;
}
.docinner-social-icons a:hover .doctoricons {
  transform: translateY(-2px);
}

/* ---------- 5. Expertise / Details Section (white card) ---------- */
.docinner-details-col {
  position: relative;
  z-index: 1;
}
.docinner-details-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 46px 50px 38px 84px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.docinner-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0c2334 !important;
  margin: 0 0 30px;
}
.docinner-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 26px;
}
.docinner-item:last-child {
  margin-bottom: 0;
}
.docinner-ic {
  flex: 0 0 auto;
  color: #e7be92;
  line-height: 0;
  margin-right: 16px;
  margin-top: 1px;
}
.docinner-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #0c2334;
  margin: 0 0 6px;
}
.docinner-item-text,
.docinner-item-text p,
.docinner-item-text li {
  font-size: 14px;
  color: rgba(12, 35, 52, 0.75) !important;
}
.docinner-item-text p {
  margin-bottom: 8px;
}
.docinner-item-text p:last-child {
  margin-bottom: 0;
}
.docinner-item-text ul {
  padding-left: 18px;
  margin-bottom: 0;
}
.docinner-item-text a {
  color: #0c2334;
  text-decoration: underline;
}
.docinner-contact-row {
  margin-bottom: 4px;
}
.docinner-clabel {
  font-weight: 700;
  color: #0c2334;
}

/* ---------- 6. Education & 7. Research / Experience (white panels) ---------- */
.docinner-panels {
  margin-top: 16px;
}
.docinner-panel-col {
  display: flex;
  flex-direction: column;
}
.docinner-sec-title {
  font-size: 26px;
  font-weight: 700;
  color: #e7be92 !important;
  margin: 0 0 22px;
}
.docinner-panel {
  flex: 1 1 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  line-height: 1.3;
  color: rgba(12, 35, 52, 0.8);
}
.docinner-panel p,
.docinner-panel span,
.docinner-panel li {
  color: rgba(12, 35, 52, 0.8) !important;
  font-size: 14px;
  line-height: 1.3;
}
.docinner-panel p {
  margin-bottom: 14px;
}
.docinner-panel p:last-child {
  margin-bottom: 0;
}
.docinner-panel ul {
  padding-left: 18px;
  margin-bottom: 0;
}
.docinner-panel li {
  margin-bottom: 10px;
}
.docinner-panel li:last-child {
  margin-bottom: 0;
}
.docinner-panel strong,
.docinner-panel b,
.docinner-panel h1,
.docinner-panel h2,
.docinner-panel h3,
.docinner-panel h4,
.docinner-panel h5,
.docinner-panel h6 {
  color: #0c2334 !important;
}
.docinner-panel a {
  color: #0c2334;
  text-decoration: underline;
}
.docinner-panel-sub {
  font-size: 18px;
  font-weight: 700;
  color: #0c2334 !important;
  margin: 22px 0 10px;
}

/* ---------- 8. Buttons ---------- */
.docinner-hero .btnprimary {
  background: #ffffff !important;
  color: #0c2334 !important;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(12, 35, 52, 0.22);
  transition: all 0.3s ease;
}
.docinner-hero .btnprimary:hover,
.docinner-hero a.btnprimary:hover {
  background: #0c2334 !important;
  color: #e7be92 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(12, 35, 52, 0.3);
}

/* Sticky about card (desktop only) */
@media (min-width: 992px) {
  .docinner-sticky {
    position: sticky;
    top: 120px;
  }
}

/* ---------- 9. Responsive ---------- */
@media (max-width: 1199px) {
  .docinner-hero-text {
    max-width: 58%;
  }
  .docinner-hero-card {
    padding: 48px 44px;
  }
  .docinner-details-card {
    padding: 40px 36px 32px 72px;
  }
}

@media (max-width: 991px) {
  .docinner-hero {
    padding-top: 0;
    margin-bottom: 48px;
  }
  .docinner-hero-card {
    padding: 36px 32px;
  }
  .docinner-hero-text {
    max-width: 100%;
  }
  .docinner-hero-media {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 28px auto 0;
  }
  .docinner-hero-media img {
    height: auto;
    max-height: 480px;
  }
  .docinner-about-card {
    margin-top: 0;
    margin-right: 0;
  }
  .docinner-details-card {
    padding: 36px 30px;
  }
  .docinner-name {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .docinner-hero-card {
    padding: 28px 22px;
  }
  .docinner-name {
    font-size: 28px;
  }
  .docinner-spec {
    font-size: 16px;
  }
  .docinner-card-title,
  .docinner-sec-title {
    font-size: 20px;
  }
  .docinner-about-card {
    padding: 26px 22px;
  }
  .docinner-details-card {
    padding: 26px 22px;
  }
  .docinner-panel {
    padding: 26px 22px;
  }
  .docinner-cta .btnprimary {
    display: block;
    width: 100%;
    text-align: center;
  }
  .docinner-hero-media {
    max-width: 100%;
  }
}

/* ==================================================
   BLOG — INDEX / LISTING (incl. legacy News styles)
   ================================================== */

/*News Styles*/
.news .post:hover .newstitle {
  color: #e7be92;
}
.news-information h1.font-weight-bold.mb-0 {
  font-size: 30px;
}

/* ==================================================
   BLOG — SIDEBAR & CONTENT AREA
   ================================================== */

/*--------- Blog Area input Css ---------*/
.blogcategory ul li.yearnum:hover p {
  color: #e7be92 !important;
}
.blogcategory ul li {
  border: 1px solid #e9e9e9;
  padding: 4px;
}
.blogcategory ul li a:hover {
  color: #e7be92;
}
.blogarea h2,
.blogarea h3,
.blogarea h4,
.blogarea h5,
.blogarea h6 {
  font-weight: bold;
  margin: 20px 0px;
}
.blogarea p {
  font-size: 18px;
}
.blogarea span {
  color: #000000;
  font-size: 16px !important;
}
.blogarea ul li,
.blogarea ol li {
  font-size: 18px;
  /*padding: 8px 0px;line-height: 30px;*/
}
.blogarea img {
  width: 100%;
  margin: 20px 0px;
  border: 1px solid #dee2e6;
  height: 300px;
  object-fit: cover;
}

/* --- Blog listing sidebar / content (dark theme) --- */
.blogcategory ul li {
  border-color: rgba(255, 255, 255, 0.14);
}
.blogarea span {
  color: #ffffff;
}
.blogarea p {
  color: rgba(255, 255, 255, 0.85);
}

/* ==================================================
   BLOG — BLOG DETAIL / BLOG INNER
   ================================================== */

/* ============================================================
   BLOG DETAIL (bloginfo) — Figma layout
   ============================================================ */

/* Featured image */
.mdx-post-hero {
  width: 100%;
  border-radius: 6px;
  border: none !important;
  margin: 0 0 0 !important;
  display: block;
}

/* Title bar card overlapping below the hero image */
.mdx-post-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #e7be924d;
  border-radius: 6px;
  padding: 18px 24px;
  margin: 18px 0 30px;
}
.mdx-post-titlebar h1 {
  color: #e7be92;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  max-width: 60%;
  text-transform: none;
}
.mdx-post-meta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}
.mdx-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e7be92;
  font-size: 15px;
}
.mdx-post-meta i {
  color: #e7be92;
  font-size: 16px;
}
.mdx-post-meta .mdx-meta-date {
  text-transform: lowercase;
}

/* Hero image + title card bleed to the viewport's left edge on desktop
   (right edge stays put — width/margin are set by JS since the true left
   inset can't be known from CSS alone once nested inside the grid column) */
@media (min-width: 992px) {
  .mdx-bleed-left {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
}

/* Post body content (CMS HTML) */
.mdx-post-content h2,
.mdx-post-content h3,
.mdx-post-content h4 {
  color: #ffffff !important;
  font-weight: 700;
  text-transform: none;
  margin: 26px 0 14px;
  scroll-margin-top: 120px;
}
.mdx-post-content h2 {
  font-size: 24px;
}
.mdx-post-content h3 {
  font-size: 20px;
}
.mdx-post-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.3;
}
.mdx-post-content span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px !important;
}
.mdx-post-content ul,
.mdx-post-content ol {
  margin: 14px 0 22px;
}
.mdx-post-content ul {
  padding-left: 0;
}
.mdx-post-content ol {
  padding-left: 22px;
}
.mdx-post-content ul li,
.mdx-post-content ol li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}
.mdx-post-content ul li {
  list-style: none;
  position: relative;
  padding-left: 32px;
}
.mdx-post-content ol li {
  list-style: decimal;
}
.mdx-post-content ul li::before {
  content: "";
  background-image: url("../img/checked-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 2px;
}
.mdx-post-content img {
  border-radius: 8px;
}
.mdx-post-content strong,
.mdx-post-content b {
  color: #ffffff;
  font-weight: 700;
}
.mdx-post-content blockquote {
  margin: 22px 0;
  padding: 16px 22px;
  border-left: 4px solid #e7be92;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  font-size: 17px;
}
.mdx-post-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  border-collapse: collapse;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}
.mdx-post-content table th,
.mdx-post-content table td {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 16px;
  text-align: left;
}
.mdx-post-content table th {
  background: rgba(231, 190, 146, 0.15);
  color: #e7be92;
  font-weight: 700;
}
.mdx-post-content table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}
.mdx-post-content pre {
  background: #0b1f2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 22px 0;
}
.mdx-post-content pre code {
  background: none;
  padding: 0;
}
.mdx-post-content code {
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #e7be92;
}
.mdx-post-content p code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Table of content card */
.mdx-toc {
  background: #e7be92b2;
  padding: 15px 18px;
  position: sticky;
  top: 120px;
  border-radius: 6px;
}
.mdx-toc span {
  color: #ffffff;
}
.mdx-toc-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500 !important;
  text-transform: none;
  margin-bottom: 12px;
}
.mdx-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*.mdx-toc ul li {*/
/*  border-bottom: 1px solid #FFFFFF;*/
/*}*/
.mdx-toc ul li:last-child {
  border-bottom: none;
}
.mdx-toc ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-size: 17px;
  padding: 18px 2px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mdx-toc ul li a:hover {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.mdx-toc ul li a .mdx-toc-arrow {
  display: none;
  width: 25px;
  height: 25px;
  min-width: 25px;
  border-radius: 50%;
  background: #ffffff;
  color: #e7be92b2;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.mdx-toc ul li a.active {
  color: #ffffff;
  font-weight: 700;
}
.mdx-toc ul li a.active .mdx-toc-arrow {
  display: inline-flex;
}

/* Sticky sidebar wrapper — lets several beige cards stack and stick together */
.mdx-side-wrap {
  position: sticky;
  top: 110px;
  z-index: 5;
}
.mdx-side-wrap .mdx-toc {
  position: static;
  top: auto;
}
/*.mdx-side-wrap .mdx-toc + .mdx-toc {*/
/*  margin-top: 26px;*/
/*}*/
/* Non-sticky variant — for sidebars with more content below the card */
.mdx-toc.mdx-static {
  position: sticky;
  top: 120px;
}

/* Related-items rows inside a beige side card */
.mdx-toc ul li a .mdx-toc-text {
  flex: 1;
  font-size: 14px !important;
}
.mdx-toc .mdx-side-meta {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 3px;
}
.mdx-toc ul li a:hover .mdx-toc-arrow {
  display: inline-flex;
}

/* Share row */
.mdx-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.mdx-share .mdx-share-label {
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}
.mdx-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 18px;
  transition: transform 0.2s ease;
}
.mdx-share a:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.mdx-share a.bg-x {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Related posts + comments headings */
.mdx-section-title {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  text-transform: none;
}

@media (max-width: 991.98px) {
  .mdx-side-wrap {
    position: static;
  }
  .mdx-toc {
    position: static;
    margin-top: 34px;
  }
  .mdx-post-titlebar h1 {
    max-width: 100%;
  }
}
@media (max-width: 575.98px) {
  .mdx-post-titlebar {
    padding: 15px 16px;
  }
  .mdx-post-titlebar h1 {
    font-size: 18px;
  }
  .mdx-post-meta {
    gap: 14px;
  }
}

/* ==================================================
   GALLERY — PHOTO GALLERY / GALLERY INNER
   ================================================== */

/*--------- Gallery Css ---------*/
.albumcss {
  height: 100%;
  overflow: hidden;
}
.allimgnums {
  position: absolute;
  bottom: 90px;
  right: 0;
  left: 0;
  color: white;
  font-size: 18px;
  font-weight: 600;
  background: #14131394;
  text-align: center;
}
.albumcss:hover .allimgnums {
  display: block !important;
}

/* ==================================================
   GALLERY — PRESS
   ================================================== */

/*Press Styles*/
.presscard {
  border: 3px solid #a1a0a0 !important;
  padding: 1px;
}
.presscontent {
  overflow-y: auto;
  height: 65px;
}

/* ==================================================
   GALLERY — VIDEO GALLERY
   ================================================== */

/*--------- video Gallery Css --------- */
.video_gallery_homepage .videogallery:hover span.vidtitle {
  color: #e7be92 !important;
}
.vedioimg {
  position: relative;
}
.videogallery {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}
.vgallery .btnandtitle {
  position: absolute;
  bottom: 20px;
}
.playbtnimg {
  position: absolute;
  left: 40%;
  top: 36%;
  width: 130px;
}
.playbtnimgvideo1 {
  left: 75px;
}

/*--------- Video Popup Css ---------*/
.video-block button.close {
  position: absolute;
  z-index: 999;
  background: #023047;
  color: #fff;
  padding: 10px;
  opacity: 1;
  right: 0;
  top: 0px;
}

@media (max-width: 450px) {
  .playbtnimg {
    width: 80px;
  }
}

/* ==================================================
   FAQ — FAQ INDEX / FAQ INNER (shared with homepage FAQ)
   ================================================== */

.faq-hover:hover {
  background: #b8b8b8 !important;
}

/*FAQ STyles*/
.faq-hover.active {
  background-color: #b8b8b8 !important;
}
.faqsection .card-body p {
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 400;
}
/*#accordion .hdng a:after {font-family:Fontawesome;content:'\f078';float:right;font-size:15px;}*/
/*#accordion .hdng a.collapsed:after {font-family:Fontawesome;content:'\f077';}*/

#accordion .hdng a:after {
  font-family: FontAwesome;
  content: "\f077"; /* up arrow — shown when expanded */
  float: right;
  font-size: 15px;
}

#accordion .hdng a.collapsed:after {
  content: "\f078"; /* down arrow — shown when collapsed */
}

/*--------- Faq's Css --------- */
.faqsection a,
.faqsection .text-link {
  color: #3a3a3a;
}
.faqsection a:hover,
.faqsection .text-link:hover {
  text-decoration: none;
}

/* --- FAQ (dark theme) --- */
.faqsection a,
.faqsection .text-link {
  color: #ffffff;
}
.faqsection .card-body p {
  color: rgba(255, 255, 255, 0.8);
}
.faq-hover:hover,
.faq-hover.active {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* ============================================================
   FAQ — PREMIUM REDESIGN (Homepage FAQ Section & FAQ Inner Page)
   New classes only, layered onto the existing dynamic markup/
   classes (accordion, card, card-header, collapse, faq-hover,
   hdng, mt_3em, faq, mdx-viewall-top/bottom) — nothing above
   is overridden, removed or renamed.
   ============================================================ */

.mdx-faq-section .mdx-faq-head {
  margin-bottom: 34px;
}
.mdx-faq-section .mdx-faq-head h3 {
  font-size: 26px;
}
.mdx-faq-section .mdx-faq-subtitle {
  font-size: 15.5px;
  line-height: 1.3;
  opacity: 0.85;
  max-width: 680px;
  margin-top: 10px;
}

.mdx-faq-accordion .mdx-faq-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 27, 45, 0.18);
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-card-header {
  border-bottom: none;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.03);
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-card-header.faq-hover:hover {
  background: rgba(231, 190, 146, 0.07) !important;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-card-header.faq-hover.active {
  background: rgba(231, 190, 146, 0.1) !important;
}

.mdx-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  cursor: pointer;
  text-decoration: none !important;
}
.mdx-faq-toggle::after {
  content: none !important;
}
.mdx-faq-toggle:focus-visible {
  outline: 2px solid #e7be92;
  outline-offset: 4px;
  border-radius: 10px;
}
.mdx-faq-question {
  font-size: 16.5px;
  line-height: 1.55;
  color: #e7be92 !important;
}

.mdx-faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(231, 190, 146, 0.5);
}
.mdx-faq-icon::before,
.mdx-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #e7be92;
  transform: translate(-50%, -50%);
}
.mdx-faq-icon::before {
  width: 10px;
  height: 2px;
}
.mdx-faq-icon::after {
  width: 2px;
  height: 10px;
}
.mdx-faq-toggle:not(.collapsed) .mdx-faq-icon {
  background: rgba(231, 190, 146, 0.14);
}
.mdx-faq-toggle:not(.collapsed) .mdx-faq-icon::after {
  opacity: 0;
}

.mdx-faq-section .mdx-faq-accordion .mdx-faq-body {
  padding: 0 24px 22px;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body p {
  line-height: 1.3;
  margin-bottom: 14px;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body p:last-child {
  margin-bottom: 0;
  padding-top: 15px;
}
/* .primary_section span (theme_css.php) tints spans gold site-wide;
   keep that for the rest of the page but force answer-body spans white */
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body span {
  color: rgba(255, 255, 255, 0.8);
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body ul,
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body ol {
  margin-bottom: 14px;
  padding-left: 20px;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body li {
  line-height: 1.3;
  margin-bottom: 6px;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body li:last-child {
  margin-bottom: 0;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body a {
  color: #e7be92;
  text-decoration: underline;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body h1,
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body h2,
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body h3,
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body h4,
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body h5,
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body h6 {
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 8px;
}
.mdx-faq-section .mdx-faq-accordion .mdx-faq-body strong {
  font-weight: 700;
}

.mdx-faq-cta {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .mdx-faq-toggle {
    padding: 16px 18px;
    gap: 12px;
  }
  .mdx-faq-question {
    font-size: 15px;
  }
  .mdx-faq-section .mdx-faq-accordion .mdx-faq-body {
    padding: 0 18px 18px;
  }
  .mdx-faq-icon {
    width: 22px;
    height: 22px;
  }
}

/* ==================================================
   CONTACT — CONTACT PAGE
   ================================================== */

/*--------- Contact Us and Write a Review Css ---------*/
.contactusform ::placeholder {
  color: #000000;
  font-size: 18px;
}
.contactusform {
  background: #f8fcff;
}
.contactusform .form-control {
  background: rgba(0, 0, 254, 0.04) !important;
  padding: 25px 15px;
  border: 1px solid #0a0cf4 !important;
  border-radius: 7px;
}

/*--------- Contact Us Css ---------*/
.c_row {
  display: flex;
  align-items: center;
}
.workhrs.c_row {
  display: flex;
  align-items: normal;
}
.c_row .c_icon {
  min-width: 50px;
  height: 50px;
  vertical-align: middle;
  text-align: center;
  background: #e7be92;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin-right: 0.7em;
}
.c_row .c_icon i {
  color: #000000;
  font-size: 24px;
}
.contdetails .c_row .c_icon {
  align-items: center;
}

/* --- Contact page (dark theme) --- */
.contactusform {
  background: transparent;
}
.contactusform ::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}
.contactusform .form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 25px 15px;
  border: 1px solid #e7be92 !important;
  border-radius: 7px;
  color: #ffffff;
}
.c_row .c_icon {
  background: #e7be92;
}
.c_row .c_icon i {
  color: #0c2334;
}

/* --- Contact page hero + main layout (redesign) --- */
.mdx-contact-hero {
  position: relative;
  width: 100%;
  min-height: 350px;
  background-color: #0c2334;
  background-image:
    linear-gradient(rgba(8, 38, 60, 0.73), rgba(8, 38, 60, 0.73)),
    url("../img/book_appointment_img.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.mdx-contact-main {
  position: relative;
  z-index: 2;
  background: #08263c !important;
  margin-top: -110px;
  padding: 50px 0;
  animation: mdxContactFadeIn 0.6s ease both;
}
/* @keyframes mdxContactFadeIn — consolidated into the ANIMATIONS
   section at the end of this file (still used above via
   `animation:`) */
.mdx-contact-left {
  padding-right: 30px;
}
.mdx-contact-right {
  padding-left: 30px;
}
.mdx-contact-heading {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  color: #e7bc8c;
  max-width: 420px;
  margin-bottom: 45px;
}
.mdx-contact-support-img-wrap {
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.mdx-contact-support-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.mdx-contact-desc {
  font-size: 16px;
  line-height: 1.3;
  max-width: 90%;
  margin-bottom: 45px;
}
.mdx-contact-form .form-group {
  margin-bottom: 28px;
}
.mdx-contact-label {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 12px;
}
.mdx-contact-form .mdx-contact-input,
.mdx-contact-form .mdx-contact-textarea {
  width: 100%;
  background: #e7be9254 !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  padding: 20px !important;
  color: #ffffff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
/* FORCE CONTACT FORM PLACEHOLDER TO 14PX */
#lead_form input.mdx-contact-input,
#lead_form textarea.mdx-contact-input {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* Chrome / Edge / Safari */
#lead_form input.mdx-contact-input::-webkit-input-placeholder,
#lead_form textarea.mdx-contact-input::-webkit-input-placeholder {
  font-size: 12px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

/* Standard */
#lead_form input.mdx-contact-input::placeholder,
#lead_form textarea.mdx-contact-input::placeholder {
  font-size: 12px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

/* Firefox */
#lead_form input.mdx-contact-input::-moz-placeholder,
#lead_form textarea.mdx-contact-input::-moz-placeholder {
  font-size: 12px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}
/* Message textarea placeholder - 12px */
#lead_form textarea.mdx-contact-textarea::placeholder {
  font-size: 12px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}
.mdx-contact-form .mdx-contact-input {
  height: 40px;
}
.mdx-contact-form .mdx-contact-textarea {
  height: 170px;
  resize: none;
}
.mdx-contact-form .mdx-contact-input::placeholder,
.mdx-contact-form .mdx-contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.85);
}
.mdx-contact-form .mdx-contact-input:focus,
.mdx-contact-form .mdx-contact-textarea:focus {
  outline: none;
  box-shadow: none;
  border: 1px solid #e7bc8c !important;
}
.mdx-contact-submit {
  width: 100%;
  height: 35px;
  background: #e7be92 !important;
  border: none;
  color: #0c2334;
  font-weight: 400 !important;
  border-radius: 6px;
  transition: background-color 0.25s ease;
  cursor: pointer;
  font-size: 14px !important;
}
.mdx-contact-submit:hover,
.mdx-contact-submit:focus {
  background: #d4a574 !important;
}

/* --- "Write to Us" card wrapping the contact form --- */
.mdx-write-card {
  /*padding: 40px;*/
}
.mdx-write-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.mdx-write-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #e7be92;
}
.mdx-write-card-icon i {
  color: #0c2334;
  font-size: 18px;
}
.mdx-write-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 0;
}

/* ==================================================
   CONTACT — CONTACT PAGE RESPONSIVE (redesign)
   ================================================== */
@media (max-width: 991px) {
  .mdx-contact-hero {
    min-height: 420px;
  }
  .mdx-contact-main {
    margin-top: -70px;
    padding: 90px 0 60px;
  }
  .mdx-contact-left,
  .mdx-contact-right {
    padding-left: 15px;
    padding-right: 15px;
  }
  .mdx-write-card {
    padding: 30px;
  }
  .mdx-contact-heading {
    font-size: 44px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto 35px;
  }
  .mdx-contact-support-img-wrap {
    height: 360px;
    margin-bottom: 40px;
  }
  .mdx-contact-desc {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .mdx-contact-hero {
    min-height: 320px;
    background-attachment: scroll;
  }
  .mdx-contact-main {
    margin-top: -50px;
    padding: 60px 20px;
  }
  .mdx-contact-heading {
    font-size: 34px;
  }
  .mdx-contact-support-img-wrap {
    height: 300px;
    margin-bottom: 30px;
  }
  .mdx-contact-desc {
    font-size: 18px;
  }
  .mdx-write-card {
    padding: 20px;
    border-radius: 8px;
  }
  .mdx-write-card-title {
    font-size: 20px;
  }
}

/* ==================================================
   CONTACT — MAP
   ================================================== */

/*--------- iframe Css ---------*/
.mapvenue iframe {
  width: 100%;
}

/* ==================================================
   CONTACT — WRITE A REVIEW
   ================================================== */

.writereview .form-control {
  background: transparent;
  padding: 25px 15px;
  border: 1px solid #e7be92 !important;
}
.writereview .form-control:focus {
  border-color: #e7be92 !important;
  box-shadow: none;
}
.writereviewtestimonial .form-control {
  border: 1px solid #000000;
}
.writereview .form-control::placeholder {
  color: #000000;
}
.wreviewp {
  padding: 10px 10px !important;
  height: 52px;
}
.wreviewpeople {
  background: rgba(0, 0, 0, 0.04);
  height: 240px;
}
.wrpeopleimg {
  width: 50px;
  height: 50px;
}
.peoplereview {
  height: 125px;
  overflow-y: auto;
}
.mobilecon {
  width: 60px;
  position: absolute;
  left: 0px;
  top: -12px;
}

/* --- Write review / comment forms (dark theme) --- */
.writereview .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.writereviewtestimonial .form-control {
  border: 1px solid #e7be92;
}
.wreviewpeople {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

/* ==================================================
   CONTACT — APPOINTMENT FORM
   (also used by the homepage appointment section)
   ================================================== */

/*--------- Book Appointgment Css ---------*/
.bookappointment-text:hover .bookapptxt {
  color: #e7be92 !important;
}
.bookapmt .form-control {
  border: none !important;
  border-bottom: 1px solid #808080 !important;
  border-radius: 0;
  box-shadow: none;
}
.bookapmt .form-control::placeholder {
  font-size: 14px !important;
}
.bookapmt .form-control {
  padding-left: 0px !important;
}
.appointmentimg {
  position: absolute;
  right: -100px;
}
.appointmentslotscontainer label {
  background: #eee;
  border-radius: 4px;
  padding: 2px 8px;
  float: left;
  color: #000000;
  border: 1px solid #727272;
}
.appointmentslotscontainer label:hover {
  background: #0a0cf4;
  color: #ffffff;
}
.appointmentslotscontainer div {
  width: 178px;
  text-align: center;
  position: relative;
  font-size: 16px;
}

.bookappfooter .c_row {
  align-items: start !important;
}
.bookappfooter .c_row .c_icon {
  min-width: 0px !important;
  height: 0px !important;
}

/* --- Appointment slots (dark theme) --- */
.appointmentslotscontainer label {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.appointmentslotscontainer label:hover {
  background: #e7be92;
  color: #0c2334;
}

/* ---------- APPOINTMENT — Responsive ---------- */

@media (max-width: 1024px) {
  .appointmentimg {
    display: none;
  }
}

@media (max-width: 768px) {
  .appointmentslotscontainer div {
    width: 250px;
  }
  .bookappempire {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==================================================
   BOOK APPOINTMENT PAGE — PIXEL-PERFECT REDESIGN
   Scoped entirely under .bookappointment-redesign, which only
   exists on application/views/themes/medicorex/bookappointment.php.
   Does NOT touch the shared .bookapmt / .appointmentslotscontainer /
   .appointmentimg / .bookappempire rules above (used by the homepage
   appointment section), so the homepage is unaffected.
   ================================================== */

.bookappointment-redesign {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: clip;
}
.bookappointment-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 24, 40, 0.93) 0%,
    rgba(12, 35, 54, 0.86) 50%,
    rgba(6, 24, 40, 0.93) 100%
  );
  z-index: 0;
}
.bookappointment-redesign::after {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  width: 640px;
  height: 640px;
  max-width: 100%;
  background: radial-gradient(
    circle,
    var(--mdx-gold-glow, rgba(231, 190, 146, 0.45)) 0%,
    transparent 70%
  );
  transform: translateX(-50%);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.bookappointment-redesign__inner {
  position: relative;
  z-index: 1;
}

/* Heading + intro paragraph */
.bookappointment-redesign__intro {
  max-width: 720px;
  /*margin-bottom: 40px;*/
}
.bookappointment-redesign__intro h2 {
  color: #e7be92;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.bookappointment-redesign__intro h1.text-nblue {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0;
}

/* Card housing image + form — elevated glass panel */
.bookappointment-redesign__card {
  position: relative;
}
.bookappointment-redesign__row {
  align-items: self-start;
}
.bookappointment-redesign__imgcol {
  padding: 0px 35px 0px 8px;
}
.bookappointment-redesign__img {
  border-radius: 6px;
  min-height: 600px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
/*.bookappointment-redesign__formcol {*/
/*  padding: 36px 44px;*/
/*}*/

/* Labels */
.bookappointment-redesign .form-group label {
  display: block;
  color: #ffffff;
  font-weight: 300;
  font-size: 14px;
  margin-bottom: 8px;
}
.bookappointment-redesign__label {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
}
#appointment_form input.form-control,
#appointment_form textarea.form-control,
#appointment_form select.form-control {
  font-size: 12px !important;
}

#appointment_form input.form-control::placeholder,
#appointment_form textarea.form-control::placeholder {
  font-size: 12px !important;
}

/* Inputs, selects, textarea */
.bookappointment-redesign .form-control {
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 6px !important;
  background: #e7be9254 !important;
  color: #ffffff !important;
  padding: 0 10px !important;
  box-shadow: none !important;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.bookappointment-redesign .form-control::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
}
.bookappointment-redesign .form-control:focus {
  border-color: var(--mdx-gold, #e7be92) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 0 4px var(--mdx-gold-glow, rgba(231, 190, 146, 0.35)) !important;
  outline: none !important;
}
.bookappointment-redesign select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e7be92' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.bookappointment-redesign textarea.form-control {
  height: 130px !important;
  padding: 16px !important;
  resize: none;
}
.bookappointment-redesign__datewrap {
  position: relative;
}
.bookappointment-redesign__dateicon {
  position: absolute;
  right: 16px;
  top: 44px;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

/* Available slots */
.bookappointment-redesign__slotswrap {
  margin-bottom: 8px;
}
.bookappointment-redesign
  #appointment_slots_container.appointmentslotscontainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  text-align: left;
  font-size: inherit;
  width: 100%;
}
.bookappointment-redesign .appointmentslotscontainer .text-red {
  color: #ffb4b4;
  width: 100%;
  grid-column: 1 / -1;
}
.bookappointment-redesign .rd_button {
  float: none;
  position: relative;
  height: 48px;
  width: 100%;
  min-width: 0;
  margin: 0;
  z-index: auto;
}
.bookappointment-redesign .rd_button input,
.bookappointment-redesign .rd_button label {
  position: absolute;
  inset: 0;
}
.bookappointment-redesign .rd_button input[type="radio"] {
  opacity: 0.011;
  z-index: 2;
  cursor: pointer;
}
.bookappointment-redesign .rd_button label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  z-index: 1;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease;
}
.bookappointment-redesign .rd_button label:hover {
  background: var(--mdx-gold, #e7be92);
  color: #0c2334;
  border-color: var(--mdx-gold, #e7be92);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--mdx-gold-glow, rgba(231, 190, 146, 0.4));
}
.bookappointment-redesign .rd_button input[type="radio"]:checked + label {
  background: var(--mdx-gold, #e7be92) !important;
  color: #0c2334 !important;
  border-color: var(--mdx-gold, #e7be92) !important;
  box-shadow: 0 10px 24px var(--mdx-gold-glow, rgba(231, 190, 146, 0.5));
  transform: translateY(-2px);
}
.bookappointment-redesign .rd_button input[type="radio"]:disabled + label {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* Submit button */
.bookappointment-redesign .btn_submit {
  height: 35px;
  width: 100%;
  background: var(--mdx-gold, #e7be92) !important;
  color: #0c2334 !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px;
  transition:
    background-color 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}
.bookappointment-redesign .btn_submit:hover {
  background: #d6a86f !important;
  color: #0c2334 !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px var(--mdx-gold-glow, rgba(231, 190, 146, 0.45));
}
.bookappointment-redesign .btn_submit:active {
  transform: translateY(-1px);
}

/* ---------- BOOK APPOINTMENT REDESIGN — Responsive ---------- */
@media (max-width: 991px) {
  .bookappointment-redesign {
    background-attachment: scroll;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .bookappointment-redesign__card {
    border-radius: 22px;
    padding: 14px;
  }
  .bookappointment-redesign__img {
    border-radius: 6px;
    min-height: 320px;
    margin-bottom: 24px;
  }
  .bookappointment-redesign__formcol {
    padding: 24px;
  }
}

@media (max-width: 575px) {
  .bookappointment-redesign__intro h2 {
    font-size: 28px;
  }
  .bookappointment-redesign__card {
    padding: 10px;
    border-radius: 18px;
  }
  .bookappointment-redesign
    #appointment_slots_container.appointmentslotscontainer {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
  .bookappointment-redesign .btn_submit,
  .bookappointment-redesign input[type="submit"] {
    width: 100%;
  }
}

/* ==================================================
   ABOUT PAGE — VISION & MISSION
   ================================================== */

/*vision-mission*/
.vision-mission-card:hover .text-hover-color {
  color: #e7be92 !important;
}

/* Vision & Mission Section */
.vm-section {
  background-color: #0f1b2d;
}

.vm-section .vm-image {
  height: 215px;
  object-fit: cover;
}

.vm-section .vm-title {
  font-size: 22px;
  font-weight: 500;
}

.vm-section .vm-short-desc {
  opacity: 0.85;
  line-height: 1.3;
  margin-top: 12px;
}

.vm-section .vm-long-desc {
  opacity: 0.85;
}

/* ==================================================
   ABOUT PAGE — AWARDS
   ================================================== */

/*Awards Styles*/
.awards-card .card-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
}
.awards_homepage .post:hover p.awardtitle {
  color: #e7be92 !important;
}

/* ============================================================
   PRESS RELEASE — HOMEPAGE SECTION & LISTING PAGE (mdx-pr-*)
   New card classes only — no existing selector is modified.
   Reuses .presscard/.item (baguetteBox lightbox hook), .gallery
   (lightbox group selector), .overelipsis1/2, .text-lblue, and
   the same white-card shadow + hover-lift language already used
   by the Events (.medevents) card.
   ============================================================ */

.mdx-pr-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 6px 20px rgba(15, 27, 45, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.mdx-pr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(15, 27, 45, 0.16);
}

.mdx-pr-img-wrap {
  position: relative;
  line-height: 0;
}
.mdx-pr-img-wrap img {
  display: block;
  width: 100%;
}
.mdx-pr-img-wrap img.presscard {
  border: none !important;
  height: 210px !important;
}

.mdx-pr-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mdx-pr-source {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mdx-pr-title {
  color: #14233a !important;
  line-height: 1.4;
  margin-bottom: 10px !important;
}

.mdx-pr-desc,
.mdx-pr-desc p {
  color: #5a6b7b !important;
  line-height: 1.6;
  margin-bottom: 16px !important;
}
.mdx-pr-desc p:last-child {
  margin-bottom: 0 !important;
}

/* .mdx-pr-desc is now a <div> (not a <p>), so dw_pc_short_description's
   own <p> markup from the WYSIWYG editor nests inside it correctly
   instead of forcing the browser to auto-close .mdx-pr-desc early.
   This rule is a color-only safety net for any other unexpected
   sibling shape — no line-clamp, full content always shows. */
.mdx-pr-desc + p {
  color: #5a6b7b !important;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px !important;
}

.mdx-pr-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 27, 45, 0.08);
}

.mdx-pr-date {
  color: #969696 !important;
}

.mdx-pr-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d4a574 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}
.mdx-pr-readmore:hover {
  color: #e7be92 !important;
  gap: 10px;
}
.mdx-pr-readmore i {
  font-size: 12px;
}

/* Equal-height slides on the homepage owl-carousel — same technique
   already used by #testimonials_slider */
#press_release_slider .owl-wrapper {
  display: flex !important;
}
#press_release_slider .owl-item {
  display: flex;
  float: none;
}
#press_release_slider .mdx-pr-card {
  /* .mr-20 (margin-right: 20px !important, from style.css) still applies
     on this element — size the card to leave room for it inside the
     owl-item slot, otherwise the margin overflows the slot and gets
     hidden behind the next slide, reading as "no gap between cards" */
  width: calc(100% - 20px);
}

/* Grid mode (non-slider homepage layout): neutralize the legacy mr-20
   so cards sit on a consistent Bootstrap gutter instead of a lopsided
   extra margin on the right edge of each column */
.pressrelease_homepage .col-sm-4 .mr-20 {
  margin-right: 0;
}

/* ---------- PRESS RELEASE — Responsive ---------- */

@media (max-width: 767px) {
  .mdx-pr-body {
    padding: 16px 18px 18px;
  }
  .mdx-pr-img-wrap img.presscard {
    height: 190px !important;
  }
}

/* ==================================================
   EVENTS — LISTING PAGE (ticket-stub cards)
   ================================================== */

.events_homepage {
  background: #f6f6f6;
  padding: 60px 0;
}
.events_homepage h3 {
  color: #14233a;
}
.events_homepage .events-heading {
  color: #14233a;
  text-align: center;
  margin-bottom: 10px;
}
.events_homepage .events-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: #e7be92;
  margin: 16px auto 34px;
}

.medeventsdiv,
.medeventsdiv a,
.medeventsdiv a:hover {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
.medevents {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 190px;
  box-shadow: 0 6px 20px rgba(15, 27, 45, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.medevents:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(15, 27, 45, 0.16);
}
.ev-date-block {
  flex: 0 0 82px;
  background: #14233a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 6px;
  border-right: 2px dashed rgba(255, 255, 255, 0.22);
}
.ev-date-day {
  font-size: 26px;
  font-weight: 700;
  color: #e7be92;
  line-height: 1.1;
}
.ev-date-month {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.ev-content {
  flex: 1 1 auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.ev-content .ev-title {
  display: block;
  color: #14233a;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-content .ev-meta {
  color: #969696;
  font-size: 13px;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  min-width: 0;
}
.ev-content .ev-meta:last-child {
  margin-bottom: 0;
}
.ev-content .ev-meta i {
  flex-shrink: 0;
  color: #e7be92;
  width: 16px;
  margin-right: 8px;
  margin-top: 2px;
}
.ev-content .ev-meta span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #969696;
  font-size: 13px;
}

@media (max-width: 767px) {
  .medevents {
    min-height: auto;
  }
}

/* ==================================================
   EVENTS — DETAIL PAGE
   ================================================== */

.ev-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 10px 0 40px;
  min-height: 340px;
  background-color: #14233a;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.ev-hero-overlay {
  width: 100%;
  padding: 40px 40px 32px;
  background: linear-gradient(
    to top,
    rgba(15, 27, 45, 0.95) 0%,
    rgba(15, 27, 45, 0.6) 55%,
    rgba(15, 27, 45, 0.05) 100%
  );
  display: flex;
  align-items: flex-end;
  gap: 22px;
}
.ev-hero-date {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border-radius: 14px;
  background: #e7be92;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ev-hero-date .ev-date-day {
  font-size: 26px;
  color: #14233a;
}
.ev-hero-date .ev-date-month {
  font-size: 12px;
  color: #14233a;
  margin-top: 2px;
}
.ev-hero-title-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
.ev-hero-title {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}
.ev-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.ev-hero-meta span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  display: flex;
  align-items: center;
}
.ev-hero-meta i {
  color: #e7be92;
  margin-right: 7px;
}
.ev-section-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(231, 190, 146, 0.4);
}
.ev-chief-guest {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(231, 190, 146, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 26px;
  box-shadow: 0 10px 24px rgba(15, 27, 45, 0.06);
}
.ev-chief-guest i {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e7be92;
  color: #14233a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.ev-chief-label {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ev-chief-name {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 700;
}
.ev-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 22px;
  border-radius: 30px;
  background: #14233a;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}
.ev-link-btn:hover {
  background: #e7be92;
  color: #14233a !important;
}

@media (max-width: 575.98px) {
  .ev-hero {
    min-height: 240px;
  }
  .ev-hero-overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }
  .ev-hero-title {
    font-size: 20px;
  }
}

/* No internal overflow/scrollbar here: the venue map iframe grabs the mouse wheel to zoom, which would trap page scroll before it reaches "More Events" below. */
.ev-sidebar-sticky {
  z-index: 9;
}
@media (min-width: 992px) {
  .ev-sidebar-sticky {
    position: sticky;
    top: 120px;
  }
}

.ev-info-card {
  background: #ffffff;
  border-radius: 18px;
  border-top: 4px solid #e7be92;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
}
.ev-info-card h4 {
  color: #14233a;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}
.ev-info-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14px;
  color: #14233a;
}
.ev-info-row:last-child {
  margin-bottom: 0;
}
.ev-info-row i {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(231, 190, 146, 0.18);
  color: #e7be92;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.ev-venue-map {
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0;
}
.ev-media-frame {
  margin: 0 0 34px;
  background: #ffffff;
  border-radius: 20px;
  border-top: 4px solid #e7be92;
  padding: 14px 14px 18px;
  box-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
}
.ev-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 14px;
  overflow: hidden;
  background: #14233a;
}
.ev-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ev-media-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 6px 0;
  color: #14233a;
  font-size: 14px;
  font-weight: 600;
}
.ev-media-caption i {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(231, 190, 146, 0.25);
  color: #b6803f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
@media (max-width: 575.98px) {
  .ev-media-wrap {
    aspect-ratio: 4 / 3;
  }
}

/* "More Events" sidebar — mini ticket rows */
.ev-more-events {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
}
.ev-more-title {
  color: #14233a;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}
.ev-more-events ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ev-more-events ul li {
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
}
.ev-more-events ul li:last-child {
  border-bottom: none;
}
.ev-more-events ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.ev-more-events ul li a:hover {
  opacity: 0.7;
}
.ev-date-block-sm {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  padding: 0;
  border-right: none;
}
.ev-date-block-sm .ev-date-day {
  font-size: 16px;
  color: #e7be92;
}
.ev-date-block-sm .ev-date-month {
  font-size: 9px;
  color: #ffffff;
  margin-top: 2px;
}
.ev-more-content {
  flex: 1 1 auto;
  min-width: 0;
}
.ev-more-event-title {
  display: block;
  color: #14233a;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-more-venue {
  display: block;
  color: #969696;
  font-size: 12px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-more-venue i {
  color: #e7be92;
  margin-right: 4px;
}
.ev-more-arrow {
  flex-shrink: 0;
  color: #e7be92;
  font-size: 13px;
}

/* ==================================================
   OTHER INNER PAGES — SEARCH
   ================================================== */

/*--------- Submit btn Searchbar Css ---------*/
.subbtnsearch {
  position: absolute;
  right: 8px;
  top: 8px;
  border: none !important;
  background: transparent;
  z-index: 1;
  padding: 0px 12px;
  color: transparent;
}

/* ==================================================
   HOMEPAGE — "VIEW ALL" BOTTOM-CENTER REPOSITIONING
   Every section's "View All" now renders once, after
   all section content, centered, at every breakpoint.
   .mdx-viewall-top is kept only as a legacy hook (no
   longer present in markup) so it stays hidden if it
   is ever reintroduced.
   ================================================== */
.mdx-viewall-top {
  display: none;
}
.mdx-viewall-bottom {
  display: block;
  text-align: center;
  margin-top: 48px;
}
.mdx-viewall-bottom a {
  display: inline-block;
}
.mdx-viewall-btn {
  min-width: 180px;
  text-align: center;
}
@media (max-width: 575.98px) {
  .mdx-viewall-btn {
    width: 100%;
    max-width: 100px;
  }
}

/* ============================================================
   GALLERY — PREMIUM REDESIGN (Photo Gallery & Video Gallery)
   Homepage teaser sections (index.php) + inner listing pages
   (photo_gallery.php / video_gallery.php). New classes only,
   layered onto the existing dynamic markup/classes (albumcss,
   allimgnums, vedioimg, videogallery, vidtitle, playbtnimgvideo,
   brs-30, owl_slider, mdx-viewall-top/bottom) — nothing above
   is overridden, removed or renamed.
   ============================================================ */

/* ---------- Photo Gallery — premium card ---------- */
.mdx-gallery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
}
.mdx-gallery-media {
  position: relative;
  flex: 1 1 auto;
  height: 280px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}
.mdx-gallery-img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.mdx-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(12, 35, 52, 0) 40%,
    rgba(12, 35, 52, 0.78) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.mdx-gallery-zoom {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(231, 190, 146, 0.95);
  color: #0c2334;
  font-size: 18px;
  transform: translateY(12px) scale(0.85);
  transition: transform 0.4s ease;
}
.mdx-gallery-card:hover .mdx-gallery-media {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4);
}
.mdx-gallery-card:hover .mdx-gallery-img {
  transform: scale(1.08);
}
.mdx-gallery-card:hover .mdx-gallery-overlay {
  opacity: 1;
}
.mdx-gallery-card:hover .mdx-gallery-zoom {
  transform: translateY(0) scale(1);
}
.mdx-gallery-title {
  margin: 18px 0 0;
  transition: color 0.3s ease;
}
.mdx-gallery-card:hover .mdx-gallery-title {
  color: #e7be92 !important;
}

/* Equal-height slides on the homepage owl-carousel */
#photo_slider.owl-carousel .owl-wrapper {
  display: flex !important;
}
#photo_slider.owl-carousel .owl-item {
  display: flex;
  float: none;
}
#photo_slider .mdx-gallery-card {
  width: 100%;
}

/* ---------- Video Gallery — premium card ---------- */
.mdx-video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
}
.mdx-video-media {
  flex: 1 1 auto;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}
.mdx-video-img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.mdx-video-overlay {
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(12, 35, 52, 0) 25%,
    rgba(8, 22, 33, 0.88) 100%
  );
}
.mdx-video-card:hover .mdx-video-media {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.mdx-video-card:hover .mdx-video-img {
  transform: scale(1.08);
}

.mdx-play-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(231, 190, 146, 0.18);
  border: 1px solid rgba(231, 190, 146, 0.55);
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}
.mdx-play-btn::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1px solid rgba(231, 190, 146, 0.45);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.mdx-play-btn img {
  width: 22px !important;
  height: auto;
  position: relative;
  z-index: 1;
}
.mdx-video-card:hover .mdx-play-btn {
  background: #e7be92;
  transform: scale(1.08);
}
.mdx-video-card:hover .mdx-play-btn::before {
  opacity: 1;
  transform: scale(1.15);
}

/* Equal-height slides on the homepage owl-carousel */
#video_slider.owl-carousel .owl-wrapper {
  display: flex !important;
}
#video_slider.owl-carousel .owl-item {
  display: flex;
  float: none;
}
#video_slider .mdx-video-card {
  width: 100%;
}

/* ---------- Gallery — Responsive ---------- */
@media (max-width: 991.98px) {
  .mdx-gallery-media,
  .mdx-video-media {
    height: 240px;
  }
}
@media (max-width: 767.98px) {
  .mdx-gallery-media {
    height: 220px;
  }
  .mdx-video-media {
    height: 210px;
  }
  .mdx-play-btn {
    width: 46px;
    height: 46px;
  }
  .mdx-play-btn img {
    width: 18px !important;
  }
  .mdx-gallery-zoom {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
}
@media (max-width: 575.98px) {
  .mdx-gallery-media {
    height: 200px;
  }
  .mdx-video-media {
    height: 190px;
  }
}

/* ====================================================================
   ANIMATIONS — CONSOLIDATED MOTION LAYER
   Every animation in the Medicorex theme (keyframes, scroll-reveal,
   hover motion, counters) lives in this single section. Pure CSS only:
   transitions, transforms, opacity, filters and @keyframes — no
   animation library, no JS dependency. Formerly split across
   mdx-animations.css / mdx-animations.js (both removed); the three
   keyframes previously declared inline earlier in this file
   (mdxNavFadeIn, mdxMobileSlide, mdxContactFadeIn — see the HEADER —
   PREMIUM REDESIGN and CONTACT — CONTACT PAGE sections above for the
   selectors that still reference them via `animation:`) are
   consolidated here too.
   ==================================================================== */

:root {
  --mdx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mdx-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --mdx-dur: 0.8s;
  --mdx-dur-fast: 0.3s;
  --mdx-gold: #e7be92;
  --mdx-gold-glow: rgba(231, 190, 146, 0.45);
  --mdx-navy-shadow: rgba(15, 27, 45, 0.16);
}

/* --------------------------------------------------------------------
   Reduced motion — hard safety net for every animated/transitioning
   element in this section (plus the navbar entrance kept above).
   -------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  .mdx-counter,
  #myBtn,
  .sideimg,
  .playbtnimgvideo,
  #accordion .hdng a:after,
  .mdx-premium-nav,
  .mdx-premium-nav *,
  .mdx-premium-nav *::after {
    transition: none !important;
    animation: none !important;
  }
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------
   RELOCATED KEYFRAMES (navbar entrance + contact hero entrance)
   -------------------------------------------------------------------- */
@keyframes mdxNavFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mdxMobileSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mdxContactFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================================================================
   SCROLL-REVEAL SYSTEM — [data-animate] elements
   Pure CSS scroll-driven animation via `animation-timeline: view()`.
   Default state (outside @supports) is the plain, fully visible
   element — the correct fallback for browsers that don't yet support
   scroll-driven animations, so content is never stuck hidden.
   Supporting browsers get the reveal-on-scroll motion that used to be
   driven by mdx-animations.js (IntersectionObserver).
   ==================================================================== */
@keyframes mdxRevealFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mdxRevealFadeLeft {
  from {
    opacity: 0;
    transform: translate3d(-34px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mdxRevealFadeRight {
  from {
    opacity: 0;
    transform: translate3d(34px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mdxRevealScaleIn {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mdxRevealZoom {
  from {
    opacity: 0;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Base layer: a normal, time-based CSS animation that plays shortly
   after paint. This is UNCONDITIONAL — it runs in every browser with no
   feature-detection gate, so the reveal always actually happens instead
   of silently depending on very new scroll-driven-animation support. */
[data-animate] {
  animation: mdxRevealFadeUp var(--mdx-dur) var(--mdx-ease) both;
  animation-delay: 0.1s;
  will-change: transform, opacity;
}
[data-animate="fade-left"] {
  animation-name: mdxRevealFadeLeft;
}
[data-animate="fade-right"] {
  animation-name: mdxRevealFadeRight;
}
[data-animate="scale-in"] {
  animation-name: mdxRevealScaleIn;
}
[data-animate="zoom-reveal"] {
  animation-name: mdxRevealZoom;
}

/* Same-row stagger cascade — mirrors the former JS sibling-index delay
   (90ms step, capped at the 6th item). Falls back to no stagger (every
   element still reveals, just simultaneously) in browsers without
   :nth-child(of S). */
[data-animate]:nth-child(2 of [data-animate]) {
  animation-delay: 0.19s;
}
[data-animate]:nth-child(3 of [data-animate]) {
  animation-delay: 0.28s;
}
[data-animate]:nth-child(4 of [data-animate]) {
  animation-delay: 0.37s;
}
[data-animate]:nth-child(5 of [data-animate]) {
  animation-delay: 0.46s;
}
[data-animate]:nth-child(n + 6 of [data-animate]) {
  animation-delay: 0.55s;
}

/* Enhancement layer: browsers that support scroll-driven animations
   swap the SAME animation from time-based to scroll-linked, so it
   replays as each element enters the viewport instead of once on load. */
@supports (animation-timeline: view()) {
  [data-animate] {
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    animation-delay: 0s;
  }
  [data-animate]:nth-child(2 of [data-animate]) {
    animation-delay: 90ms;
  }
  [data-animate]:nth-child(3 of [data-animate]) {
    animation-delay: 180ms;
  }
  [data-animate]:nth-child(4 of [data-animate]) {
    animation-delay: 270ms;
  }
  [data-animate]:nth-child(5 of [data-animate]) {
    animation-delay: 360ms;
  }
  [data-animate]:nth-child(n + 6 of [data-animate]) {
    animation-delay: 450ms;
  }
}

/* ====================================================================
   HERO / SLIDER
   ==================================================================== */
.mcx-tagline,
.banner_txt h1,
.banner_txt p.fs-16,
.banner_txt .buttons {
  transition:
    opacity var(--mdx-dur) var(--mdx-ease),
    transform var(--mdx-dur) var(--mdx-ease);
}
.carousel-item:not(.active) .mcx-tagline,
.carousel-item:not(.active) .banner_txt h1,
.carousel-item:not(.active) .banner_txt p.fs-16,
.carousel-item:not(.active) .banner_txt .buttons {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}
.carousel-item.active .mcx-tagline {
  transition-delay: 0.05s;
}
.carousel-item.active .banner_txt h1 {
  transition-delay: 0.15s;
}
.carousel-item.active .banner_txt p.fs-16 {
  transition-delay: 0.28s;
}
.carousel-item.active .banner_txt .buttons {
  transition-delay: 0.4s;
}

.banner_slider img {
  transform: scale(1.06);
  transition: transform 1.6s var(--mdx-ease);
}
.carousel-item.active .banner_slider img {
  transform: scale(1);
}

/* Hero CTA — elegant shine sweep, scoped to hero only */
.banner_txt .buttons .btn {
  position: relative;
  overflow: hidden;
  transition:
    transform var(--mdx-dur-fast) var(--mdx-ease-soft),
    box-shadow var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.banner_txt .buttons .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
}
.banner_txt .buttons .btn:hover::after {
  animation: mdxShine 0.9s var(--mdx-ease-soft);
}
.banner_txt .buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
@keyframes mdxShine {
  to {
    left: 130%;
  }
}

.carousel-control-prev,
.carousel-control-next {
  transition:
    opacity var(--mdx-dur-fast) ease,
    transform var(--mdx-dur-fast) ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* ====================================================================
   ABOUT SECTION
   ==================================================================== */
.about-img-box {
  transition: none;
}
.about-img-box img.about-img {
  transition:
    transform 0.9s var(--mdx-ease),
    filter 0.9s var(--mdx-ease);
}

/* Decorative floating dots image */
.sideimg {
  animation: mdxFloat 7s ease-in-out infinite;
}
@keyframes mdxFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

/* ====================================================================
   COUNTERS (Statistics + Why Choose Us)
   The number itself is always the exact, already-formatted text from
   the markup (comma grouping intact, fully accessible) — a true digit
   count-up needs either JS or CSS `counter()`, and `counter()` can't
   reproduce thousands-separator formatting and depends on very new,
   inconsistently supported CSS. Instead each counter gets a quick,
   unconditional pop/reveal, time-based so it plays in every browser.
   Where `animation-timeline: view()` is supported, the Statistics
   grid's reveal becomes scroll-linked instead of firing once on load.
   ==================================================================== */
.mdx-counter {
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
@keyframes mdxCounterPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Statistics grid — pops in shortly after load; becomes a scroll-linked
   reveal in browsers that support view-timelines. */
.statistics-value .mdx-counter {
  animation: mdxCounterPop 0.6s var(--mdx-ease) both;
  animation-delay: 0.2s;
}
@supports (animation-timeline: view()) {
  .statistics-value .mdx-counter {
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
    animation-delay: 0s;
  }
}

/* Why Choose Us — replays on every rotation because the pop is bound to
   the .active class the existing rotation script already toggles every
   3s, not to scroll position or any @supports-gated feature. */
.wc-stat-item.active .mdx-counter {
  animation: mdxCounterPop 0.5s var(--mdx-ease-soft) both;
}

/* ====================================================================
   WHY CHOOSE US
   ==================================================================== */
.wc-card {
  border: 1px solid transparent;
}
.wc-card:hover {
  border-color: rgba(15, 27, 45, 0.12);
}
/* .wc-static-image is deliberately NOT animated: it's centered via
   `transform: translate(-50%, -50%)` above, and a CSS `animation` on
   that same property would replace the base transform while running,
   knocking it off its centered position. The reveal
   (data-animate="fade-left") lives on .wc-stats-display instead, so
   the background image stays untouched. */

/* ====================================================================
   CARD LIFT — doccard (doctors / news / awards), blog, casestudies
   ==================================================================== */
.doccard,
.blog,
.casestudies {
  transition:
    transform var(--mdx-dur-fast) var(--mdx-ease-soft),
    box-shadow var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.doccard:hover,
.blog:hover,
.casestudies:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px var(--mdx-navy-shadow);
}

/* Read more / profile links — underline slide-in */
.doccard-profile,
.blog-title-link,
.mdx-pr-card .mdx-pr-title,
a.doc-contact {
  background-image: linear-gradient(var(--mdx-gold), var(--mdx-gold));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.doccard-profile:hover,
.blog-title-link:hover,
a.doc-contact:hover {
  background-size: 100% 1px;
}

/* Blog "Read more" arrow micro-movement (kept even though currently
   d-none in markup, so it's ready if that link is ever surfaced) */
.blog-meta .btnthird {
  transition: transform var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.blog-meta .btnthird:hover {
  transform: translateX(4px);
}

/* ====================================================================
   SERVICES / TREATMENTS / DEPARTMENTS — diamond cards
   ==================================================================== */
.srv-diamond-card {
  transition: transform var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.srv-diamond-item:hover .srv-diamond-card {
  transform: scale(1.05);
}
.srv-diamond-clip img {
  transition: transform var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.srv-diamond-item:hover .srv-diamond-clip img {
  transform: rotate(-45deg) scale(1.12);
}
.srv-diamond-card::before {
  transition: background var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.srv-diamond-item:hover .srv-diamond-card::before {
  background: rgba(0, 0, 0, 0.12);
}

/* ====================================================================
   TESTIMONIALS
   ==================================================================== */
.mdx-review-quote {
  transition: transform var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-review-item:hover .mdx-review-quote {
  transform: scale(1.15) rotate(-4deg);
}
.owl-carousel .mdx-review-item {
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* ====================================================================
   PHOTO / VIDEO GALLERY
   .mdx-gallery-card / .mdx-video-card already own a full hover
   treatment (lift, image zoom, overlay fade, zoom/play icon pop)
   above. Only the play-button idle pulse lives here.
   ==================================================================== */
.playbtnimgvideo {
  border-radius: 50%;
  animation: mdxPulse 2.4s ease-in-out infinite;
}
.mdx-video-card:hover .playbtnimgvideo {
  animation-play-state: paused;
}
@keyframes mdxPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

/* ====================================================================
   EVENTS
   ==================================================================== */
.ev-date-block {
  transition: background var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.medevents:hover .ev-date-block {
  background: #1c3350;
}

/* ====================================================================
   FAQ ACCORDION
   ==================================================================== */
#accordion .hdng a:after {
  display: inline-block;
  transition: transform var(--mdx-dur-fast) var(--mdx-ease-soft);
}
#accordion .hdng a.collapsed:after {
  transform: rotate(-90deg);
}
.faq-hover {
  transition: background var(--mdx-dur-fast) ease;
}
.collapse.show > .card-body {
  animation: mdxFadeIn 0.5s var(--mdx-ease);
}
@keyframes mdxFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* FAQ — Premium redesign motion (pairs with the .mdx-faq-* structural
   rules above) */
.mdx-faq-accordion .mdx-faq-card {
  transition:
    border-color var(--mdx-dur-fast) var(--mdx-ease-soft),
    box-shadow var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-faq-accordion .mdx-faq-card:hover {
  border-color: rgba(231, 190, 146, 0.35);
  box-shadow: 0 10px 28px rgba(15, 27, 45, 0.3);
}
.mdx-faq-icon {
  transition: background var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-faq-icon::before,
.mdx-faq-icon::after {
  transition:
    transform var(--mdx-dur-fast) var(--mdx-ease-soft),
    opacity var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-faq-toggle:not(.collapsed) .mdx-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.mdx-footer-menu .link {
  position: relative;
  transition:
    color var(--mdx-dur-fast) ease,
    padding-left var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-footer-menu .link:hover {
  padding-left: 6px;
}
.mdx-social-icon {
  transition:
    transform var(--mdx-dur-fast) var(--mdx-ease-soft),
    box-shadow var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px var(--mdx-gold-glow);
}
.mdx-newsletter-input-group input {
  transition: box-shadow var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-newsletter-input-group button {
  transition:
    background var(--mdx-dur-fast) ease,
    transform var(--mdx-dur-fast) var(--mdx-ease-soft);
}
.mdx-newsletter-input-group button:hover {
  transform: translateY(-2px);
}

/* ====================================================================
   BACK TO TOP BUTTON
   Visibility is toggled by a plain scroll listener in layout/js.php
   (show/hide past 20px scrolled — that's visibility state, not an
   animation). The entrance/hover motion itself is pure CSS below.
   ==================================================================== */
#myBtn {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--mdx-gold);
  color: #14233a;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(15, 27, 45, 0.28);
  cursor: pointer;
  animation: mdxPopIn 0.4s var(--mdx-ease) both;
  transition:
    transform var(--mdx-dur-fast) var(--mdx-ease-soft),
    box-shadow var(--mdx-dur-fast) var(--mdx-ease-soft),
    background var(--mdx-dur-fast) var(--mdx-ease-soft);
}
#myBtn:hover {
  transform: translateY(-3px);
  background: #d4a574;
  box-shadow: 0 14px 30px rgba(15, 27, 45, 0.35);
}
#myBtn i {
  transition: transform var(--mdx-dur-fast) var(--mdx-ease-soft);
}
#myBtn:hover i {
  transform: translateY(-2px);
}
@keyframes mdxPopIn {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 575.98px) {
  #myBtn {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* =========================================================
   CONTACT DETAILS REDESIGN
   Existing content only
========================================================= */

.contact-redesign {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 30px;
  background: #08263c;
}

.contact-redesign__wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45% 45%;
  align-items: start;
  gap: 50px;
}

/* =========================================================
   LEFT
========================================================= */

.contact-redesign__left {
  min-width: 0;
}

.contact-redesign__title {
  margin: 0 0 40px;
  color: #efc18e;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
}

.contact-redesign__map-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-redesign__map-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.contact-redesign__map-column {
  padding: 0 !important;
}

.contact-redesign__map {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

.contact-redesign__map iframe {
  display: block;
  width: 100% !important;
  min-height: 400px;
  border: 0 !important;
}

.contact-redesign__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   RIGHT
========================================================= */

.contact-redesign__right {
  min-width: 0;
  padding-top: 5px;
}

.contact-redesign__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

/* =========================================================
   CONTACT ITEM
   Fixed 60px rectangular boxes
========================================================= */

.contact-redesign__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 60px;
  min-height: 60px;
  margin: 0;
  padding: 8px 18px;
  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;

  background: rgba(255, 255, 255, 0.045);

  overflow: hidden;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.contact-redesign__item:hover {
  border-color: rgba(239, 193, 142, 0.35);
  background: rgba(255, 255, 255, 0.075);
  transform: none;
}

/* Full-width boxes */

.contact-redesign__item--address,
.contact-redesign__item--full {
  grid-column: 1 / -1;
  width: 100%;
  height: 60px;
  min-height: 60px;
}

/* =========================================================
   ICON
========================================================= */

.contact-redesign__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  margin-right: 14px;

  border: 1px solid rgba(239, 193, 142, 0.35);
  border-radius: 50%;

  background: rgba(239, 193, 142, 0.08);

  color: #efc18e;
  font-size: 15px;
}

/* =========================================================
   CONTENT
========================================================= */

.contact-redesign__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
  padding: 0;

  line-height: 1.2;
}

.contact-redesign__content--offset {
  padding-left: 54px;
}

/* =========================================================
   LABEL
========================================================= */

.contact-redesign__label {
  display: block;

  margin: 0 0 2px;

  color: rgba(255, 255, 255, 0.6);

  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

/* =========================================================
   NAME
========================================================= */

.contact-redesign__name {
  display: block;

  margin: 0 0 2px;

  color: #e7be92;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

/* =========================================================
   VALUE
========================================================= */

.contact-redesign__value {
  display: block;

  max-width: 100%;
  margin: 0;

  color: #ffffff;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  text-decoration: none;
}

.contact-redesign__value:hover {
  color: #efc18e;
  text-decoration: none;
}

.contact-redesign__email {
  font-size: 13px;
}

/* =========================================================
   BUTTON
========================================================= */

.contact-redesign__action {
  margin-top: 14px;
}

.contact-redesign__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 52px;

  padding: 12px 25px !important;

  border: 0 !important;
  border-radius: 6px !important;

  background: #efc18e !important;

  color: #071e2c !important;

  font-size: 14px;
  font-weight: 700 !important;
  line-height: 1.4;

  text-decoration: none !important;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-redesign__button:hover {
  background: #f3c99d !important;
  color: #071e2c !important;

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.contact-redesign__button i {
  transition: transform 0.25s ease;
}

.contact-redesign__button:hover i {
  transform: translateX(4px);
}

/* =========================================================
   FEE
========================================================= */

.contact-redesign__extra {
  display: flex;
  align-items: center;

  width: 100%;
  height: 60px;
  min-height: 60px;

  margin-top: 14px;
  padding: 0 20px;

  box-sizing: border-box;

  border-left: 2px solid #efc18e;

  background: rgba(255, 255, 255, 0.045);

  color: rgba(255, 255, 255, 0.75);

  font-size: 14px;
  line-height: 1.4;
}

.contact-redesign__extra strong {
  margin-right: 5px;
  color: #ffffff;
}

/* =========================================================
   LINK
========================================================= */

.contact-redesign__link {
  display: flex;
  align-items: center;

  width: 100%;
  height: 60px;
  min-height: 60px;

  margin-top: 14px;
  padding: 0 20px;

  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;

  background: rgba(255, 255, 255, 0.045);

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;
  line-height: 1.6;
}

.contact-redesign__link strong {
  margin-right: 5px;
  color: #ffffff;
}

.contact-redesign__link a {
  color: #efc18e;
  font-weight: 600;

  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-redesign__link a:hover {
  color: #ffffff;
}

/* =========================================================
   HTML
========================================================= */

.contact-redesign__html {
  width: 100%;

  margin-top: 14px;
  padding: 18px 20px;

  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;

  background: rgba(255, 255, 255, 0.04);

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;
  line-height: 1.7;
}

.contact-redesign__html p {
  margin: 0 0 8px;

  color: #efc18e;

  font-size: 16px;
  font-weight: 600;
}

.contact-redesign__html > div > *:last-child {
  margin-bottom: 0;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {
  .contact-redesign {
    padding: 70px 0;
  }

  .contact-redesign__wrapper {
    grid-template-columns: 42% 58%;
    gap: 35px;
  }

  .contact-redesign__title {
    margin-bottom: 30px;
    font-size: 42px;
  }

  .contact-redesign__map,
  .contact-redesign__map iframe {
    min-height: 340px;
  }

  .contact-redesign__item {
    height: 60px;
    min-height: 60px;
    padding: 8px 15px;
  }

  .contact-redesign__item--address,
  .contact-redesign__item--full {
    height: 60px;
    min-height: 60px;
  }
}

/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 991px) {
  .contact-redesign {
    padding: 60px 0;
  }

  .contact-redesign__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-redesign__title {
    max-width: 700px;
    font-size: 42px;
  }

  .contact-redesign__map,
  .contact-redesign__map iframe {
    min-height: 360px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .contact-redesign {
    padding: 50px 0;
  }

  .contact-redesign__wrapper {
    display: block;
  }

  .contact-redesign__left {
    margin-bottom: 35px;
  }

  .contact-redesign__title {
    margin-bottom: 25px;
    font-size: 34px;
    line-height: 1.15;
  }

  .contact-redesign__map,
  .contact-redesign__map iframe {
    min-height: 280px;
  }

  .contact-redesign__details {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-redesign__item,
  .contact-redesign__item--address,
  .contact-redesign__item--full {
    grid-column: auto;
  }

  .contact-redesign__item {
    width: 100%;
    height: 60px;
    min-height: 60px;
    padding: 8px 14px;
  }

  .contact-redesign__item--address,
  .contact-redesign__item--full {
    height: 60px;
    min-height: 60px;
  }

  .contact-redesign__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .contact-redesign__content--offset {
    padding-left: 52px;
  }

  .contact-redesign__button {
    width: 100%;
  }
}

/* =========================================================
   414px
========================================================= */

@media (max-width: 414px) {
  .contact-redesign {
    padding: 45px 0;
  }

  .contact-redesign__title {
    font-size: 31px;
  }

  .contact-redesign__map,
  .contact-redesign__map iframe {
    min-height: 250px;
  }

  .contact-redesign__item {
    padding: 8px 12px;
  }

  .contact-redesign__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    margin-right: 10px;
  }
}

/* =========================================================
   375px
========================================================= */

@media (max-width: 375px) {
  .contact-redesign__title {
    font-size: 29px;
  }

  .contact-redesign__map,
  .contact-redesign__map iframe {
    min-height: 225px;
  }

  .contact-redesign__item {
    padding: 8px 10px;
  }

  .contact-redesign__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    margin-right: 9px;
  }
}

/* =========================================================
   320px
========================================================= */

@media (max-width: 320px) {
  .contact-redesign__title {
    font-size: 27px;
  }

  .contact-redesign__item {
    padding: 8px;
  }

  .contact-redesign__icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    margin-right: 8px;
  }

  .contact-redesign__content--offset {
    padding-left: 42px;
  }

  .contact-redesign__label,
  .contact-redesign__name {
    font-size: 12px;
  }

  .contact-redesign__value {
    font-size: 13px;
  }
}
/* ================= SERVICE DETAIL HERO ================= */
.services.mdx-svc-detail {
  padding-top: 0 !important;
}
.services .mdx-svc-hero {
  background: #082131;
  padding: 80px 0;
  width: 100%;
}
.services .mdx-svc-body {
  padding-top: 50px;
}
.services .mdx-svc-hero .mdx-svc-hero-title {
  font-size: 35px;
  /*line-height:1.15;*/
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 22px 0;
}
.services .mdx-svc-hero .mdx-svc-hero-text {
  font-size: 14px;
  /*line-height:1.7;*/
  font-weight: 400;
  color: #d7dee5;
  max-width: 560px;
  margin: 0 0 32px 0;
}
.services .mdx-svc-hero .mdx-svc-hero-btn {
  display: inline-block;
  background: #e7be92;
  color: #0b1f2e;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 28px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.services .mdx-svc-hero .mdx-svc-hero-btn:hover,
.services .mdx-svc-hero .mdx-svc-hero-btn:focus {
  background: #d4a574;
  color: #0b1f2e;
  text-decoration: none;
}
.services .mdx-svc-hero .mdx-svc-hero-img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover !important;
  border-radius: 10px;
}

/* ---- 53 / 47 split + column gap ---- */
@media (min-width: 1200px) {
  .services .mdx-svc-hero .mdx-svc-hero-left {
    flex: 0 0 53%;
    max-width: 53%;
    padding-right: 50px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-right {
    flex: 0 0 47%;
    max-width: 47%;
  }
}

@media (max-width: 1199px) {
  .services .mdx-svc-hero {
    padding: 60px 0;
  }
  .services .mdx-svc-hero .mdx-svc-hero-title {
    font-size: 44px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-img {
    height: 300px;
  }
}

@media (max-width: 991px) {
  .services .mdx-svc-hero {
    padding: 50px 0;
  }
  .services .mdx-svc-body {
    padding-top: 40px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-title {
    font-size: 40px;
    margin-bottom: 18px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-text {
    max-width: 100%;
    margin-bottom: 26px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-right {
    margin-top: 35px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-img {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .services .mdx-svc-hero {
    padding: 40px 0;
  }
  .services .mdx-svc-hero .mdx-svc-hero-title {
    font-size: 34px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-text {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-btn {
    font-size: 15px;
    padding: 14px 24px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-img {
    height: 240px;
  }
}

@media (max-width: 479px) {
  .services .mdx-svc-hero .mdx-svc-hero-title {
    font-size: 28px;
  }
  .services .mdx-svc-hero .mdx-svc-hero-img {
    height: 200px;
  }
}
.mdx-toc-cards .mdx-toc-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.mdx-toc-cards ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mdx-toc-cards .mdx-toc-card-link {
  display: block;
  background: #0d2536;
  border: 1px solid rgba(231, 190, 146, 0.3);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.mdx-toc-cards .mdx-toc-card-link:hover,
.mdx-toc-cards .mdx-toc-card-link:focus {
  background: #e7be92;
  border-color: #e7be92;
  text-decoration: none;
}

.mdx-toc-cards .mdx-toc-card-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.mdx-toc-cards .mdx-toc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mdx-toc-cards .mdx-toc-card-body {
  position: relative;
  padding: 20px 20px 44px 20px;
}

.mdx-toc-cards .mdx-toc-text {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.mdx-toc-cards .mdx-toc-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #c7d0d8;
  margin: 0;
  transition: color 0.3s ease;
}

.mdx-toc-cards .mdx-toc-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  color: #e7be92;
  transition: color 0.3s ease;
}

.mdx-toc-cards .mdx-toc-card-link:hover .mdx-toc-text,
.mdx-toc-cards .mdx-toc-card-link:hover .mdx-toc-desc,
.mdx-toc-cards .mdx-toc-card-link:hover .mdx-toc-arrow {
  color: #0b1f2e;
}

@media (max-width: 767px) {
  .mdx-toc-cards .mdx-toc-card-img-wrap {
    height: 180px;
  }
  .mdx-toc-cards .mdx-toc-title {
    font-size: 20px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .contact-redesign *,
  .contact-redesign *::before,
  .contact-redesign *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.services .mdx-svc-hero-left,
.services .mdx-svc-hero-right {
  position: sticky;
  top: 0;
  align-self: flex-start;
}
/* Kill the beige panel wrapping the whole sidebar */
.services .mdx-side-wrap,
.services .mdx-toc,
.services .mdx-toc-cards {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.mdx-toc-cards .mdx-toc-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.mdx-toc-cards ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mdx-toc-cards .mdx-toc-card-link {
  display: block;
  background: #0d2536;
  border: 1px solid rgba(231, 190, 146, 0.35);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.mdx-toc-cards .mdx-toc-card-link:hover,
.mdx-toc-cards .mdx-toc-card-link:focus {
  background: #e7be92;
  border-color: #e7be92;
  text-decoration: none;
}

.mdx-toc-cards .mdx-toc-card-img-wrap {
  width: 100%;
  height: 100px;
  overflow: hidden;
}
.mdx-toc-cards .mdx-toc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mdx-toc-cards .mdx-toc-card-body {
  padding: 12px;
}

.mdx-toc-cards .mdx-toc-text {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.mdx-toc-cards .mdx-toc-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #c7d0d8;
  margin: 0;
  transition: color 0.3s ease;
}

.mdx-toc-cards .mdx-toc-arrow {
  display: none;
}

.mdx-toc-cards .mdx-toc-card-link:hover .mdx-toc-text,
.mdx-toc-cards .mdx-toc-card-link:hover .mdx-toc-desc {
  color: #0b1f2e;
}

@media (max-width: 767px) {
  .mdx-toc-cards ul {
    grid-template-columns: 1fr;
  }
  .mdx-toc-cards .mdx-toc-title {
    font-size: 20px;
  }
  .mdx-toc-cards .mdx-toc-card-img-wrap {
    height: 160px;
  }
  .mdx-toc-cards .mdx-toc-text {
    font-size: 18px;
  }
  .mdx-toc-cards .mdx-toc-desc {
    font-size: 14px;
  }
}
/* =========================================================
   DEPARTMENT STICKY CONTENT
========================================================= */

@media (min-width: 992px) {
  /* LONG DESCRIPTION - STICKY */

  .mdx-info-content {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }

  /* DEPARTMENT IMAGE - STICKY */

  .mdx-dept-sticky-image {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    width: 100%;
  }
}

/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 991px) {
  .mdx-info-content,
  .mdx-dept-sticky-image {
    position: relative;
    top: auto;
  }
}

/* ====================================================================
   COMMON COMPONENTS — shared across the redesigned pages below
   ==================================================================== */

/* Titlebar pill used with no accompanying meta row (Case Studies Info,
   Dynamic Pages Info, Video Info, Testimonial Video Info) — without this
   the h1 keeps .mdx-post-titlebar's 60% max-width (reserved for a meta
   row that isn't there) and leaves the pill half empty. */
.mdx-titlebar-solo h1 {
  max-width: 100%;
}

/* Responsive 16:9 video frame — used wherever a Local/YouTube/Insta
   embed needs to fill its column instead of a fixed height="400". */
.mdx-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.mdx-video-frame iframe,
.mdx-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Meta row (time-ago / view count) sitting above a titlebar instead of
   inside one — reuses .mdx-post-meta's icon + text styling. */
.mdx-video-meta {
  margin: 16px 0 6px;
  flex-wrap: wrap;
}

/* ====================================================================
   CASE STUDIES - INDEX
   Card is shared verbatim by the homepage carousel/grid and the full
   Case Studies listing page — see CASE STUDIES - LISTING below.
   ==================================================================== */
.casestudies {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 12px;
}
.casestudies-img {
  overflow: hidden;
  border-radius: 8px;
}
.casestudies-img img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.casestudies-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 16px;
}
.casestudies-title-link {
  text-decoration: none !important;
}
.casestudies-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.casestudies-title-link:hover .casestudies-title {
  color: #e7be92;
}
.casestudies-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  min-height: 44px;
  margin-bottom: 14px;
}
.casestudies-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  color: #e7be92;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: gap 0.3s ease;
}
.casestudies-cta i {
  color: #e7be92;
  font-size: 12px;
  transition: transform 0.3s ease;
}
.casestudies-cta:hover {
  color: #e7be92;
  gap: 12px;
}
.casestudies-cta:hover i {
  transform: translateX(2px);
}

/* Equal-height slides on the homepage owl-carousel — same technique
   already used by #testimonials_slider / #press_release_slider */
#casestudies_slider.owl-carousel .owl-wrapper {
  display: flex !important;
}
#casestudies_slider .owl-item {
  display: flex;
  float: none;
}
#casestudies_slider .casestudies {
  width: 100%;
}

@media (max-width: 767px) {
  .casestudies-title {
    font-size: 16px;
  }
}

/* ====================================================================
   CASE STUDIES - LISTING
   Heading matches the other listing pages (News, Awards); cards reuse
   the .casestudies component styled above.
   ==================================================================== */
.casestudies_homepage .pagination {
  margin-top: 10px;
}

/* ====================================================================
   CASE STUDIES - INFO
   Hero / titlebar / content / sidebar all reuse the existing
   .mdx-post-hero / .mdx-post-titlebar / .mdx-post-content / .mdx-toc
   components already established by Blog Info and News Info.
   ==================================================================== */
.mdx-post-content .pt-20 {
  padding-top: 20px;
}

/* ====================================================================
   DYNAMIC PAGE INFO
   Reuses .mdx-post-titlebar (solo variant) + .mdx-post-content +
   .mdx-toc — no new layout needed beyond the shared components above.
   ==================================================================== */

/* ====================================================================
   SUCCESS PAGE
   ==================================================================== */
.mdx-success-section {
  display: flex;
  align-items: center;
  min-height: 60vh;
}
.mdx-success-card {
  max-width: 560px;
  margin: 0 auto;
}
.mdx-success-icon {
  margin-bottom: 10px;
}
.mdx-success-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}
.mdx-success-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  margin-bottom: 26px;
}
.mdx-success-btn {
  display: inline-block;
}

@media (max-width: 575px) {
  .mdx-success-title {
    font-size: 22px;
  }
  .mdx-success-desc {
    font-size: 15px;
  }
}

/* ====================================================================
   TESTIMONIAL VIDEO INFO
   Video container / meta / title reuse the shared components above
   (.mdx-video-frame, .mdx-post-meta, .mdx-post-titlebar).
   ==================================================================== */

/* ====================================================================
   VIDEO INFO
   Video container / meta / title reuse the shared components above.
   The comment-anchor offset below is specific to this page's
   "Write a Comment" scroll target.
   ==================================================================== */
.mt-210 {
  position: absolute;
  margin-top: -77px;
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */

/* About Us page (about_us.php) — the media/content columns use
   Bootstrap's .sticky-top (with an inline top:120px offset) so they
   track the viewport on desktop. Disable that on tablet/mobile so the
   columns behave as normal document flow instead of stacking oddly
   while sticky. Scoped to .about-inner-hero so the navbar's own
   .sticky-top usage elsewhere is unaffected. */
@media (max-width: 991px) {
  .about-inner-hero .sticky-top {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 767px) {
  .mdx-success-section {
    min-height: 50vh;
  }
}

/* ====================================================================
   AWARDS — HOMEPAGE HOVER PREVIEW — text overflow fix
   Compact hover-triggered overlay on a fixed-size card, so the Year /
   Provided-by / Location rows are kept to one line each (ellipsis)
   to prevent a long value from wrapping and colliding with the row
   below. Fluid (no media query needed) so it holds on desktop,
   tablet and mobile alike.
   ==================================================================== */
.awards_homepage .doccard-overlay {
  overflow: hidden;
}
.awards_homepage .doc-spec {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.awards_homepage .doc-contact {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.awards_homepage .doc-ic {
  flex-shrink: 0;
}

/* ====================================================================
   AWARDS INNER PAGE — full content, equal card height
   This page shows award details in full (no line-clamp/ellipsis), so
   .doc-spec/.doc-contact/.doc-desc wrap normally instead of the
   single-line truncation used by the homepage hover preview above.
   To keep every card in a row the same height regardless of how much
   text a given award has (or a missing description/contact row),
   .doccard already stretches to the row's tallest card (see the
   ".doctors.mdx-awards-section .row > [class*='col-']{display:flex}"
   rule above) — this section makes the image+overlay block inside
   grow to fill that stretched height too, instead of leaving a blank
   gap under a shorter card's content.
   ==================================================================== */
.mdx-awards-section .doccard {
  height: 100%;
}
.mdx-awards-section .doccard-img {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.mdx-awards-section .doccard-img > img {
  flex: 0 0 auto;
}
.mdx-awards-section .doccard-overlay {
  flex: 1 1 auto;
}
/* .doc-spec keeps its compact pill-badge shape (width:fit-content) —
   only guard against an unexpectedly long Year value wrapping badly. */
.mdx-awards-section .doc-spec {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
/* .doccard-overlay uses align-items:flex-start, so .doc-contact only
   takes its natural content width by default — force full width so
   long provided-by/location text wraps inside the card instead of
   overflowing it. */
.mdx-awards-section .doc-contact {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  align-items: flex-start;
}
.mdx-awards-section .doc-ic {
  flex-shrink: 0;
}

/* ====================================================================
   SPECIALITY SECTION (About Us) — <ul><li> overflow fix
   CMS-authored "Text" specialty values can include rich-text bullet
   lists; without an explicit reset a list keeps browser-default list
   spacing and long words can push past the scroll card's edge.
   ==================================================================== */
.spl-card-desc ul,
.spl-card-desc ol {
  max-width: 100%;
  padding-left: 18px;
  margin: 0 0 8px;
}
.spl-card-desc li {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ====================================================================
   SERVICES — DIAMOND CARD TITLE ELLIPSIS
   Keeps a long service name to one line instead of wrapping and
   pushing past the fixed-size diamond card.
   ==================================================================== */
.srv-diamond-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ====================================================================
   DOCTOR INNER PAGE — span text color
   .docinner-panel already forces span text dark; .docinner-about-text
   and .docinner-item-text were missing "span" from their selector
   list, so a CMS-authored span (common WYSIWYG paste artifact) fell
   back to the theme's global light span color and disappeared against
   these cards' white background. Scoped to this page's own classes
   only — no other page uses .docinner-*.
   ==================================================================== */
.docinner-about-text,
.docinner-about-text p,
.docinner-about-text li,
.docinner-about-text span {
  color: rgba(12, 35, 52, 0.85) !important;
}
.docinner-item-text,
.docinner-item-text p,
.docinner-item-text li,
.docinner-item-text span {
  color: rgba(12, 35, 52, 0.75) !important;
}

/* ====================================================================
   SERVICE INNER PAGE — "More Services" equal card height
   .mdx-toc-cards ul is a CSS grid (3 cols desktop / 1 col mobile);
   grid rows already stretch equally, but .mdx-toc-card-link only
   wrapped its own content height, so shorter cards left their
   background/border short of the stretched row height. Stretching
   the link to fill its cell (and the body to fill the link) makes
   every card in a row the same height regardless of title length, at
   every breakpoint the grid already defines.
   ==================================================================== */
.services .mdx-toc-cards .mdx-toc-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.services .mdx-toc-cards .mdx-toc-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.services .mdx-toc-cards .mdx-toc-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.services .mdx-toc-cards .mdx-toc-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ====================================================================
   CASE STUDIES INDEX — Owl Carousel navigation
   Same "circular buttons centered below the cards" treatment already
   used by the Testimonials carousel (.mdx-reviews), reused here
   instead of the old mobile-only "hide the arrows" rule so navigation
   stays visible and correctly positioned at every breakpoint.
   ==================================================================== */
.casestudies_homepage .owl-controls {
  margin-top: 40px;
  text-align: center;
}
.casestudies_homepage .owl-buttons {
  position: static;
  display: flex;
  justify-content: center;
  gap: 26px;
}
.casestudies_homepage .owl-controls .owl-buttons div {
  width: 43px;
  height: 43px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  opacity: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.casestudies_homepage .owl-controls .owl-buttons div.owl-prev {
  background: #ffffff !important;
  color: #0c2334;
}
.casestudies_homepage .owl-controls .owl-buttons div.owl-next {
  background: #e7be92 !important;
  color: #0c2334;
}
.casestudies_homepage .owl-controls .owl-buttons div:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767px) {
  .casestudies_homepage .owl-controls {
    margin-top: 30px;
  }
}
/*!
=========================================================================
 UNIVERSAL PREMIUM ANIMATION ENGINE  v6.1   (CSS part)
-------------------------------------------------------------------------
 REPLACES the whole old "v6.0 (CSS part)" block at the bottom of
 custom_style.css (from the "UNIVERSAL PREMIUM ANIMATION ENGINE" comment
 down to the end of the file).

 6.1 FIX: images no longer use clip-path. They fade + rise with a soft
 settle, so an image can never be left fully clipped / invisible.
=========================================================================
*/
:root{
  --pa-duration:1200ms;                        /* JS overwrites from config */
  --pa-distance:40px;                          /* JS overwrites from config */
  --pa-ease:cubic-bezier(.22,1,.36,1);
  --pa-ease-soft:cubic-bezier(.33,1,.68,1);
  --pa-ease-hover:cubic-bezier(.25,.8,.25,1);
  --pa-blur:6px;
  --pa-word-step:55ms;
  --pa-shadow-hover:
    0 24px 48px -24px rgba(16,42,67,.30),
    0 10px 20px -12px rgba(16,42,67,.16);
}

/* ---------------------------------------------------------
   0. Anti-flicker guard (optional)
--------------------------------------------------------- */
html.pa-guard body{ transition:opacity 600ms var(--pa-ease-soft); }
html.pa-guard:not(.pa-ready) body{
  opacity:0;
  animation:pa-guard-failsafe 0s linear 3s forwards;
}
@keyframes pa-guard-failsafe{ to{ opacity:1; } }

/* ---------------------------------------------------------
   1. Core reveal transition (dropped once "settled")
--------------------------------------------------------- */
html .pa-reveal:not(.pa-settled){
  transition:
    opacity    calc(var(--pa-duration) * .85) var(--pa-ease-soft) var(--pa-delay,0ms),
    translate  var(--pa-duration)             var(--pa-ease)      var(--pa-delay,0ms),
    scale      calc(var(--pa-duration) * 1.2) var(--pa-ease)      var(--pa-delay,0ms),
    rotate     calc(var(--pa-duration) * 1.1) var(--pa-ease)      var(--pa-delay,0ms),
    filter     calc(var(--pa-duration) * .9)  var(--pa-ease)      var(--pa-delay,0ms),
    transform        500ms var(--pa-ease-hover),
    box-shadow       500ms var(--pa-ease-hover),
    background-color 350ms ease,
    border-color     350ms ease,
    color            350ms ease !important;
}

html .pa-reveal.pa-instant,
html .pa-reveal.pa-instant pa-w{ transition:none !important; }

/* ---------------------------------------------------------
   2. Hidden states (visible state = the element's own styles)
--------------------------------------------------------- */
html .pa-reveal:not(.pa-visible):not(.pa-words){
  opacity:0;
  translate:0 var(--pa-distance);
}
html .pa-reveal.pa-sm:not(.pa-visible){ translate:0 calc(var(--pa-distance) * .6); }
html .pa-reveal.pa-down:not(.pa-visible){ translate:0 calc(var(--pa-distance) * -.8); }
html .pa-reveal.pa-left:not(.pa-visible){ translate:calc(var(--pa-distance) * -1.5) 0; }
html .pa-reveal.pa-right:not(.pa-visible){ translate:calc(var(--pa-distance) * 1.5) 0; }
html .pa-reveal.pa-fade:not(.pa-visible){ translate:none; }
html .pa-reveal.pa-zoom:not(.pa-visible){ translate:none; scale:.9; }
html .pa-reveal.pa-pop:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * .4);
  scale:.88;
}

/* Cards: stand up from a gentle 3D lean */
.pa-persp{ perspective:1400px; }
html .pa-reveal.pa-tilt{ transform-origin:50% 100%; }
html .pa-reveal.pa-tilt:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * 1.4);
  rotate:x 14deg;
  scale:.96;
}

/* Images ("curtain"): safe fade + rise, NO clip-path */
html .pa-reveal.pa-curtain:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * .8);
  scale:.97;
}

/* Headings: focus-pull */
html .pa-reveal.pa-blur:not(.pa-visible){ filter:blur(var(--pa-blur)); }

/* Images inside cards / banners zoom out gently as they rise */
html .pa-reveal:not(.pa-visible) .pa-zoom-img,
html .pa-reveal.pa-zoom-img:not(.pa-visible){ scale:1.12; }

/* Scrolling back up: content comes DOWN into view instead */
html .pa-reveal.pa-from-top:not(.pa-visible):not(.pa-left):not(.pa-right):not(.pa-fade):not(.pa-zoom):not(.pa-words){
  translate:0 calc(var(--pa-distance) * -1);
}
html .pa-reveal.pa-tilt.pa-from-top{ transform-origin:50% 0; }
html .pa-reveal.pa-tilt.pa-from-top:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * -1.4);
  rotate:x -14deg;
}
html .pa-reveal.pa-curtain.pa-from-top:not(.pa-visible){
  translate:0 calc(var(--pa-distance) * -.8);
}

/* ---------------------------------------------------------
   3. Word-by-word headings
--------------------------------------------------------- */
html .pa-words pa-w{
  display:inline-block;
  transition:
    opacity   calc(var(--pa-duration) * .8) var(--pa-ease-soft),
    translate var(--pa-duration)            var(--pa-ease),
    filter    calc(var(--pa-duration) * .9) var(--pa-ease);
  transition-delay:calc(var(--pa-delay,0ms) + var(--i,0) * var(--pa-word-step));
}
html .pa-words:not(.pa-visible) pa-w{
  opacity:0;
  translate:0 .6em;
  filter:blur(var(--pa-blur));
}
html .pa-words.pa-from-top:not(.pa-visible) pa-w{ translate:0 -.6em; }

/* ---------------------------------------------------------
   4. Adopted template hints
--------------------------------------------------------- */
.pa-adopt [data-animate],
.pa-adopt .revealOnScroll,
.pa-adopt [data-aos],
.pa-adopt .wow{
  animation:none !important;
  visibility:visible !important;
}
.pa-adopt [data-animate]:not(.pa-reveal),
.pa-adopt .revealOnScroll:not(.pa-reveal),
.pa-adopt [data-aos]:not(.pa-reveal),
.pa-adopt .wow:not(.pa-reveal),
.pa-adopt [data-animate].pa-visible,
.pa-adopt .revealOnScroll.pa-visible,
.pa-adopt [data-aos].pa-visible,
.pa-adopt .wow.pa-visible{
  opacity:1 !important;
  filter:none !important;
}
.pa-adopt [data-animate]:not(.pa-lift):not(.pa-btn),
.pa-adopt .revealOnScroll:not(.pa-lift):not(.pa-btn),
.pa-adopt [data-aos]:not(.pa-lift):not(.pa-btn),
.pa-adopt .wow:not(.pa-lift):not(.pa-btn),
.pa-adopt [data-animate].pa-lift:not(:hover),
.pa-adopt .revealOnScroll.pa-lift:not(:hover),
.pa-adopt [data-aos].pa-lift:not(:hover),
.pa-adopt .wow.pa-lift:not(:hover),
.pa-adopt [data-animate].pa-btn:not(:hover),
.pa-adopt .revealOnScroll.pa-btn:not(:hover),
.pa-adopt [data-aos].pa-btn:not(:hover),
.pa-adopt .wow.pa-btn:not(:hover){
  transform:none !important;
}

/* ---------------------------------------------------------
   5. Header + hero slider captions
--------------------------------------------------------- */
.pa-header{ animation:pa-header-in 1100ms var(--pa-ease) both; }
@keyframes pa-header-in{
  from{ opacity:0; translate:0 -20px; }
  to  { opacity:1; translate:none; }
}

.pa-cap{ animation:pa-cap-in 1400ms var(--pa-ease) var(--pa-cap-delay,0ms) both; }
@keyframes pa-cap-in{
  from{ opacity:0; translate:0 34px; filter:blur(6px); }
  to  { opacity:1; translate:none; filter:blur(0); }
}
@keyframes pa-cap-in-m{
  from{ opacity:0; translate:0 18px; }
  to  { opacity:1; translate:none; }
}

/* ---------------------------------------------------------
   6. Statistics counters
--------------------------------------------------------- */
.pa-count{ font-variant-numeric:tabular-nums; }

/* ---------------------------------------------------------
   7. Hover polish (mouse / trackpad only)
--------------------------------------------------------- */
.pa-zoom-wrap{ overflow:hidden; isolation:isolate; }
.pa-zoom-img{
  transition:transform 1200ms var(--pa-ease), scale 1800ms var(--pa-ease);
}
.pa-arrow{
  display:inline-block;
  transition:transform 350ms var(--pa-ease-hover);
}

@media (hover:hover) and (pointer:fine){
  html .pa-lift:hover{ transform:translate3d(0,-8px,0); }
  html .pa-lift-shadow:hover{ box-shadow:var(--pa-shadow-hover); }

  .pa-zoom-wrap:hover .pa-zoom-img{ transform:scale(1.06); }

  html .pa-btn:hover{ transform:translate3d(0,-3px,0); }
  html .pa-btn:active{ transform:translate3d(0,0,0) scale(.97); }

  a:hover .pa-arrow,
  button:hover .pa-arrow{ transform:translate3d(5px,0,0); }
}

/* ---------------------------------------------------------
   8. Horizontal overflow protection
--------------------------------------------------------- */
@supports (overflow:clip){
  html.pa-clip-x body{ overflow-x:clip; }
}

/* ---------------------------------------------------------
   9. QA helper (?pa-debug)
--------------------------------------------------------- */
[data-pa-debug]{
  outline:1px dashed rgba(255,0,170,.7) !important;
  outline-offset:-1px;
}

/* ---------------------------------------------------------
   10. Mobile: shorter travel, no sideways motion, no blur
--------------------------------------------------------- */
@media (max-width:767px){
  :root{ --pa-distance:24px; --pa-word-step:40ms; }

  html .pa-reveal.pa-left:not(.pa-visible),
  html .pa-reveal.pa-right:not(.pa-visible){ translate:0 var(--pa-distance); }
  html .pa-reveal.pa-from-top.pa-left:not(.pa-visible),
  html .pa-reveal.pa-from-top.pa-right:not(.pa-visible){ translate:0 calc(var(--pa-distance) * -1); }

  html .pa-reveal.pa-blur:not(.pa-visible){ filter:none; }
  html .pa-words:not(.pa-visible) pa-w{ filter:none; }

  html .pa-reveal.pa-tilt:not(.pa-visible){ rotate:x 8deg; }
  html .pa-reveal.pa-tilt.pa-from-top:not(.pa-visible){ rotate:x -8deg; }

  .pa-cap{ animation-name:pa-cap-in-m; }
}

/* ---------------------------------------------------------
   11. Reduced motion: everything visible, nothing moves
--------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html .pa-reveal,
  html .pa-words pa-w,
  html .pa-reveal .pa-zoom-img{
    opacity:1 !important;
    translate:none !important;
    scale:none !important;
    rotate:none !important;
    filter:none !important;
    transition:none !important;
  }
  .pa-header,
  .pa-cap{ animation:none !important; }
  .pa-lift:hover,
  .pa-btn:hover,
  .pa-zoom-wrap:hover .pa-zoom-img,
  a:hover .pa-arrow,
  button:hover .pa-arrow{ transform:none !important; }
  html.pa-guard body{ opacity:1 !important; animation:none !important; }
}
