/* =========================
   Header styles for Balaji Hospital
   Replace your header-related CSS with this block.
   ========================= */

/* variables & font */
:root{
  --balaji-red: #f12436;
  --balaji-green: #156239;
  --balaji-accent: #0ea5a4; /* teal — calmer, pairs with green */
  --balaji-dark:   #0b1720; /* near-black for text */
  --balaji-soft:   #f6f7f9; /* soft off-white background */
  --bh-bg: rgba(255,255,255,0.98);
  --bh-max-width: 1200px;
  --bh-gap: 1rem;
  --bs-accordion-active-bg: #0ea5a4;
  --swiper-theme-color: #0ea5a4; /* swiper nav color */
  --font-family-poppins: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, "Helvetica Neue", Arial;
  /* scrollbar theme */
  --bh-scrollbar-thumb: var(--balaji-accent);
  --bh-scrollbar-track: rgba(14,165,164,0.12);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

* { box-sizing: border-box; }

/* ===== Custom browser scrollbar (WebKit + Firefox) ===== */
html { scrollbar-width: thin; scrollbar-color: var(--bh-scrollbar-thumb) var(--bh-scrollbar-track); }
/* WebKit */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bh-scrollbar-track); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: var(--bh-scrollbar-thumb); border-radius: 10px; border: 2px solid var(--bh-scrollbar-track); }
::-webkit-scrollbar-thumb:hover { background: var(--balaji-red); }

/* header base */
.bh-header { width:100%; font-family:var(--font-family-poppins); position:relative; z-index:9999; }

.heading-title 
{
  color: var(--balaji-red) !important;
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 30px;
}
.pop-font 
{
  font-family: var(--font-family-poppins);
}
.subtitle-color 
 {
  color: #156239;
 }
.info-content-des 
{
  width:100%;
  max-width:800px;
  text-align: center;
  margin: 0 auto;
}
p 
{
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-family: var(--font-family-poppins);
}
/* main wrap (single row header) */
.bh-wrap.bh-main-row {
  max-width: var(--bh-max-width);
  margin: 0 auto;
  padding: .7rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--bh-gap);
  transition: padding 220ms ease, background 260ms ease, box-shadow 260ms ease;
}

/* logo (left) */
.bh-left .bh-logo-link { display:inline-flex; align-items:center; text-decoration:none; }
.bh-logo { width:200px; max-width:100%; height:auto; transition: transform 260ms cubic-bezier(.2,.9,.2,1); }

/* center menu */
.bh-center { display:flex; align-items:center; justify-content:center; }
#bh-primary-menu.bh-menu, .bh-menu { display:flex; gap:1.15rem; list-style:none; margin:0; padding:0; align-items:center; }
.bh-menu .menu-item a {
  display:inline-block;
  padding:.5rem .5rem;
  text-decoration:none;
  color:#14221b;
  font-weight:600;
  letter-spacing:0.1px;
  position:relative;
  transition: color 180ms ease, transform 220ms ease;
}

/* animated underline */
.bh-menu .menu-item a::after {
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%) scaleX(0);
  transform-origin:center;
  bottom:4px;
  height:3px;
  width:60%;
  border-radius:2px;
  background: linear-gradient(90deg,var(--balaji-red),var(--balaji-green));
  transition: transform 240ms cubic-bezier(.2,.9,.2,1);
}
.bh-menu .menu-item a:hover, .bh-menu .menu-item a:focus { color: var(--balaji-green); }
.bh-menu .menu-item a:hover::after, .bh-menu .menu-item a:focus::after { transform: translateX(-50%) scaleX(1); }

/* right: CTA + hamburger */
.bh-right { display:flex; align-items:center; gap:0.65rem; }
.bh-appointment {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem .95rem;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  background: #f12436;
  color:white;
  box-shadow: 0 10px 30px rgba(21,98,57,0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.bh-appointment:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(21,98,57,0.12); }

/* hamburger (hidden on desktop) */
.bh-menu-toggle { display:none; background:transparent; border:0; padding:.4rem; cursor:pointer; align-items:center; }
.bh-hamburger { width:36px; height:24px; display:inline-block; position:relative; }
.bh-hamburger .bar { display:block; height:3px; border-radius:3px; background:#222; margin:5px 0; transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 200ms ease; }

/* sticky behavior */
.bh-header.sticky {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.92));
  box-shadow: 0 8px 28px rgba(8,8,8,0.06);
}

/* shrink state (applied while scrolling) */
.bh-header.shrink .bh-wrap.bh-main-row { padding: .38rem 1rem; }
.bh-header.shrink .bh-logo { transform: scale(1); width:210px; margin-top:10px; }

/* NAV alignment helpers for very long menus */
.bh-center { min-width:0; }
.bh-menu .menu-item { white-space:nowrap; }

/* ACCESSIBILITY focus */
.bh-menu .menu-item a:focus, .bh-menu-toggle:focus, .bh-appointment:focus {
  outline: 3px solid rgba(21,98,57,0.12);
  outline-offset:4px;
  border-radius:8px;
}

/* ----------------
   MOBILE (<= 900px)
   ---------------- */
