/* ==========================================================================
   Jothydev's Diabetes Centre - Unified Header & Footer Stylesheet
   Matches jothydev.net Home Page Header & Footer with Exact Sizing & Styling
   Optimized for High-Resolution Desktop, Tablet & Flawless Mobile UX
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anek+Latin:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:wght@400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --theme-color: #2292d0;
  --theme-color2: #1389eb;
  --theme-hover: #0d73c7;
  --theme-teal: #04B6B8;
  --title-color: #0E121D;
  --body-color: #4D5765;
  --white-color: #ffffff;
  --title-font: "Anek Latin", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --icon-font: "FontAwesome", sans-serif;
}

body {
  font-family: var(--body-font);
  color: var(--body-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .widget_title {
  font-family: var(--title-font);
}

/* Global mobile anti-overflow safety */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==========================================================================
   MOBILE SIDEBAR / NAVIGATION DRAWER
   The JS toggles .th-body-visible on .th-menu-wrapper.
   .th-menu-wrapper = full-screen dark overlay
   .th-menu-area    = the white panel that slides in from the right
   ========================================================================== */

/* Overlay — hidden by default */
.th-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  -webkit-overflow-scrolling: touch;
}

/* Overlay becomes visible when JS adds .th-body-visible */
.th-menu-wrapper.th-body-visible {
  opacity: 1;
  visibility: visible;
}

/* Slide-in drawer panel */
.th-menu-area {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  overflow-y: auto;
  padding-bottom: 30px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Drawer slides in when active */
.th-menu-wrapper.th-body-visible .th-menu-area {
  right: 0;
}

/* Close button inside the drawer */
.th-menu-area .th-menu-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 16px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}
.th-menu-area .th-menu-toggle:hover {
  background: #e2e8f0;
}

/* Mobile logo inside drawer */
.mobile-logo {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-logo img {
  max-height: 52px;
  width: auto;
}

/* Mobile nav list */
.th-mobile-menu {
  padding: 12px 0;
}
.th-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.th-mobile-menu ul li {
  border-bottom: 1px solid #f1f5f9;
}
.th-mobile-menu ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  font-family: var(--body-font);
  transition: color 0.2s ease, background 0.2s ease;
}
.th-mobile-menu ul li a:hover {
  color: #1389eb;
  background: #f8fafc;
}
.th-mobile-menu ul li.active > a,
.th-mobile-menu ul li.th-active > a {
  color: #1389eb;
}

