/* ==========================================================================
   ONCQUEST LABS EXACT HEADER & FOOTER STYLES
   Directly extracted and matched with https://oncquestlabs.com/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* --- Reset & Layout Container Defaults --- */
/* Single native viewport scrollbar fix: html handles scroll, body is overflow: visible */
html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body,
body.hts-body,
.hts-body {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 100vh !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

img,
video,
iframe,
embed,
object {
  max-width: 100% !important;
  height: auto;
}

.oncquest-scope {
  font-family: "Montserrat", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding-top: 118px !important;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  margin: 0;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: 100vh !important;
}

@media (max-width: 991px) {
  body {
    padding-top: 54px !important;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 50px !important;
  }
}

.hts-main {
  padding-top: 15px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .hts-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 12px !important;
  }
}

@media (max-width: 480px) {
  .hts-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 10px !important;
  }
}

/* Grid & Utilities */
.oq-container {
  width: 100%;
  max-width: 1400px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.oq-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  box-sizing: border-box;
}

/* ==========================================================================
   1. TOPBAR SECTION (Exact Oncquest Blue & Skewed Gradient)
   ========================================================================== */
.topbar-section {
  position: fixed;
  background: #114a82;
  padding: 0;
  z-index: 99999;
  width: 100% !important;
  max-width: 100% !important;
  top: 0;
  left: 0;
  height: 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.topbar-section:after {
  background: #114a82;
  background: linear-gradient(90deg, #114a82 0%, #195b88 53%, #43b0a8 76%, #6fe2f4 100%);
  right: 0 !important;
  z-index: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% - 380px);
  content: "";
  transform: skew(-37deg);
  transform-origin: top right;
}

.topbar-section .topbar-inner {
  display: flex;
  width: 100%;
  padding: 0;
  height: 60px;
  align-items: center;
  justify-content: space-between;
}

/* Topbar Left (Logo Container) */
.top-bar-left {
  width: 380px;
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  background: #fff;
  z-index: 3;
}

.top-bar-left:before {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  content: "";
  transform: skew(-37deg);
  right: -47px;
  border-left: 10px solid #fff;
  z-index: 1;
}

.top-bar-left:after {
  position: absolute;
  content: "";
  width: 56px;
  height: 100%;
  bottom: 0;
  right: -38px;
  background-color: #0e4c83;
  transform: skew(-37deg);
  z-index: 2;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
  padding-left: 20px;
}

.top-bar-left img.oq-logo-img {
  max-width: 230px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  display: block;
}

/* Topbar Right Navigation & Contact Items */
.top-bar-right {
  position: relative;
  z-index: 2;
  width: calc(100% - 380px);
  height: 60px;
}

.top-bar-right ul.righttop {
  text-align: right;
  height: 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 25px 0 0;
  gap: 15px;
}

.top-bar-right ul.righttop li {
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

/* Search Bar in Header */
.header-search-bar-div {
  position: relative;
  width: 240px;
}

.header-search-bar-div .search-form-wrap {
  position: relative;
  width: 100%;
}

.header-search-bar-div input {
  width: 100%;
  height: 34px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 34px 4px 14px;
  font-size: 12px;
  color: #333;
  outline: none;
  box-sizing: border-box;
}

.header-search-bar-div input:focus {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.header-search-bar-div button.search-submit-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #114a82;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
}

/* Contact Badges in Topbar */
.topbar-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.topbar-phone-link:hover {
  opacity: 0.9;
  text-decoration: none;
}

.topbar-phone-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.topbar-phone-text {
  text-align: left;
  line-height: 1.2;
}

.topbar-phone-text small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.topbar-phone-text strong {
  font-size: 12px;
  font-weight: 700;
}

/* WhatsApp Icon */
.topbar-whatsapp-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.topbar-whatsapp-btn:hover {
  transform: scale(1.08);
}

/* Email Only Head */
.email_only_head {
  color: #fff;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.email_only_head a.__hyperlinks {
  color: #fff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}

.email_only_head a.__hyperlinks:hover {
  text-decoration: underline;
}

/* Download Report Button */
.btn-download-report {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-download-report:hover {
  background: #fff;
  color: #114a82 !important;
  border-color: #fff;
}

/* Login Dropdown */
.drp {
  position: relative;
  display: inline-block;
}

.drp .login-btn {
  background: #fff;
  color: #114a82 !important;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: background 0.2s;
}

.drp .login-btn:hover {
  background: #f0f7ff;
}

.drp .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  border: 1px solid #eef2f6;
  padding: 6px 0;
  display: none;
  z-index: 1000;
}

.drp:hover .dropdown-menu {
  display: block;
}

.drp .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: #334155;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.drp .dropdown-menu a:hover {
  background: #f1f5f9;
  color: #114a82;
}

.drp .dropdown-menu hr {
  margin: 4px 0;
  border: none;
  border-top: 1px solid #eef2f6;
}

/* Mobile Icon Controls */
.mob-icons-contact {
  display: none;
}

/* ==========================================================================
   2. MAIN NAVIGATION (White bar with Oncquest animated underline)
   ========================================================================== */
.bg-white.mainnav {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 52px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 35px;
  box-sizing: border-box;
}

.mainnav-left-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  margin-left: auto;
}

.primary-nav {
  letter-spacing: .02em;
  position: relative;
  height: 100%;
}

.primary-nav > ul {
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
}

.primary-nav > ul > li {
  height: 100%;
  margin: 0 8px;
  position: relative;
  display: flex;
  align-items: center;
}

.primary-nav > ul > li > a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #114a82;
  text-decoration: none;
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* The signature Oncquest active pill line above the text */
.primary-nav > ul > li > a > span {
  position: relative;
  display: inline-block;
}

.primary-nav > ul > li > a > span:after {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 25px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: -4px;
  background: #114a82;
  transition: all .35s ease;
}

.primary-nav > ul > li:hover > a > span:after,
.primary-nav > ul > li.open > a > span:after,
.primary-nav > ul > li.show > a > span:after,
.primary-nav > ul > li.current-menu-parent > a > span:after {
  width: 100%;
  background: #114a82;
}

/* Dropdown Menu - Signature Oncquest Cyan/Navy Gradient */
.primary-nav > ul > li.h_dropdown {
  position: relative !important;
  cursor: pointer;
}

/* Invisible bridge so mouse never loses hover between header and menu */
.primary-nav > ul > li.h_dropdown::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
  z-index: 999998;
}