@media (max-width:900px) {
  /* On mobile, center the logo and keep actions aligned to the right for a balanced header */
  .bh-wrap.bh-main-row {  padding:.55rem 1rem; align-items:center; grid-template-columns: 1fr auto; }

  /* center becomes visually empty (we'll hide center menu and use toggle) */
  .bh-center { position:relative; display:block; justify-self:center; }

  /* hide desktop menu */
  .bh-menu { display:none; }

  /* show hamburger */
  .bh-menu-toggle { display:inline-flex; margin-left:.25rem;}

  /* center logo visually when the center menu is hidden */
  .bh-left { justify-self: center; }
  /* slightly reduce logo on smaller screens to avoid overlap */
  .bh-left .bh-logo { width: 160px; }
  /* keep action buttons and menu toggle to the right */
  .bh-right { justify-self: end; }

  /* CTA: make smaller */
  .bh-appointment { padding:.45rem .75rem; font-size:0.95rem; }

  /* mobile full-screen menu (when open) */
  .bh-mobile-panel {
    position: fixed;
    inset: 72px 12px auto 12px; /* top offset from header */
    right: 12px;
    left: 12px;
    background: var(--bh-bg);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 20px 50px rgba(10,10,10,0.12);
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 300ms cubic-bezier(.2,.9,.2,1), opacity 240ms ease;
    z-index: 99999;
  }
  .bh-mobile-panel.show { transform: scaleY(1); opacity:1; pointer-events: auto; }

  .bh-mobile-panel .bh-menu { display:flex; flex-direction:column; gap:.6rem; }
  .bh-mobile-panel .menu-item a { display:block; padding:.8rem 1rem; font-weight:700; border-radius:8px; color:#163826; text-decoration:none; }
  .bh-mobile-panel .menu-item.cta-mobile a { display:inline-block; width:100%; text-align:center; padding:.8rem 1rem; border-radius:999px; background: linear-gradient(90deg,var(--balaji-red),var(--balaji-green)); color:#fff; }

  /* adjust panel top inset for small screens */
  @media (max-height:600px) {
    .bh-mobile-panel { inset: 64px 10px auto 10px; max-height: calc(100vh - 120px); overflow:auto; }
  }
}

/* very small devices */
@media (max-width:560px) {
  .bh-logo { width:190px; }
  .bh-appointment { padding:.45rem .65rem; font-size:0.92rem; }
}

/* very small phones: shrink logo and hide inline appointment button to avoid crowding */
@media (max-width:420px) {
  .bh-left .bh-logo { width: 140px; }
  .bh-appointment { display: none; }
  .bh-right { gap: .35rem; }
  .bh-menu-toggle { margin-left: 0; }
}
/* KEEP ANIMATION VISIBLE ON THE CURRENT PAGE */
.bh-menu .menu-item.current-menu-item > a,
.bh-menu .menu-item.current-menu-ancestor > a,
.bh-menu .menu-item.current_page_parent > a,
.bh-menu .menu-item.current_page_ancestor > a,
.bh-menu .menu-item a[aria-current="page"] {
  color: var(--balaji-green);
}

/* Keep underline visible for the active item */
.bh-menu .menu-item.current-menu-item > a::after,
.bh-menu .menu-item.current-menu-ancestor > a::after,
.bh-menu .menu-item.current_page_parent > a::after,
.bh-menu .menu-item.current_page_ancestor > a::after,
.bh-menu .menu-item a[aria-current="page"]::after {
  transform: translateX(-50%) scaleX(1);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1);
}

/* Animated gradient appointment button */
.bh-appointment {
  --btn-padding-y: .55rem;
  --btn-padding-x: .95rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border-radius: 999px;
  font-weight:700;
  text-decoration:none;
  color: #fff;
  background: #f12436;
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px rgba(21,98,57,0.12);
  transition: transform 160ms ease, background-position 400ms ease, box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}

/* hover/keyboard focus */
.bh-appointment:hover,
.bh-appointment:focus {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow: 0 20px 48px rgba(21,98,57,0.18);
  outline: none;
  background: #156239;
}

/* subtle ring on focus for accessibility */
.bh-appointment:focus-visible {
  box-shadow: 0 20px 48px rgba(21,98,57,0.18), 0 0 0 4px rgba(21,98,57,0.08);
}

/* small tweak: allow a slightly different gradient on active press */
.bh-appointment:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(21,98,57,0.12);
}




/* ---------- HEADER (mobile fixes + hamburger animation) ---------- */

/* keep your :root variables above this (not repeated here) */

/* Desktop menu visible by default */
#bh-primary-menu.bh-menu, .bh-menu { display:flex; gap:1.15rem; list-style:none; margin:0; padding:0; align-items:center; }

/* ----------------
   MOBILE (<=900px) - force hide desktop menu and show mobile panel only
   ---------------- */