/* Sub-menu toggle arrow */
.th-mean-expand {
  float: right;
  background: none;
  border: none;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* Sub-menu hidden by default */
.th-mobile-menu .sub-menu {
  display: none;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.th-mobile-menu .sub-menu li a {
  padding: 10px 20px 10px 34px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
}

/* Sub-menu shown when parent has .th-active */
.th-mobile-menu .menu-item-has-children.th-active > .sub-menu {
  display: block;
}

/* Prevent body from scrolling when drawer is open */
body.overflow-hidden {
  overflow: hidden !important;
}

/* ==========================================================================
   1. Header Top Bar (Black contact bar matching jothydev.net)
   ========================================================================== */
.th-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  width: 100%;
}

.header-top {
  background: #000000;
  padding: 8px 0;
  font-family: var(--body-font);
  color: #ffffff;
  font-size: 13.5px;
  position: relative;
  z-index: 1001;
}

.header-top .container, 
.header-top .th-container2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-branches ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.header-branches ul li {
  font-size: 13px;
  color: #ffffff;
  white-space: nowrap;
  list-style: none;
}

.header-branches ul li i {
  margin-right: 5px;
  color: #38bdf8;
}

.header-branches ul li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.header-branches ul li a:hover {
  color: #60a5fa !important;
}

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

.social-links a {
  font-size: 14px;
  color: #c5d0dc;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: #38bdf8;
  transform: translateY(-2px);
}

/* Mobile Quick Contact Dropdown */
.mobile-only {
  display: none;
}

.contact-dropdown {
  position: relative;
}

.contact-btn {
  background: linear-gradient(135deg, #2292d0 0%, #1389eb 100%);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.contact-btn:hover,
.contact-btn:active {
  background: #0d73c7;
  color: #ffffff;
}

.contact-list {
  display: none;
  margin-top: 8px;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 10px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  max-width: 90vw;
  z-index: 9999;
}

.contact-list.show {
  display: flex;
}

.contact-list li {
  font-size: 12px;
  color: #ffffff;
  list-style: none;
  margin: 2px 0;
}

.contact-list a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 4px;
  display: inline-block;
}

.contact-list a:hover {
  background: #2292d0;
  color: #ffffff;
}

.contact-list .divider {
  color: #4b5563;
  display: none;
}

/* ==========================================================================
   2. Main Header / Navigation Strip
   ========================================================================== */
.sticky-wrapper {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid #eaeaea;
  width: 100%;
}

.sticky-wrapper .container,
.sticky-wrapper .th-container2 {
  padding-left: 15px !important;
  padding-right: 15px !important;
  max-width: 100% !important;
}

.menu-area {
  padding: 8px 0;
}

.menu-area .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.header-logo {
  display: flex;
  align-items: center;
  max-width: calc(100% - 55px);
}

.header-logo-link {
  display: inline-block;
  max-width: 100%;
}

.main-logo-img {
  height: 48px !important;
  max-height: 54px !important;
  max-width: 100% !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

.csr-logo-img {
  max-height: 44px;
  width: auto;
  margin-right: 14px;
  vertical-align: middle;
}

.header-button {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Button matching jothydev.net home page */
.th-btn.style1 {
  background: linear-gradient(135deg, #2292d0 0%, #1389eb 100%);
  color: #ffffff !important;
  font-family: var(--title-font);
  border: none;
  font-weight: 600;
  font-size: 14.5px;
  text-transform: capitalize;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(34, 146, 208, 0.35);
  transition: all 0.3s ease;
}

.th-btn.style1:hover {
  background: #0d73c7;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 146, 208, 0.45);
}

.th-menu-toggle {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border: none;
  background-color: #2292d0;
  color: #ffffff;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(34, 146, 208, 0.3);
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.th-menu-toggle:hover {
  background-color: #0d73c7;
  color: #ffffff;
}

/* Second Menu Bar (Navbar Links on Desktop) */
.nav-strip-container {
  border-top: 1px solid #f1f5f9;
}

.nav-strip-container .menu-area {
  padding: 4px 0 6px 0;
}

.main-menu.style2 {
  width: 100%;
}

.main-menu.style2 ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.main-menu.style2 ul li {
  position: relative;
  list-style: none;
}

.main-menu.style2 ul li a {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
  text-decoration: none;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.main-menu.style2 ul li.menu-item-has-children > a::after {
  content: "\f107";
  font-family: "FontAwesome";
  font-size: 13px;
  margin-left: 4px;
}

.main-menu.style2 ul li:hover > a,
.main-menu.style2 ul li.active > a {
  color: #2292d0;
}

/* Dropdown Sub-menu on Desktop */
.main-menu.style2 ul li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-top: 3px solid #2292d0;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 9999;
  display: block;
}

.main-menu.style2 ul li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu.style2 ul li .sub-menu li {
  display: block;
  width: 100%;
  margin: 0;
}

.main-menu.style2 ul li .sub-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.main-menu.style2 ul li .sub-menu li:last-child a {
  border-bottom: none;
}

.main-menu.style2 ul li .sub-menu li a:hover {
  background: #f8fafc;
  color: #2292d0;
  padding-left: 22px;
}

/* ==========================================================================
   3. Offcanvas Mobile Drawer (.th-menu-wrapper)
   ========================================================================== */
.th-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  width: 100%;
  height: 100%;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  opacity: 0;
  visibility: hidden;
}

.th-menu-wrapper.th-body-visible {
  opacity: 1;
  visibility: visible;
}

.th-menu-area {
  width: 85%;
  max-width: 320px;
  background-color: #ffffff;
  border-right: 3px solid #2292d0;
  height: 100%;
  position: relative;
  left: -100%;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.th-menu-wrapper.th-body-visible .th-menu-area {
  left: 0;
}

.th-menu-wrapper .th-menu-toggle {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #2292d0;
  color: #ffffff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 15px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mobile-logo {
  background: #ffffff !important;
  padding: 16px 15px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

.th-mobile-menu {
  padding: 10px 18px 40px 18px;
  text-align: left;
  flex-grow: 1;
}

.th-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.th-mobile-menu ul li {
  border-bottom: 1px solid #f1f5f9;
  list-style: none;
  position: relative;
}

.th-mobile-menu ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.th-mobile-menu ul li a:hover,
.th-mobile-menu ul li.active > a {
  color: #2292d0;
}

.th-mobile-menu ul .sub-menu {
  display: none;
  padding: 6px 0 8px 14px;
  background: #f8fafc;
  border-left: 3px solid #2292d0;
  margin-bottom: 6px;
  border-radius: 0 6px 6px 0;
}

.th-mobile-menu ul li.th-active > .sub-menu {
  display: block;
}

.th-mobile-menu ul .sub-menu li {
  border-bottom: 1px solid #eef2f6;
}

.th-mobile-menu ul .sub-menu li:last-child {
  border-bottom: none;
}

.th-mobile-menu ul .sub-menu li a {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  padding: 7px 0;
}

.th-mobile-menu ul .sub-menu li a:hover {
  color: #2292d0;
  padding-left: 4px;
}

.th-mean-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
  color: #2292d0;
  background: rgba(34, 146, 208, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.th-mean-expand::before {
  content: "+";
  line-height: 1;
}

.th-active > a > .th-mean-expand {
  background: #2292d0;
  color: #ffffff;
}

.th-active > a > .th-mean-expand::before {
  content: "−";
}

/* ==========================================================================
   4. Hospital & Research Branches Section (.jdc-branches-section)
   ========================================================================== */
.jdc-branches-section,
.jdc-branches-wrapper {
  background: #e0e0e0;
  padding: 65px 0 75px 0;
  position: relative;
}

.jdc-branches-title,
.jdc-section-title-wrap {
  text-align: center;
  margin-bottom: 45px;
}

.jdc-branches-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0e0e0;
  color: #0284c7;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  box-shadow: 6px 6px 15px #bebebe,
              -6px -6px 15px #ffffff;
}

.jdc-branches-title h3,
.jdc-section-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.jdc-branches-title p,
.jdc-section-sub-title {
  font-size: 15px;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Balanced 5-Card Neumorphic Responsive Grid (From Uiverse.io by Codewithvinay) */
.jdc-branches-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 45px;
}

.jdc-branch-card {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  min-width: 300px;
  min-height: 280px;
  border-radius: 50px;
  background: #e0e0e0;
  box-shadow: 20px 20px 60px #bebebe,
              -20px -20px 60px #ffffff;
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  position: relative;
}

.jdc-branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 25px 25px 70px #b0b0b0,
              -25px -25px 70px #ffffff;
}

.jdc-branch-card-header {
  margin-bottom: 14px;
}

.jdc-branch-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.jdc-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0e0e0;
  color: #0284c7;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: inset 4px 4px 8px #bebebe,
              inset -4px -4px 8px #ffffff;
}

.jdc-main-badge {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 3px 3px 8px rgba(16, 185, 129, 0.4);
}

.jdc-branch-hospital-name {
  font-family: var(--title-font);
  font-size: 16.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
}

.jdc-branch-card-body {
  flex-grow: 1;
  margin-bottom: 18px;
}

.jdc-branch-address {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.jdc-branch-address i {
  color: #0284c7;
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.jdc-branch-card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jdc-contact-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jdc-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  line-height: 1.3;
}

.jdc-contact-btn.phone {
  background: #e0e0e0;
  color: #059669 !important;
  box-shadow: 5px 5px 12px #bebebe,
              -5px -5px 12px #ffffff;
}

.jdc-contact-btn.phone:hover {
  box-shadow: inset 4px 4px 8px #bebebe,
              inset -4px -4px 8px #ffffff;
  color: #047857 !important;
}

.jdc-contact-btn.phone-alt {
  background: #e0e0e0;
  color: #475569 !important;
  box-shadow: 5px 5px 12px #bebebe,
              -5px -5px 12px #ffffff;
}

.jdc-contact-btn.phone-alt:hover {
  box-shadow: inset 4px 4px 8px #bebebe,
              inset -4px -4px 8px #ffffff;
  color: #1e293b !important;
}

.jdc-contact-btn.email {
  background: #e0e0e0;
  color: #0284c7 !important;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  box-shadow: 5px 5px 12px #bebebe,
              -5px -5px 12px #ffffff;
}

.jdc-contact-btn.email:hover {
  box-shadow: inset 4px 4px 8px #bebebe,
              inset -4px -4px 8px #ffffff;
}

/* Neumorphic 24/7 Toll-Free Helpline Banner */
.jdc-tollfree-banner {
  background: #e0e0e0;
  border-radius: 50px;
  padding: 24px 36px;
  box-shadow: 20px 20px 60px #bebebe,
              -20px -20px 60px #ffffff;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.jdc-tollfree-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jdc-helpline-pulse-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e0e0e0;
  box-shadow: 6px 6px 14px #bebebe,
              -6px -6px 14px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #0284c7;
  flex-shrink: 0;
}

.jdc-helpline-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0284c7;
  margin-bottom: 2px;
}

.jdc-helpline-text h4 {
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.jdc-tollfree-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.jdc-tollfree-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.jdc-tollfree-btn {
  background: #1389eb;
  color: #ffffff !important;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 6px 6px 15px #bebebe,
              -6px -6px 15px #ffffff,
              0 4px 15px rgba(19, 137, 235, 0.4);
}

.jdc-tollfree-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 8px 8px 20px #bebebe,
              -8px -8px 20px #ffffff;
}

/* Tablet & Mobile Breakpoints for Neumorphic Branches */
@media (max-width: 991px) {
  .jdc-branch-card {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (max-width: 650px) {
  .jdc-branch-card {
    flex: 0 0 100%;
    max-width: 100%;
    border-radius: 36px;
    padding: 24px 20px;
  }
  
  .jdc-tollfree-banner {
    border-radius: 36px;
    padding: 20px 22px;
    flex-direction: column;
    text-align: center;
  }
  
  .jdc-tollfree-left {
    flex-direction: column;
    text-align: center;
  }
  
  .jdc-tollfree-right {
    justify-content: center;
    width: 100%;
  }
}


/* ==========================================================================
   5. Footer Section (Exact jothydev.net home page footer layout)
   ========================================================================== */
.footer-wrapper.footer-layout3 {
  background-color: #0b1523;
  color: #ffffff;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.widget-area {
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-widget {
  margin-bottom: 25px;
}

.widget_title {
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  line-height: 1.2;
}

.widget_title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background: #2292d0;
  border-radius: 2px;
}

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

.footer-widget ul.menu li {
  margin-bottom: 9px;
  list-style: none;
}

.footer-widget ul.menu li a {
  color: #cbd5e1;
  font-family: var(--body-font);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-widget ul.menu li a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-info-title {
  font-family: var(--title-font);
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 2px;
}

.footer-info {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.footer-info i {
  color: #2292d0;
  margin-right: 6px;
}

.footer-info a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-info a:hover {
  color: #38bdf8;
}

/* Social Media Circular Buttons */
.th-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.th-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 16px;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.th-social a:hover {
  background: #2292d0;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(34, 146, 208, 0.4);
}

/* Policy links row */
.footer-legal-links {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #38bdf8;
}

/* Copyright Strip */
.copyright-wrap {
  background-color: #060d17;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright-text {
  margin: 0;
  font-size: 13.5px;
  color: #94a3b8;
  font-family: var(--body-font);
}

.copyright-text a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.copyright-text a:hover {
  color: #ffffff;
}

/* ==========================================================================
   6. Floating Action Buttons & Back to Top
   ========================================================================== */
.floating-buttons,
.jdc-floating-buttons {
  position: fixed;
  bottom: 80px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
  pointer-events: none; /* Let clicks pass through the container */
}

.floating-buttons > *,
.jdc-floating-buttons > * {
  pointer-events: auto; /* Re-enable clicks on each button */
}

.fab-btn,
.jdc-fab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff !important;
  font-size: 20px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.fab-btn.call,
.jdc-fab-btn.call {
  background-color: #2292d0;
}

.fab-btn.appointment,
.jdc-fab-btn.appointment {
  background-color: #f39c12;
}

.fab-btn:hover,
.jdc-fab-btn:hover {
  transform: scale(1.1);
  color: #ffffff !important;
}

/* Desktop tooltip */
@media (min-width: 992px) {
  .fab-btn::after,
  .jdc-fab-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 115%;
    background-color: #1e293b;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12.5px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .fab-btn:hover::after,
  .jdc-fab-btn:hover::after {
    opacity: 1;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: #2292d0;
  color: #fff;
  width: 42px;
  height: 42px;
  text-align: center;
  line-height: 42px;
  font-size: 15px;
  border-radius: 50%;
  left: 20px;
  bottom: 25px;
  transition: all 0.3s ease;
  z-index: 99998;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  text-decoration: none;
}

.back-to-top:hover {
  background: #0d73c7;
  color: #fff;
  transform: translateY(-2px);
}

.back-to-top i {
  color: #fff;
}

/* ==========================================================================
   7. Comprehensive Responsive Queries
   ========================================================================== */
@media (max-width: 991px) {
  .header-branches {
    display: none !important;
  }
  
  .mobile-only {
    display: block !important;
  }
  
  .header-top .container, 
  .header-top .th-container2 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 12px !important;
    width: 100% !important;
  }
  
  .main-logo-img {
    height: 48px !important;
    max-height: 54px !important;
  }
  
  .floating-buttons,
  .jdc-floating-buttons {
    bottom: 70px !important;
    right: 12px !important;
    gap: 8px !important;
  }
  
  .fab-btn,
  .jdc-fab-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  .back-to-top {
    left: 12px !important;
    bottom: 20px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 14px !important;
  }

  .jdc-branches-section,
  .jdc-branches-wrapper {
    padding: 40px 0 45px 0;
  }

  .jdc-branches-title h3,
  .jdc-section-main-title {
    font-size: 24px;
  }

  .jdc-tollfree-banner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 16px;
  }

  .tollfree-right {
    justify-content: center;
    width: 100%;
  }

  .widget-area {
    padding-top: 45px;
    padding-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .header-top {
    padding: 5px 0 !important;
  }

  .header-top .container,
  .header-top .th-container2 {
    padding: 0 8px !important;
    gap: 6px !important;
  }

  .contact-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
    letter-spacing: -0.2px !important;
  }

  .social-links {
    gap: 7px !important;
  }

  .social-links a {
    font-size: 13px !important;
  }

  .sticky-wrapper .container,
  .sticky-wrapper .th-container2 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .menu-area {
    padding: 6px 0 !important;
  }

  .header-logo {
    max-width: calc(100% - 48px) !important;
  }

  .main-logo-img {
    height: 42px !important;
    max-height: 46px !important;
  }

  .th-menu-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 17px !important;
  }

  .floating-buttons,
  .jdc-floating-buttons {
    bottom: 60px !important;
    right: 8px !important;
    gap: 7px !important;
  }

  .fab-btn,
  .jdc-fab-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25) !important;
  }

  .jdc-branches-title h3,
  .jdc-section-main-title {
    font-size: 22px;
  }

  .jdc-branch-card {
    padding: 18px 16px;
    margin-bottom: 15px;
  }

  .tollfree-num {
    font-size: 14px;
    padding: 8px 16px;
    width: 100%;
    justify-content: center;
  }

  .footer-legal-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .copyright-text {
    font-size: 12.5px;
  }
}