.h_dropdown-menu {
  display: none;
  position: absolute;
  min-width: 290px;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.25);
  top: 100%;
  left: 0;
  text-align: left;
  color: #fff;
  padding: 10px 14px;
  background: linear-gradient(90deg, #114a82, #195b88 53%, #43b0a8 76%, #6fe2f4) 0 0 no-repeat padding-box;
  z-index: 999999 !important;
  border-radius: 0 0 10px 10px;
}

/* Open Dropdown on Hover or when .open / .show class is present */
.primary-nav > ul > li.h_dropdown:hover > .h_dropdown-menu,
.primary-nav > ul > li.h_dropdown.open > .h_dropdown-menu,
.primary-nav > ul > li.h_dropdown.show > .h_dropdown-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Rotate arrow when open or hovered */
.primary-nav > ul > li.h_dropdown:hover > a i.fa-angle-down,
.primary-nav > ul > li.h_dropdown.open > a i.fa-angle-down,
.primary-nav > ul > li.h_dropdown.show > a i.fa-angle-down {
  transform: rotate(180deg);
}

.primary-nav > ul > li > a i.fa-angle-down {
  display: inline-block;
  transition: transform 0.25s ease;
}

.primary-nav > ul > li:last-child .h_dropdown-menu,
.primary-nav > ul > li:nth-last-child(2) .h_dropdown-menu {
  left: auto;
  right: 0;
}

.h_dropdown-menu div {
  font-size: 13px;
  padding: 6px 0;
  font-weight: 400 !important;
}

.h_dropdown-menu hr {
  border: none;
  border-bottom: 0.8px solid rgba(255, 255, 255, 0.35);
  margin: 2px 0;
  padding: 0;
}