@media (max-width:900px) {
  /* hide any desktop menu — use !important to avoid conflicts */
  #bh-primary-menu.bh-menu,
  .bh-center > .bh-menu,
  nav .bh-menu {
    display: none !important;
  }

  /* fully hide the empty center container to prevent extra grid rows */
  .bh-center { display: none !important; }

  /* align logo to left on phones/tablets */
  .bh-left { justify-self: start !important; }

  /* show hamburger */
  .bh-menu-toggle { display:inline-flex; margin-left:.25rem; }

  /* keep CTA visible on header but optional */
  .bh-appointment { padding:.45rem .75rem; font-size:0.95rem; }

  /* mobile full-screen panel (centered below header) */
  .bh-mobile-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--bh-header-height, 68px) + 8px); /* uses fallback header height */
    background: var(--bh-bg);
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: 0 20px 50px rgba(10,10,10,0.12);
    transform-origin: top center;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease;
    z-index: 99999;
    max-height: calc(100vh - 120px);
    overflow:auto;
  }
  .bh-mobile-panel.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  /* make cloned menus inside panel column */
  .bh-mobile-panel .bh-menu { display:flex; flex-direction:column; gap:.6rem; margin:0; padding: .6rem 0; }
  .bh-mobile-panel .menu-item a { display:block; padding:.8rem 1rem; font-weight:700; border-radius:8px; color:#163826; text-decoration:none; background:transparent; }
  .bh-mobile-panel .menu-item.cta-mobile a { display:inline-block; width:100%; text-align:center; padding:.8rem 1rem; border-radius:999px; background: linear-gradient(90deg,var(--balaji-red),var(--balaji-green)); color:#fff; }

  /* small screens adjustments */
  @media (max-height:600px) {
    .bh-mobile-panel { top: calc(var(--bh-header-height, 64px) + 6px); max-height: calc(100vh - 100px); }
  }
}

/* ----------------
   HAMBURGER ANIMATION
   ---------------- */
.bh-hamburger { width:25px; height:22px; display:inline-block; position:relative; }
.bh-hamburger .bar {
  display:block;
  height:3px;
  border-radius:3px;
  background:#222;
  margin:4px 0;
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease, background 220ms ease;
  transform-origin: center;
}
.bh-hamburger .bar2 
{
  width:20px;
}

/* Swiper bullets (thumbnail tracker) */
.swiper-pagination-bullet { background: rgba(14,165,164,0.45) !important; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--balaji-red) !important; }
/* open state (when .open is on the button) */
.bh-menu-toggle.open .bar1 {
  transform: translateY(8px) rotate(45deg);
}
.bh-menu-toggle.open .bar2 {
  opacity: 0;
  transform: scaleX(.2);
}
.bh-menu-toggle.open .bar3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* slight color change when open for visibility */
.bh-menu-toggle.open .bar { background: var(--balaji-green); }

/* focus outlines for accessibility */
.bh-menu-toggle:focus { outline: 3px solid rgba(21,98,57,0.12); outline-offset:3px; border-radius:6px; }


/* =========================
   Hero Slider (Swiper)
   ========================= */
/* GLOBAL HELPERS */

*, *::before, *::after {
  box-sizing: border-box;
}

.bh-slide img,
.bh-slide video,
.bh-slide iframe {
  max-width: 100%;
  height: auto;
  display: block; /* Helps prevent minor spacing issues */
}

.bh-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    /* ADD THIS LINE to ensure full width usage within the padding */
    width: 100%;
}
.bh-swiper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* ADD THIS LINE to be safe, though usually 100% by default */
    width: 100%;
}
/* Hero container (keep horizontal overflow hidden) */
.bh-hero { position: relative; width:100%; overflow-x: hidden; -webkit-overflow-scrolling: touch; }

/* inner container */
.bh-hero-inner { max-width:1200px; margin: 0 auto; padding: 0 1rem; }

/* Swiper container */
.bh-swiper { position: relative; border-radius: 12px; overflow: hidden; }

/* slide background */
.bh-slide {
  min-height: 70vh;                 /* reduced base height for better mobile fit */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 12px;
  padding: 2rem;
  max-width: 100%;
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* overlay */
.bh-slide-overlay {
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,18,14,0.55) 0%, rgba(6,18,14,0.35) 40%, rgba(6,18,14,0.55) 100%);
  border-radius: 12px;
  pointer-events:none;
  z-index:1;
}

/* center content box (use positioning fallback for very small heights) */
.bh-slide-content.bh-center-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: min(800px, 92vw);
  padding: 1rem;
  margin: 0 auto;
  color: #fff;
  margin-top: 4rem;
}

/* ensure long strings break and don't create horizontal scroll */
.bh-slide-content * { word-break: break-word; hyphens: auto; }

/* subtitle */
.bh-slide-sub { font-size: .95rem; font-family: var(--font-family-poppins); font-weight:700; color: rgba(255,255,255,0.95); letter-spacing: .6px; margin:0; text-transform:uppercase; }

/* heading centered - limit to 3 lines gracefully */
.bh-slide-title {
  font-size: clamp(1.4rem, 4.2vw, 2.6rem);
  margin: 0;
  font-weight:700;
  letter-spacing: -0.4px;
  line-height:1.05;
  text-shadow: 0 8px 30px rgba(5,15,10,0.45);
  font-family: var(--font-family-poppins);
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* description */
.bh-slide-desc {
  margin: 0;
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  line-height:1.45;
  color: rgba(255,255,255,0.95);
  max-width: 64ch;
  font-family: var(--font-family-poppins);
}

/* CTA button */
.bh-slide-cta {
  display:inline-block;
  padding: .56rem .95rem;
  border-radius: 999px;
  font-weight:700;
  text-decoration:none;
  color: #fff;
  background: linear-gradient(90deg, var(--balaji-accent, var(--balaji-red)), var(--balaji-green));
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 14px 36px rgba(21,98,57,0.12);
  transition: transform 160ms ease, background-position 420ms ease, box-shadow 220ms ease;
  font-family: var(--font-family-poppins);
}

/* hover/focus state (improved focus outline for accessibility) */
.bh-slide-cta:hover, .bh-slide-cta:focus {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow: 0 20px 48px rgba(21,98,57,0.16);
  outline: 3px solid rgba(255,255,255,0.08);
  outline-offset: 3px;
}

/* nav arrows - make visible+accessible on mobile; better contrast */
.bh-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width:48px; height:48px;
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,0.36);
  backdrop-filter: blur(6px);
  color:#fff; box-shadow: 0 10px 30px rgba(6,18,14,0.18);
  transition: opacity 160ms ease, transform 120ms ease;
  opacity: 1;                     /* keep visible on mobile for touch users */
  z-index: 30;
  border: none;
}

/* left / right placement */
.bh-nav.prev { left: 14px; }
.bh-nav.next { right: 14px; }

/* hide default background on large screens but keep clickable */
@media (min-width: 901px) {
  .bh-nav { opacity: 0; }
  .bh-swiper:hover .bh-nav, .bh-swiper:focus-within .bh-nav { opacity: 1; transform: translateY(-2px); }
}

 .bh-nav 
 {
  color: #fff !important;
 }
/* mobile tweaks */
@media (max-width:900px) {
  .bh-slide { min-height: 55vh; padding: 1.2rem; border-radius: 10px; }
  .bh-slide-content.bh-center-content { padding: .8rem; gap:.6rem; }
  .bh-slide-title { font-size: 1.25rem; --webkit-line-clamp: 2; }
  .bh-slide-desc { font-size: .95rem; display:block; max-width: 48ch; }
  .bh-nav { width:42px; height:42px; left:8px; right:8px; top: 50%; transform: translateY(-50%); }
  .bh-nav.prev { left: 8px; right: auto; }
  .bh-nav.next { right: 8px; left: auto; }
}

/* very small phones: hide long description to keep hero compact */
@media (max-width:560px) {
  .bh-slide { min-height: 50vh; }
  .bh-slide-desc { display: block; font-size:14px; }     /* keep short and scannable */
  .bh-slide-title { font-size: 2rem; font-weight: 600; --webkit-line-clamp: 2; font-family:var(--font-family-poppins); }
  .bh-slide-cta { padding: .5rem .75rem; font-size: .95rem; align-self: center; }
  .bh-nav { width:36px; height:36px; margin-top:0px !important; color:#fff !important; }
  .bh-center-content {
    margin-top: 1rem !important;
  }
}

/* very narrow phones */
@media (max-width:420px) {
  .bh-slide { min-height: 48vh; padding: .6rem; border-radius: 8px; }
  .bh-slide-content.bh-center-content { align-items: flex-start; text-align: left; padding: .6rem .75rem; gap:.4rem; }
  .bh-slide-title { font-size: 1rem; line-height: 1.06; -webkit-line-clamp: 2; }
  .bh-slide-desc { display: none; }
}

/* handy responsive table wrapper for anywhere on site */
.responsive-table { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.responsive-table table { width:100%; border-collapse: collapse; min-width: 520px; /* optional */ }
.responsive-table table th, .responsive-table table td { padding: 0.5rem 0.75rem; text-align: left; white-space: nowrap; }

/* ensure pagination visible on small screens */
.bh-pagination { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 35; }



/* ---------- Services Swiper (new design) ---------- */

.bh-services-clean {background: #fff; color: var(--balaji-dark, #0b1720); }
.bh-section-title { font-size: 1.9rem; margin-bottom: .3rem; font-weight:800; }

.primary-color { color: var(--balaji-red); }


/* group headings */
.group-title { font-size: 1.25rem; font-weight:700; margin-bottom:6px; text-align: center; width:100%; }
.group-desc { color: rgba(0,0,0,0.55); margin-bottom:12px; }

/* ensure swiper slides stretch & cards equal height */
.services-swiper-phys .swiper-slide,
.services-swiper-gyn .swiper-slide {
  display: flex;
  height: 100%;
  align-items: stretch;
}

/* card */
.service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 36px rgba(10,10,10,0.06);
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 200ms ease;
  border: 1px solid rgba(6,18,14,0.04);
}

/* card media: consistent aspect ratio (16:9) */
.card-media {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
  position: relative;
  overflow: hidden;
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

/* card body grows to fill equal height */
.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1 1 auto;
}
.card-title { 
  font-size: 1.02rem; 
  font-weight: 700; 
  margin:0; 
  color: var(--balaji-red) !important; 
  font-family: var(--font-family-poppins);
}
.card-desc { font-size: 16px; line-height: 1.6; margin:0; flex: 1 1 auto; }

/* hover */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(8,20,16,0.08);
}
.service-card:hover .card-media img {
  transform: scale(1.06);
}

/* carousel wrap */
.services-carousel-wrap { position: relative; padding-bottom: 28px; } /* space for nav */

/* navigation bottom-right */
.services-nav {
  position: absolute;
  
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  z-index: 12;
}
.svc-prev,
.svc-next {
  width: 58px;                /* bigger */
  height: 58px;
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  cursor: pointer;
}

.svc-prev svg,
.svc-next svg {
  width: 15px !important;
  height: 15px !important;
  fill: #f12436 !important;
}

.swiper-button-next, .swiper-button-prev {
    align-items: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
    cursor: pointer;
    display: flex;
    height: var(--swiper-navigation-size);
    justify-content: center;
    position: absolute;
    width: var(--swiper-navigation-size);
    z-index: 10;
}

.bh-btn-primary 
{
  background-color:#0ea5a4 !important;
  color: white !important;
  font-family: var(--font-family-poppins);
  font-weight: 600 !important;
  transition: all .5s ease-in-out;
   border-radius:999px !important;
}
.bh-btn-primary:hover 
{
  background: #f12436 !important;
  color: white !important;
}


.svc-prev:hover,
.svc-next:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.1);
  background: rgba(255,255,255,1);
}