.h_dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.h_dropdown-menu a:hover {
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.h_dropdown-menu a i {
  display: inline-block;
  font-size: 11px;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.h_dropdown-menu a:hover i {
  transform: translateX(3px);
  opacity: 1;
}

/* Right Nav Elements: City Selector & Action CTAs */
.mainnav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* City Select Box */
.city-selector-wrap {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 4px 12px;
  gap: 6px;
  font-size: 12px;
}

.city-selector-wrap i {
  color: #114a82;
  font-size: 13px;
}

.city-selector-wrap select {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

/* Upload Prescription Button */
.btn-upload-prescription {
  background: linear-gradient(135deg, #ff7e67 0%, #ea580c 100%);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
  transition: transform 0.2s;
  white-space: nowrap;
}

.btn-upload-prescription:hover {
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none;
}

/* Book A Test Button */
.btn-book-test {
  background: #114a82;
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(17, 74, 130, 0.25);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-book-test:hover {
  background: #0e3b68;
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none;
}

/* Mobile Elements (Hidden on Desktop) */
.mainnavsmall {
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mob-icons-contact {
  display: none;
}

.btn-mob-book-test {
  background: #114a82;
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(17, 74, 130, 0.2);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-mob-book-test:hover,
.btn-mob-book-test:active {
  background: #0d3660;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.btn-mob-book-test i {
  font-size: 11px;
}

/* Mobile Nav Drawer & Overlay */
.oq-mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  max-width: 85%;
  height: 100vh;
  background: linear-gradient(180deg, #114a82 0%, #195b88 100%);
  z-index: 100000;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  transition: left 0.3s ease;
  padding: 20px;
  color: #fff;
  box-sizing: border-box;
}

.oq-mobile-drawer.open {
  left: 0;
}

.oq-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}

.oq-mobile-overlay.active {
  display: block;
}

.primary-navclose {
  display: block;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 28px;
  margin-left: auto;
}

.oq-mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.oq-mobile-drawer ul li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.oq-mobile-drawer ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 12px 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.oq-mobile-sublist {
  display: none;
  padding: 0 0 10px 14px;
  margin: 0;
  list-style: none;
}

.oq-mobile-sublist.show {
  display: block;
}

.oq-mobile-sublist li a {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  padding: 6px 0;
}

/* ==========================================================================
   3. POPULAR TESTS (Above Footer Section)
   ========================================================================== */
.oq-popular-tests-sec {
  background: #f1f5f9;
  padding: 25px 0;
  border-top: 1px solid #e2e8f0;
}

.oq-tests-title {
  font-size: 14px;
  font-weight: 700;
  color: #114a82;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oq-tests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.oq-test-pill {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.oq-test-pill:hover {
  background: #114a82;
  color: #fff;
  border-color: #114a82;
  text-decoration: none;
}

/* ==========================================================================
   4. FOOTER (Exact Background Graphic, Typography & Columns)
   ========================================================================== */
.footer {
  background: #f3f3f3 url('../images/oncquest/footer-bg.webp') bottom no-repeat;
  background-size: cover;
  position: relative;
  z-index: 21;
  border-top: 1px solid #e5e5e5;
  padding-top: 40px;
  color: #717272;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.footer .footer-top {
  padding: 0;
  margin-top: 0;
}

/* Footer Brand Header Strip */
.footer-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e5e5e5;
}

.footer-brand-header a.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-brand-header img.footer-logo-img {
  max-width: 220px;
  height: auto;
}

.footer-brand-header .footer-phone-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #114a82;
  font-weight: 600;
}

.footer-brand-header .footer-phone-contact a {
  color: #114a82;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* Footer Grid Columns */
.footer-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.footer-title {
  color: #717272;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.footer .footer-widget.footer-menu ul {
  list-style: none;
  padding: 0;
  outline: none;
  margin: 0 0 15px;
}

.footer .footer-menu ul li {
  margin-bottom: 6px;
  position: relative;
  display: block;
}

.footer .footer-menu ul li a {
  color: #717272;
  font-size: 12px;
  transition: all .4s ease 0s;
  padding-left: 0;
  text-decoration: none;
  display: inline-block;
}

.footer .footer-menu ul li a:hover {
  color: #000 !important;
  text-decoration: none;
}

/* NABL Logo and Accreditation Box */
.footer-about-content.nabl-logo {
  margin-bottom: 15px;
}

.footer-about-content.nabl-logo img {
  max-width: 100px;
  height: auto;
  display: block;
}

.footer-about-content p {
  color: #717272;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 6px;
}

/* Social Icons in Footer */
.footer ul.social {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer ul.social li {
  display: inline-block;
  margin: 0;
}

.footer ul.social li a {
  display: block;
  width: 30px;
  height: 30px;
  transition: transform 0.2s;
}

.footer ul.social li a:hover {
  transform: translateY(-2px);
}

.footer ul.social li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Horizontal Cities Presence Strip */
.footer .footer-top .countrybx {
  padding: 12px 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  border: 1px solid #717171;
  border-left: 0;
  border-right: 0;
  margin: 20px 0 10px;
}

.footer .footer-top .countrybx h6 {
  color: #717272;
  padding: 2px 0;
  text-transform: uppercase;
  font-size: 13px;
  min-width: 120px;
  margin: 0;
  font-weight: 600;
}

.footer .footer-top .countrybx ul {
  width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-top .countrybx ul li a {
  color: #717272;
  padding: 0 16px;
  position: relative;
  font-size: 11px;
  white-space: nowrap;
  display: block;
  margin-bottom: 6px;
  margin-top: 4px;
  text-decoration: none;
}

.footer .footer-top .countrybx ul li a:after {
  width: 1px;
  height: 100%;
  background-color: #717272;
  right: 0;
  top: 0;
  position: absolute;
  content: "";
}

.footer .footer-top .countrybx ul li:last-child a:after {
  display: none;
}

.footer .footer-top .countrybx ul li a:hover {
  color: #000;
  text-decoration: underline;
}

/* Footer Bottom Copyright & Legal */
.footer .footer-bottom {
  padding: 16px 0;
  background: transparent;
  border-top: 1px solid #e5e5e5;
  margin-top: 10px;
}

.footer .footer-bottom .copyright-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer .footer-bottom .copyright-text p {
  color: #717171;
  font-size: 12px;
  margin: 0;
}

.footer .footer-bottom .copyright-text a {
  color: #114a82;
  text-decoration: none;
  font-weight: 600;
}

.footer .footer-bottom ul.footer-legal-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer .footer-bottom ul.footer-legal-menu li a {
  color: #717171;
  font-size: 11px;
  text-decoration: none;
}

.footer .footer-bottom ul.footer-legal-menu li a:hover {
  color: #000;
  text-decoration: underline;
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .footer-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px 20px !important;
  }
}

@media (max-width: 991px) {
  .topbar-section:after,
  .top-bar-left:before,
  .top-bar-left:after {
    display: none !important;
  }

  .topbar-section {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 54px !important;
    background: #114a82 !important;
    z-index: 99999 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
  }

  .topbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 54px !important;
    padding: 0 14px !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  /* Mobile Hamburger Toggle on Left */
  .mainnavsmall {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
  }

  .mainnavsmall i {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .mainnavsmall .oq-nav-label {
    display: none !important;
  }

  /* Centered Oncquest Logo */
  .top-bar-left {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    max-width: 150px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    z-index: 5 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .top-bar-left a {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .top-bar-left img.oq-logo-img {
    max-width: 135px !important;
    max-height: 34px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
  }

  .top-bar-right,
  .top-bar-right ul.righttop {
    display: none !important;
  }

  /* Right Action Icons (WhatsApp & Phone Call) */
  .mob-icons-contact {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-left: auto !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
  }

  .wahtsap-icon-con {
    display: block !important;
    position: static !important;
  }

  .wahtsap-icon-con a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    color: #25d366 !important;
    font-size: 24px !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  .call-icon-con {
    display: block !important;
    position: static !important;
  }

  .call-icon-con a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    color: #ffffff !important;
    font-size: 19px !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  /* Hide Desktop Sub-Bar Completely on Mobile */
  .bg-white.mainnav {
    display: none !important;
  }

  .primary-nav,
  .city-selector-wrap,
  .btn-upload-prescription,
  .mob-mainnav-cta {
    display: none !important;
  }

  .oq-mobile-drawer {
    display: block !important;
  }

  .footer {
    padding-top: 30px !important;
  }

  .footer-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px 20px !important;
  }

  .footer-brand-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }

  .hts-posts .hts-posts-header {
    margin: 28px 0 20px !important;
  }

  .hts-posts .hts-posts-categories {
    margin-bottom: 28px !important;
  }
}

@media (max-width: 768px) {
  .footer .footer-top .countrybx {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px 0 !important;
    margin: 24px 0 16px !important;
  }

  .footer .footer-top .countrybx h6 {
    margin: 0 !important;
    font-size: 13.5px !important;
  }

  .footer .footer-top .countrybx ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .footer .footer-top .countrybx ul li:after,
  .footer .footer-top .countrybx ul li a:after {
    display: none !important;
  }

  .footer .footer-top .countrybx ul li a {
    display: inline-block !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #475569 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
  }

  .footer .footer-top .countrybx ul li a:hover {
    background: #114a82 !important;
    color: #ffffff !important;
    border-color: #114a82 !important;
    text-decoration: none !important;
  }

  .footer .footer-bottom {
    padding-top: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
  }

  .footer .footer-bottom .copyright-text {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .footer .footer-bottom .copyright-text p {
    text-align: center !important;
  }

  .footer .footer-bottom ul.footer-legal-menu {
    justify-content: center !important;
    gap: 6px 14px !important;
  }

  .footer .footer-bottom ul.footer-legal-menu li:nth-child(2),
  .footer .footer-bottom ul.footer-legal-menu li:nth-child(4),
  .footer .footer-bottom ul.footer-legal-menu li:nth-child(6) {
    display: none !important;
  }

  .footer .footer-bottom ul.footer-legal-menu li a {
    padding: 3px 6px !important;
    font-size: 12px !important;
    color: #475569 !important;
  }
}

@media (max-width: 576px) {
  .footer {
    padding-top: 25px !important;
  }

  .footer-row {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .footer-col {
    padding-bottom: 18px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .footer-col:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .topbar-section {
    height: 52px !important;
  }

  .topbar-inner {
    height: 52px !important;
    padding: 0 10px !important;
  }

  .mainnavsmall {
    width: 34px !important;
    height: 34px !important;
    font-size: 19px !important;
  }

  .top-bar-left img.oq-logo-img {
    max-width: 125px !important;
    max-height: 30px !important;
  }

  .mob-icons-contact {
    gap: 10px !important;
  }

  .wahtsap-icon-con a {
    font-size: 22px !important;
    width: 28px !important;
    height: 28px !important;
  }

  .call-icon-con a {
    font-size: 18px !important;
    width: 28px !important;
    height: 28px !important;
  }

  .bg-white.mainnav {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .topbar-inner {
    padding: 0 8px !important;
  }

  .top-bar-left img.oq-logo-img {
    max-width: 110px !important;
    max-height: 28px !important;
  }

  .mob-icons-contact {
    gap: 8px !important;
  }

  .wahtsap-icon-con a {
    font-size: 20px !important;
  }

  .call-icon-con a {
    font-size: 17px !important;
  }
}

/* ==========================================================================
   BLOG LISTING: 3 POSTS PER ROW & MODERN PAGINATION
   ========================================================================== */
.hts-posts .hts-posts-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  width: 100% !important;
}

.hts-posts .hts-posts-list .hts-post {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(17, 74, 130, 0.06) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.hts-posts .hts-posts-list .hts-post:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(17, 74, 130, 0.12) !important;
}

.hts-posts .hts-posts-list .hts-post .hts-image-wrapper {
  width: 100% !important;
  overflow: hidden !important;
}

.hts-posts .hts-posts-list .hts-post img {
  height: 220px !important;
  max-height: 220px !important;
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 16px 16px 0 0 !important;
  transition: transform 0.3s ease !important;
}

.hts-posts .hts-posts-list .hts-post:hover img {
  transform: scale(1.03) !important;
}

.hts-posts .hts-posts-list .hts-post .hts-post-details {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  padding: 22px !important;
}

.hts-posts .hts-posts-list .hts-post .hts-title {
  margin: 12px 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.hts-posts .hts-posts-list .hts-post .hts-title a {
  color: #114a82 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.hts-posts .hts-posts-list .hts-post .hts-title a:hover {
  color: #0d9488 !important;
}

.hts-posts .hts-posts-list .hts-post .hts-capsules div {
  background: rgba(17, 74, 130, 0.08) !important;
  color: #114a82 !important;
  border: 1px solid rgba(17, 74, 130, 0.15) !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
}

/* --- Oncquest Numbered Pagination --- */
.oncquest-pagination-wrapper {
  width: 100%;
  margin: 50px 0 30px;
  display: flex;
  justify-content: center;
}

.oncquest-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.oncquest-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.oncquest-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.oncquest-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  background-color: #ffffff;
  color: #114a82;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.oncquest-pagination a.page-numbers:hover {
  border-color: #114a82;
  background-color: #f0f7fd;
  color: #114a82;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(17, 74, 130, 0.15);
}

.oncquest-pagination span.page-numbers.current {
  background-color: #114a82 !important;
  border-color: #114a82 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(17, 74, 130, 0.25);
  cursor: default;
}

.oncquest-pagination span.page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  min-width: 24px;
  color: #94a3b8;
  font-size: 16px;
  padding: 0;
}

.oncquest-pagination .prev.page-numbers,
.oncquest-pagination .next.page-numbers {
  padding: 0 18px;
  gap: 6px;
  font-weight: 600;
}

.oncquest-pagination .prev.page-numbers:hover,
.oncquest-pagination .next.page-numbers:hover {
  background-color: #114a82;
  border-color: #114a82;
  color: #ffffff !important;
}

@media screen and (max-width: 991px) {
  .hts-posts .hts-posts-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media screen and (max-width: 640px) {
  .hts-posts .hts-posts-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hts-posts .hts-posts-list .hts-post img {
    height: 195px !important;
    max-height: 195px !important;
  }

  .hts-posts .hts-posts-list .hts-post .hts-post-details {
    padding: 18px 16px !important;
  }

  .hts-posts .hts-posts-list .hts-post .hts-title {
    font-size: 17px !important;
    margin: 8px 0 10px !important;
  }

  .oncquest-pagination-wrapper {
    margin: 32px 0 20px !important;
  }

  .oncquest-pagination ul.page-numbers {
    gap: 6px !important;
  }

  .oncquest-pagination .page-numbers {
    min-width: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
  }

  .oncquest-pagination .prev.page-numbers,
  .oncquest-pagination .next.page-numbers {
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

@media screen and (max-width: 380px) {
  .oncquest-pagination .page-numbers {
    min-width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
    padding: 0 6px !important;
  }
}

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVE TABLES
   ========================================================================== */
.oncquest-table-responsive,
figure.wp-block-table {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 24px 0 !important;
  display: block !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .oncquest-table-responsive::before,
  figure.wp-block-table::before {
    content: 'Scroll horizontally to view table \2192';
    display: block;
    font-size: 11px;
    color: #64748b;
    background: #f8fafc;
    padding: 7px 14px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }
}

.oncquest-table-responsive::-webkit-scrollbar,
figure.wp-block-table::-webkit-scrollbar {
  height: 6px;
}

.oncquest-table-responsive::-webkit-scrollbar-track,
figure.wp-block-table::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.oncquest-table-responsive::-webkit-scrollbar-thumb,
figure.wp-block-table::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.oncquest-table-responsive table,
figure.wp-block-table table {
  width: 100% !important;
  min-width: 520px !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  border: none !important;
  height: auto !important;
  font-size: 14.5px;
  line-height: 1.55;
  box-sizing: border-box;
}

.oncquest-table-responsive table[width],
figure.wp-block-table table[width] {
  width: 100% !important;
  max-width: 100% !important;
}

.oncquest-table-responsive table th,
.oncquest-table-responsive table td,
figure.wp-block-table table th,
figure.wp-block-table table td {
  padding: 13px 18px !important;
  text-align: left;
  vertical-align: top;
  border: none !important;
  border-bottom: 1px solid #e9ecef !important;
  border-right: 1px solid #f1f5f9 !important;
  height: auto !important;
  word-break: normal;
}

.oncquest-table-responsive table th:last-child,
.oncquest-table-responsive table td:last-child,
figure.wp-block-table table th:last-child,
figure.wp-block-table table td:last-child {
  border-right: none !important;
}

.oncquest-table-responsive table thead th,
.oncquest-table-responsive table th,
.oncquest-table-responsive table tr:first-child th,
figure.wp-block-table table thead th,
figure.wp-block-table table th {
  background-color: #f1f5f9 !important;
  color: #0f2d4a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.2px;
}

.oncquest-table-responsive table tbody tr:nth-child(even),
figure.wp-block-table table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.oncquest-table-responsive table tbody tr:hover,
figure.wp-block-table table tbody tr:hover {
  background-color: #f0f7ff;
}

.oncquest-table-responsive table tr:last-child td,
figure.wp-block-table table tr:last-child td {
  border-bottom: none !important;
}