/* ---------------------------
   RESPONSIVE BREAKPOINTS
   --------------------------- */

/* Tablet */
@media (max-width: 991px) {
  .services-nav {
    right: 10px;
    bottom: 10px;
  }

  .svc-prev,
  .svc-next {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .svc-prev svg,
  .svc-next svg {
    width: 22px;
    height: 22px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .services-nav {
    right: 8px;
    bottom: 8px;
  }

  .svc-prev,
  .svc-next {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .svc-prev svg,
  .svc-next svg {
    width: 18px;
    height: 18px;
  }
}

/* ---------------------------
   RESPONSIVE BREAKPOINTS
   --------------------------- */

/* Tablet */
@media (max-width: 991px) {
  .services-nav {
    right: 10px;
    bottom: 10px;
  }

  .svc-prev,
  .svc-next {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .svc-prev svg,
  .svc-next svg {
    width: 22px;
    height: 22px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .services-nav {
    right: 8px;
    bottom: 8px;
  }

  .svc-prev,
  .svc-next {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .svc-prev svg,
  .svc-next svg {
    width: 18px;
    height: 18px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .services-nav {
    right: 6px;
    bottom: 6px;
  }

  .svc-prev,
  .svc-next {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .svc-prev svg,
  .svc-next svg {
    width: 16px;
    height: 16px;
  }
}

/* Why Choose css */
/* Section styling */
#why-choose-us {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #0b2140;
  width: 100%;
  max-width: 100%;
}

/* Brand text */
#why-choose-us .brand {
  color: var(--brand-primary);
  font-weight: 700;
}

/* Icon wrapper */
.icon-wrap {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background: rgba(0,123,255,0.06);
  color: var(--brand-primary);
  flex: 0 0 42px;
}

/* Accordion visual polish */
#bhWhyAccordion .accordion-item {
  border: 0;
  box-shadow: 0 6px 18px rgba(9,30,66,0.04);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

#bhWhyAccordion .accordion-button {
  background: linear-gradient(90deg, rgba(0,123,255,0.04), rgba(0,180,216,0.02));
  color: var(--brand-dark);
  font-weight: 600;
  padding: 1.15rem 1rem;
}

#bhWhyAccordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(0,123,255,0.12), rgba(0,180,216,0.04));
  color: var(--brand-primary);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.03);
}

#bhWhyAccordion .accordion-body {
  padding: 1rem 1.25rem 1.25rem;
  color: #405066;
}

/* Buttons */
#why-choose-us .btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(0,119,182,0.12);
}

/* Smaller screens tweaks */
@media (max-width: 767.98px) {
  #why-choose-us .display-6 {
    font-size: 1.6rem;
  }
  .icon-wrap {
    width:38px; height:38px;
  }
  #bhWhyAccordion .accordion-button {
    font-size: .98rem;
  }
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-accordion-active-bg);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

/* Testiomonials section */
/* Testimonials - Balaji Hospital */
.bh-testimonials-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: #0b2545;
  font-family: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial;
}

.bh-container { max-width: 900px; margin: 0 auto; }

.bh-testimonials-header { text-align:left; margin-bottom: 24px; }
.bh-title { font-size: 1.75rem; margin: 0 0 6px; font-weight:700; color:#07203a; }
.bh-subtitle { margin:0; color:#365a78; font-size:1rem; }

.bh-testimonials-wrap { position: relative; padding-top: 12px; }

/* Owl items container override */
.bh-owl .bh-testi-card { 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(12,34,57,0.06);
  padding: 20px;
  min-height: 210px; /* ensures equal height visually */
  box-sizing: border-box;
  transition: transform .28s ease;
}

.bh-testi-card:hover { transform: translateY(-6px); }

/* Rating row */
.bh-rating { font-size: 0.95rem; color:#f0a500; display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.bh-rating .rating-value { color:#07203a; font-weight:600; font-size:0.95rem; }

/* Message */
.bh-message { font-size: 16px; line-height: 1.6; margin: 0 0 14px; line-height:1.45; }

/* Byline */
.bh-byline { display:flex; justify-content:space-between; align-items:center; gap:12px; font-weight:600; color:#27455a; font-size:0.9rem; margin-top:12px; }

/* Controls container bottom-left */
.bh-owl-controls {
  position: absolute;
  left: 18px;
  display:flex;
  align-items:center;
  gap:12px;
}

/* Arrow buttons */
.bh-owl-arrows { display:flex; gap:8px; align-items:center; }
.bh-owl-prev,
.bh-owl-next {
  border: none;
  background: #07203a;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(7,32,58,0.14);
  font-size: 20px;
}

/* Dots placeholder (Owl will fill) */
.bh-owl-dots { display:flex; gap:8px; align-items:center; }

/* Dot style */
.bh-owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius:50%;
  background: rgba(14,165,164,0.30);
  display:inline-block;
  border: 2px solid transparent;
}
.bh-owl-dots .owl-dot.active {
  background: var(--balaji-red);
  border-color: var(--balaji-red);
}

/* Responsive */
@media (min-width: 900px) {
  .bh-owl .bh-testi-card { min-height: 240px; }
}
@media (max-width: 899px) {
  .bh-owl-controls { left: 12px; bottom: -26px; }
  .bh-title { font-size:1.5rem; }
}
@media (max-width: 640px) {
  .bh-testimonials-section { padding: 28px 12px 64px; }
  .bh-owl-controls { position: static; margin-top: 14px; }
  .bh-owl-arrows { order: 1; }
  .bh-owl-dots { order: 2; }
}

/* =========================
   Balaji Hospital Footer CSS
   ========================= */

/* Basic reset for footer text */
.bh-footer { background: linear-gradient(180deg,#071b2a 0%, #07203a 100%); color: #eaf3ff; padding: 36px 16px 16px; font-family: var(--font-family-poppins); }
.bh-footer-container { max-width: 1180px; margin: 0 auto; }

/* Top area */
.bh-footer-top { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.bh-footer-container { display: grid; grid-template-columns: 1fr; gap: 22px; }

/* Columns style */
.bh-footer-col { min-width: 0; }
.bh-footer-logo { display:flex; align-items:center; gap:10px; text-decoration:none; color: #fff; margin-bottom:12px; }
.bh-logo-text { font-weight:700; font-size:1.05rem; letter-spacing:0.2px; }

/* About */
.bh-footer-about-text { margin: 0 0 12px; color: rgba(234,243,255,0.88); line-height:1.4; font-size:0.95rem; }
.bh-footer-contact-mini div { font-size:0.92rem; color: rgba(234,243,255,0.82); margin-bottom:8px; }

/* Headings */
.bh-footer-heading { font-size:0.98rem; margin:0 0 10px; color:#fff; font-weight:700; }

/* Lists */
.bh-footer-links ul,
.bh-footer-services ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.bh-footer-links a,
.bh-footer-services a { color: rgba(234,243,255,0.9); text-decoration:none; font-size:0.95rem; }
.bh-footer-links a:hover,
.bh-footer-services a:hover { text-decoration:underline; }

/* Newsletter */
.bh-newsletter-form { display:flex; gap:8px; margin-top:6px; }
.bh-newsletter-form input[type="email"] { flex:1; padding:10px 12px; border-radius:8px; border:1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); color: #fff; outline:none; font-size:0.95rem; }
.bh-newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.bh-btn { cursor:pointer; border: 0; padding:10px 14px; border-radius:8px; font-weight:600; }
.bh-btn-primary { background: #f0a500; color:#07203a; }

/* Social icons */
.bh-footer-social { display:flex; gap:10px; margin-top:12px; }
.bh-footer-social a { display:inline-flex; transition:all .5s ease-in-out; align-items:center; justify-content:center; width:40px; height:40px; background: rgba(255,255,255,0.03); border-radius:8px; text-decoration:none; color: #fff; }
.bh-footer-social a:hover,
.bh-footer-social a:focus,
.bh-footer-social a:active { background-color: red !important; }
.bh-footer-social svg { display:block; width:18px; height:18px; fill: currentColor; }

/* Map link */
.bh-footer-map { margin-top:12px; font-size:0.92rem; }
.bh-footer-map a { color: rgba(234,243,255,0.9); text-decoration:none; }
.bh-footer-map a:hover { text-decoration:underline; }

/* Bottom bar */
.bh-footer-bottom { padding:10px 0 0px 0px; }
.bh-footer-bottom-inner { display:flex; flex-direction:column; gap:12px; align-items:center; justify-content:space-between; }
.bh-copyright { margin:0; color: var(--balaji-red); font-size:16px var(--font-family-poppins); }
.bh-footer-bottom-links { display:flex; gap:14px; list-style:none; padding:0; margin:0; }
.bh-footer-bottom-links a { color: rgba(234,243,255,0.82); text-decoration:none; font-size:0.92rem; }
.bh-footer-bottom-links a:hover { text-decoration:underline; }

/* Back to top */
.bh-back-to-top { position: fixed; z-index: 999; right: 18px; bottom: 20px; background: var(--balaji-red); color:#fff; width:44px; height:44px; border-radius:10px; border:none; display:flex; align-items:center; justify-content:center; box-shadow: 0 8px 24px rgba(0,0,0,0.25); cursor:pointer; font-size:18px; }

/* ======================
   RIGHT-SIDE STICKY TOOLS
   Adds a compact, responsive right-side group of quick actions (call, whatsapp, directions and quick page links)
   Non-invasive: placed in footer so it loads site-wide without modifying existing header/markup.
   ====================== */
.bh-sticky-tools {
  position: fixed;
  right: 18px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 999999; /* ensure on top but below higher modals */
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.bh-sticky-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
}
.bh-sticky-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 45px!important;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(6,18,14,0.95), rgba(6,18,14,0.82));
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(3,10,8,0.2);
  transition: transform 200ms ease, opacity 200ms ease, box-shadow 200ms ease;
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.bh-sticky-item:hover { transform: translateX(-6px); box-shadow: 0 20px 48px rgba(3,10,8,0.28); }
.bh-sticky-icon { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; background: rgba(255,255,255,0.06); border-radius:10px; font-size:18px; }
.bh-sticky-text { display:flex; flex-direction:column; font-size:14px; line-height:1.05; }
.bh-sticky-text strong { font-weight:800; font-size:15px; }
.bh-sticky-divider { height: 1px; width: 100%; margin: 4px 0; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.bh-sticky-nav { display:flex; flex-direction:column; gap:8px; padding: 8px 6px; background: rgba(255,255,255,0.02); border-radius: 12px; }
.bh-sticky-link { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 8px; font-weight:700; font-size:13px; display:block; }
.bh-sticky-link:hover { background: rgba(255,255,255,0.06); transform: translateX(-4px); }
.bh-sticky-toggle { display:none; }

/* Small screens: collapse to narrow icon strip and allow toggle */
@media (max-width: 650px) {
  .bh-sticky-tools { right: 12px; top: auto; bottom: 18vh; transform: none; }
  .bh-sticky-inner { display: none; }
  .bh-sticky-toggle { display: inline-flex; align-items:center; justify-content:center; width:44px; height:44px; font-size:18px; border-radius:50%; background: linear-gradient(180deg,#0ea5a4,#156239); color:white; border: none; box-shadow: 0 12px 30px rgba(0,0,0,0.22); cursor:pointer; }
  .bh-sticky-tools.expanded .bh-sticky-inner { display:flex; flex-direction:column; }
  .bh-sticky-tools.expanded { right: 12px; bottom: 18vh; }
  .bh-sticky-item { width:210px; }
}

/* Very small mobile: shrink items and show only icons in collapsed state */
@media (max-width:420px) {
  .bh-sticky-item { width: 180px; padding: 8px 10px; }
  .bh-sticky-icon { width:36px; height:36px; font-size:16px; }
  .bh-sticky-text { font-size:13px; }
  .bh-sticky-link { font-size:12px; padding: 6px 8px; }
}

/* Accessibility helper */
.sr-only { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

/* Responsive layouts */
@media (min-width: 740px) {
  .bh-footer-container { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; align-items:start; gap:28px; }
  .bh-footer-bottom-inner { flex-direction:row; }
  .bh-back-to-top { right: 28px; bottom: 28px; }
}

@media (min-width: 1100px) {
  .bh-footer { padding:48px 20px 20px; }
  .bh-footer-container { max-width: 1180px; }
}

/* Make links and inputs more visible on mobile */
@media (max-width: 420px) {
  .bh-newsletter-form { flex-direction:column; }
  .bh-newsletter-form input, .bh-btn { width:100%; }
  .bh-footer-social a { width:36px; height:36px; }
  .bh-footer-container { gap:16px; }
}

/* Icon-only variant: small circular buttons with primary color icons; hover turns red */
.bh-sticky-tools.icon-only .bh-sticky-inner { gap: 30px; padding-top:200px; }
.bh-sticky-tools.icon-only .bh-sticky-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(10,61,98,0.10);
  box-shadow: 0 12px 28px rgba(3,10,8,0.14);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.bh-sticky-tools.icon-only .bh-sticky-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(3,10,8,0.18);
}
.bh-sticky-tools.icon-only .bh-sticky-icon { width: 24px; height: 24px; background: transparent; border-radius: 0; }
.bh-sticky-tools.icon-only .bh-sticky-item i { color: var(--balaji-red); font-size: 22px; transition: color 200ms ease, transform 180ms ease; }
.bh-sticky-tools.icon-only .bh-sticky-item:hover i { color: var(--balaji-red); transform: translateY(-1px); }

/* Mobile bottom bar: icon-only, primary color default, hover red */
.bh-mobile-actions .bh-mobile-item { padding: 10px 8px; }
.bh-mobile-actions .bh-mobile-item i { color: var(--balaji-green); }
.bh-mobile-actions .bh-mobile-item:hover i { color: var(--balaji-red); }

/* About Us Page Css */
/* Add to your main stylesheet (keeps small size and modern look) */
.bh-hero-breadcrumb {
  background: linear-gradient(180deg,#071b2a 0%, #07203a 100%);
  color: #fff;
  padding: 28px 18px;
  margin-bottom: 28px;;
}

/* internal container */
.bh-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* breadcrumb row */
.bh-breadcrumb {
  flex: 1 1 auto;
  min-width: 220px;
}
.bh-bc-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
}
.bh-bc-item a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  padding: 6px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: background .18s, transform .12s;
}
.bh-bc-item a:hover { transform: translateY(-2px); background: rgba(255,255,255,0.10); }
.bh-bc-item.active span { font-weight: 700; opacity: 1; }

/* tiny separator visual */
.bh-bc-sep { opacity: 0.75; }

/* hero title area */
.bh-hero-content {
  text-align: right;
  min-width: 260px;
}
.bh-hero-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.bh-hero-sub {
  margin: 6px 0 0 0;
  font-size: 13px;
  opacity: 0.92;
}

/* Mobile responsiveness */
@media (max-width: 720px) {
  .bh-hero-inner { padding: 6px; gap: 10px; }
  .bh-hero-content { text-align: left; width: 100%; order: 2; }
  .bh-breadcrumb { order: 1; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bh-bc-list { gap: 8px; font-size: 13px; }
  .bh-hero-title { font-size: 18px; }
}

/* hero content */
.bh-hero { display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.bh-hero-text h1 { margin: 0 0 6px 0; font-size: clamp(20px, 3.2vw, 30px); line-height:1.08; }
.bh-lead { margin:0; opacity:0.95; font-size: 15px; }

/* ctas in hero */
.btn-cta, .btn-cta-alt {
  display:inline-block; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:600; margin-left:8px;
}
.btn-cta { background:#fff; color:#0d52a2; }
.btn-cta-alt { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: #fff; }

/* DOCTORS GRID */

.bh-doctors h2 { margin: 0 0 6px 0; font-size:20px; }
.bh-sub { margin:0 0 16px 0; color:#555; }

/* grid */
.bh-doctor-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items:stretch; }

/* card */
.bh-doc-card {
  background:#fff; border-radius:10px; overflow:hidden; box-shadow: 0 6px 18px rgba(20,30,50,0.06);
  display:flex; flex-direction:column;
}
.madhu-photo{
  height:300px;
  width:100%;
  object-fit:cover;
  display:block;
  object-position:center;
}
.bh-doc-photo { width:100%; height:300px; object-fit:cover; display:block; object-position: top; }
.bh-doc-body { padding:14px; flex:1 1 auto; display:flex; flex-direction:column; gap:8px; }
.bh-doc-body h3 { margin:0; font-size:18px; }
.bh-doc-role { margin:0; color:#0d52a2; font-weight:600; }
.bh-doc-meta { list-style:none; padding:0; margin:0; font-size:13px; color:#444; }
.bh-doc-meta li { margin-top:6px; }
.bh-doc-actions { margin-top:auto; display:flex; gap:8px; align-items:center; }
.btn-small { background:#0d52a2; color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; font-weight:600; }
.btn-link { color:#0d52a2; text-decoration:none; font-weight:600; }

/* ABOUT CONTENT */
.bh-about-content { padding: 10px 0 28px 0; }
.bh-paragraph { color:#333; line-height:1.6; }
.bh-row { display:flex; gap:20px; margin-top:12px; flex-wrap:wrap; }
.bh-col { flex:1 1 300px; background:#f9fbff; padding:12px; border-radius:8px; }
.bh-note { margin-top:12px; font-weight:600; }

/* CTA row */
.bh-cta-row { margin-top:14px; display:flex; gap:12px; flex-wrap:wrap; }
.btn-outline { padding:10px 14px; border-radius:8px; border:1px solid #0d52a2; color:#0d52a2; text-decoration:none; }

/* small screens */
@media (max-width: 980px) {
  .bh-doctor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bh-hero { text-align:left; }
  .bh-doctor-grid { grid-template-columns: 1fr; }
  .bh-doc-photo { height:180px; }
  .bh-container { padding: 14px; }
  .btn-cta, .btn-cta-alt { width:100%; text-align:center; margin-left:0; margin-top:8px; }
}

/* Services page css */
/* ----------------- BH: Horizontal Tabs Services ----------------- */

.bh-services-section { background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%); }

/* Title */
.bh-services-title {
  font-size: 30px;
  font-weight: 800;
  color: #0b5e55;
  margin-bottom: 6px;
}

.bh-services-desc {
  color: #4b4b4b;
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: 15px;
}

/* Tabs (horizontal) */
.bh-services-tabs-horizontal {
  gap: .5rem;
  overflow-x: auto;               /* allow scroll on small screens */
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: thin;
  white-space: nowrap;
}

.bh-services-tabs-horizontal .nav-link {
  border-radius: 12px;
  margin: 0 .25rem;
  padding: 10px 16px;
  color: #0b5e55;
  font-weight: 700;
  border: 1px solid rgba(11,94,85,0.1);
  background: #f8faf9;
  transition: transform .18s ease, background .18s ease, color .18s ease;
  font-family: var(--font-family-poppins);
}

.bh-services-tabs-horizontal .nav-link i { font-size: 1.05rem; vertical-align: middle; }

.bh-services-tabs-horizontal .nav-link.active,
.bh-services-tabs-horizontal .nav-link:hover {
  background: #0b5e55;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(11,94,85,0.08);
}

/* Service boxes */
.bh-service-box {
  background: #fff;
  border-radius: 14px;
  padding: 22px 16px;
  border: 1px solid #e9f0ef;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.bh-service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(8,60,54,0.06);
  border-color: rgba(11,94,85,0.12);
}

.bh-service-box i {
  font-size: 28px;
  color: #0b5e55;
  margin-bottom: 10px;
}

.bh-service-name {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.2;
}

/* Different grid spacing for small screens */
@media (max-width: 991px) {
  .bh-service-name { font-size: 13px; }
}

/* Tabs: make the bar centered on wide screens and scrollable on mobile */
@media (max-width: 767px) {
  .bh-services-tabs-horizontal { justify-content: flex-start; padding-left: 8px; }
  .bh-services-tabs-horizontal .nav-link { min-width: 170px; display: inline-flex; align-items: center; gap: .5rem; }
  .bh-service-box { padding: 18px 12px; }
}

/* Accessibility focus */
.bh-services-tabs-horizontal .nav-link:focus {
  outline: 3px solid rgba(11,94,85,0.12);
  outline-offset: 3px;
  box-shadow: none;
}

/* Contact Us page  css*/

.bh-contact-section .contact-box {
  background: #ffffff;
  border-radius: 15px;
}

.bh-contact-section .icon-box {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-box iframe {
  width: 100%;
  height: 100%;
}

.btn-primary:hover {
  background-color: #0a58ca;
}

.btn-success:hover {
  opacity: 0.9;
}

/* =============================
   Sticky Quick Actions: Mobile Bottom Bar
   ============================= */
.bh-mobile-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  display: none;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border-top: none;
  box-shadow: none;
  z-index: 1000;
}
.bh-mobile-actions .bh-mobile-item {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(10,61,98,0.10);
  color: var(--balaji-green);
  text-decoration: none;
}
.bh-mobile-actions .bh-mobile-item i { font-size: 22px; margin: 0; }

.bh-mobile-actions .bh-mobile-item:hover i { color: var(--balaji-red); }

@media (max-width: 768px) {
  .bh-mobile-actions { display: flex; }
}
