:root {
  --primary: #0A4B66;
  --primary-dark: #062F41;
  --primary-light: #F0F6F9;
  --accent: #E07A5F;
  --accent-hover: #C86348;
  --gold: #D4A373;
  --whatsapp: #25D366;
  --success: #0D9488;
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 75, 102, 0.04);
  --shadow-md: 0 10px 30px -4px rgba(10, 75, 102, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(10, 75, 102, 0.14);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.bn-text { font-family: 'Noto Serif Bengali', serif; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px auto; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 99px; background-color: var(--primary-light);
  color: var(--primary); margin-bottom: 12px;
  border: 1px solid rgba(10, 75, 102, 0.12);
}
.section-title {
  font-size: 2.25rem; font-weight: 800; color: var(--primary-dark);
  line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-desc { color: var(--text-muted); font-size: 1.02rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; font-size: 0.9rem; font-weight: 700;
  border-radius: var(--radius-sm); cursor: pointer;
  border: 1.5px solid transparent; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff; box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 18px rgba(224, 122, 95, 0.45); transform: translateY(-1px); }
.btn-teal { background: var(--primary); color: #fff; }
.btn-teal:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1EBE5D; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* Top Bar & Sleek Minimalist Navbar */
.top-bar {
  background: linear-gradient(90deg, #042433 0%, #083B52 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left, .top-bar-right, .top-bar-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.76rem;
}
.top-bar-label {
  opacity: 0.75;
  font-weight: 600;
  margin-left: 4px;
}
.top-phone-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  transition: var(--transition);
}
.top-phone-pill:hover {
  background: var(--accent);
  color: #fff;
}
.top-wa-pill {
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #6EE7B7;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.77rem;
}
.top-wa-pill:hover {
  background: #25D366;
  color: #fff;
}
.top-staff-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.top-staff-link:hover {
  color: #FDE68A;
  background: rgba(255, 255, 255, 0.08);
}
.pulse-dot { width: 7px; height: 7px; background: #34D399; border-radius: 50%; display: inline-block; margin-right: 6px; box-shadow: 0 0 0 3px rgba(52,211,153,0.25); }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand-logo { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; flex-shrink: 0; }
.brand-logo-img { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(10,75,102,0.15); box-shadow: 0 2px 8px rgba(10,75,102,0.1); }
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-name { font-size: 1.06rem; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.015em; line-height: 1.15; }
.brand-sub { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); margin-top: 2px; }

.nav-menu { display: flex; list-style: none; gap: 6px; align-items: center; }
.nav-link { font-size: 0.88rem; font-weight: 600; color: var(--text-main); cursor: pointer; padding: 7px 12px; border-radius: var(--radius-sm); transition: var(--transition); }
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-lookup-link { font-size: 0.82rem; font-weight: 700; color: var(--primary); cursor: pointer; padding: 7px 12px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 5px; transition: var(--transition); }
.nav-lookup-link:hover { background: var(--primary-light); }

/* Views */
.view-section { display: none; animation: fadeIn 0.3s ease; }
.view-section.active-view { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Hero */
.hero-section { padding: 68px 0 84px; background: radial-gradient(circle at 85% 15%, #E5F1F6 0%, #F8FAFC 70%); border-bottom: 1px solid var(--border-color); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; }
.hero-content h1 { font-size: 3rem; font-weight: 800; color: var(--primary-dark); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--border-color); padding-top: 24px; }
.hero-stat-item h3 { font-size: 1.22rem; color: var(--primary); font-weight: 800; }
.hero-stat-item p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.doctor-img-box { background: #FFFFFF; padding: 16px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
.doctor-hero-photo-wrap { width: 100%; height: 410px; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.doctor-hero-photo-wrap img { width: 100%; height: 100%; object-position: center 15%; transition: transform 0.5s ease; }
.doctor-img-box:hover .doctor-hero-photo-wrap img { transform: scale(1.02); }
.photo-floating-pill { position: absolute; bottom: 14px; left: 14px; right: 14px; background: rgba(6, 47, 65, 0.9); backdrop-filter: blur(8px); color: #fff; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.15); }
.doc-card-footer { margin-top: 12px; background: var(--bg-body); border-radius: var(--radius-sm); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border-color); }

/* Clinical Gallery */
.clinical-gallery-section { padding: 76px 0; background: var(--bg-surface); border-bottom: 1px solid var(--border-color); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card { background: var(--bg-body); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); }
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.gallery-img-wrap { height: 230px; overflow: hidden; position: relative; }
.gallery-img-wrap img { width: 100%; height: 100%; }
.gallery-tag { position: absolute; top: 10px; left: 10px; background: rgba(10, 75, 102, 0.9); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.gallery-desc { padding: 18px; }
.gallery-desc h4 { font-size: 1.02rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.gallery-desc p { font-size: 0.84rem; color: var(--text-muted); }

/* About, Telemed, Chambers, Videos, Articles, FAQ */
.about-section { padding: 88px 0; background: var(--bg-body); }
.about-split-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.about-photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 3px solid #fff; height: 420px; }
.about-photo-frame img { width: 100%; height: 100%; }
.about-credentials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 24px; }
.cred-item { background: #fff; padding: 20px; border-radius: var(--radius-md); border-left: 3.5px solid var(--primary); box-shadow: var(--shadow-sm); }
.cred-item h4 { font-size: 0.74rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.cred-item p { font-size: 1rem; font-weight: 800; color: var(--primary-dark); }

.telemed-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.telemed-box { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 36px; }
.telemed-quote { background: rgba(255,255,255,0.08); border-left: 3.5px solid var(--gold); padding: 14px 16px; border-radius: 0 8px 8px 0; margin: 14px 0; }
.telemed-action-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-md); padding: 30px; text-align: center; }

.chambers-section, .media-section, .faq-section { padding: 88px 0; background: var(--bg-surface); }
.blog-section { padding: 88px 0; background: var(--bg-body); }
.chambers-grid, .media-grid, .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; }
.chamber-card { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 30px; position: relative; transition: var(--transition); display: flex; flex-direction: column; }
.chamber-card:hover, .video-card:hover, .blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.chamber-tag { position: absolute; top: 22px; right: 22px; background: var(--primary-light); color: var(--primary); font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.chamber-time { background: #fff; padding: 12px 14px; border-radius: var(--radius-sm); border-left: 3px solid var(--accent); margin: 16px 0; font-size: 0.88rem; font-weight: 600; }

.video-card, .blog-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.video-thumb { height: 190px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; color: #fff; }
.video-platform-tag { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.5); font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.video-likes-tag { position: absolute; bottom: 12px; right: 12px; background: rgba(255,255,255,0.18); font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.play-btn { width: 50px; height: 50px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; box-shadow: 0 6px 16px rgba(224,122,95,0.4); }
.play-btn::after { content: ''; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.video-body, .blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-header-banner { height: 120px; background: linear-gradient(120deg, var(--primary-light) 0%, #D5E6ED 100%); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.blog-cat { align-self: flex-start; background: var(--primary); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; }
.read-more-btn { font-weight: 700; font-size: 0.86rem; color: var(--accent); background: none; border: none; cursor: pointer; text-align: left; padding: 0; margin-top: auto; }

/* =========================================================
   MODERN FAQ ACCORDION WITH + AND − TOGGLE
   ========================================================= */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}
.faq-item {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(10, 75, 102, 0.03);
}
.faq-item:hover {
  border-color: rgba(10, 75, 102, 0.35);
}
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
}
/* Remove default browser triangle marker */
.faq-question {
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
/* Circular + / - Toggle Button */
.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: var(--transition);
  flex-shrink: 0;
}
/* Horizontal line (used by both + and −) */
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--primary);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.faq-icon::before {
  width: 14px;
  height: 2.2px;
}
/* Vertical line (collapses when open to leave a crisp −) */
.faq-icon::after {
  width: 2.2px;
  height: 14px;
}
.faq-item[open] .faq-icon {
  background: var(--accent);
}
.faq-item[open] .faq-icon::before {
  background-color: #FFFFFF;
}
.faq-item[open] .faq-icon::after {
  background-color: #FFFFFF;
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
/* Show − and highlight button when open */

.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 14px;
}

/* Portal View */
.portal-hero-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; padding: 34px 0 42px; border-bottom: 4px solid var(--accent); }
.breadcrumb-btn { background: rgba(255,255,255,0.12); color: #fff; padding: 6px 14px; border-radius: 99px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; margin-bottom: 16px; }
.lookup-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); padding: 20px 22px; margin-top: 20px; backdrop-filter: blur(8px); }
.lookup-bar { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.lookup-input { flex: 1; min-width: 240px; padding: 12px 16px; border-radius: var(--radius-sm); border: none; font-size: 0.93rem; outline: none; }
.demo-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.demo-pill { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 5px 12px; border-radius: 99px; font-size: 0.74rem; font-weight: 600; cursor: pointer; }
.demo-pill:hover { background: var(--accent); }

.welcome-alert { background: #ECFDF5; border: 1.5px solid #10B981; border-radius: var(--radius-md); padding: 16px 20px; margin: 24px 0 8px; display: none; align-items: center; justify-content: space-between; gap: 16px; }
.welcome-alert.show { display: flex; }

.portal-main-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; padding: 34px 0 76px; align-items: start; }
.portal-panel { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.step-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; }

.chamber-radio-card { border: 2px solid var(--border-color); border-radius: var(--radius-sm); padding: 13px 15px; cursor: pointer; display: flex; justify-content: space-between; margin-bottom: 10px; background: var(--bg-body); }
.chamber-radio-card.selected { border-color: var(--primary); background: var(--primary-light); }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.slot-btn { padding: 10px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-body); font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.slot-btn.active { border-color: var(--accent); background: #FFF5F2; color: var(--accent-hover); }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 5px; color: var(--primary-dark); }
.form-control { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.92rem; outline: none; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,75,102,0.12); }
.history-item { background: var(--bg-body); border-left: 3px solid var(--primary); padding: 9px 12px; border-radius: 0 6px 6px 0; font-size: 0.8rem; margin-bottom: 6px; }

/* Footer & Modals */
.contact-footer { background: #05222E; color: #fff; padding: 68px 0 34px; margin-top: auto; }
.footer-matrix { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; margin-bottom: 44px; }
.modal-backdrop, .drawer-backdrop { position: fixed; inset: 0; background: rgba(6,47,65,0.65); backdrop-filter: blur(4px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open, .drawer-backdrop.open { display: flex; }
.drawer-backdrop { justify-content: flex-end; padding: 0; }
.modal-card { background: #fff; border-radius: var(--radius-lg); max-width: 580px; width: 100%; overflow: hidden; box-shadow: var(--shadow-lg); }
.drawer-panel { width: 100%; max-width: 420px; background: #fff; height: 100%; display: flex; flex-direction: column; }

@media (max-width: 992px) {
  .hero-grid, .about-split-grid, .gallery-grid, .telemed-box, .portal-main-grid, .footer-matrix, .form-row-2 { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .hero-content h1 { font-size: 2.2rem; }
}

/* =========================================================
   MOBILE HAMBURGER BUTTON & SLIDE-DOWN DRAWER (< 992px)
   ========================================================= */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--primary-dark);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.mobile-menu-toggle:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 22px;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    z-index: 950;
  }
  .nav-menu.mobile-open {
    display: flex;
    animation: fadeIn 0.22s ease;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }
  .brand-name {
    font-size: 0.96rem;
  }
  .brand-sub {
    font-size: 0.68rem;
  }
}

/* =========================================================
   MODERN 3-COLUMN FOOTER & INTERACTIVE MAP CAROUSEL
   ========================================================= */
.contact-footer {
  background: linear-gradient(180deg, #05222E 0%, #03151D 100%);
  color: #FFFFFF;
  padding: 64px 0 28px;
  margin-top: auto;
  border-top: 3px solid var(--accent);
}
.footer-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1.15fr;
  gap: 36px;
  margin-bottom: 40px;
  align-items: start;
}
.footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F8FAFC;
  margin-bottom: 14px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  transition: var(--transition);
}
.social-fb:hover { background: #1877F2; border-color: #1877F2; transform: translateY(-2px); }
.social-yt:hover { background: #FF0000; border-color: #FF0000; transform: translateY(-2px); }
.social-wa:hover { background: #25D366; border-color: #25D366; transform: translateY(-2px); }

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-link-list a {
  color: #CBD5E1;
  font-size: 0.86rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.footer-link-list a:hover {
  color: #FDE68A;
  transform: translateX(4px);
}

/* Chamber Map Carousel Card inside Footer */
.map-carousel-controls {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 99px;
  gap: 4px;
}
.map-tab-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
}
.map-tab-btn.active {
  background: var(--accent);
  color: #FFFFFF;
}
.footer-map-slide {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}
.map-preview-frame {
  width: 100%;
  height: 130px;
  background: #0F172A;
}
.map-card-details {
  padding: 12px 14px;
}
.map-card-details strong {
  display: block;
  font-size: 0.9rem;
  color: #FDE68A;
  margin-bottom: 3px;
}
.map-card-details p {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin-bottom: 10px;
  line-height: 1.45;
}
.map-direction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 12px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.map-direction-btn:hover {
  background: #38BDF8;
  color: #03151D;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #94A3B8;
}

/* =========================================================
   FLOATING LIVE STATUS TRACKER BUTTON (BOTTOM-RIGHT)
   ========================================================= */
.floating-status-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #062F41 0%, #0A4B66 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(52, 211, 153, 0.5);
  padding: 12px 20px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(6, 47, 65, 0.35);
  transition: var(--transition);
}
.floating-status-fab:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-color: #FFFFFF;
}
.fab-pulse {
  width: 9px;
  height: 9px;
  background: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}

@media (max-width: 992px) {
  .footer-grid-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .floating-status-fab {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

/* =========================================================
   EYE-CATCHING ODD / EVEN PATIENT CARDS IN DASHBOARD
   ========================================================= */
.pt-distinct-card {
  border-radius: 16px;
  padding: 0 !important;
  margin-bottom: 22px !important;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pt-distinct-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(6, 47, 65, 0.12);
}

/* Odd Patient Cards (1, 3, 5...): Crisp Clinical Teal Theme */
.pt-card-odd {
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  border-left: 7px solid #0A4B66;
  box-shadow: 0 6px 18px rgba(10, 75, 102, 0.06);
}
.pt-card-odd .pt-card-header-strip {
  background: linear-gradient(90deg, #F0F9FF 0%, #FFFFFF 100%);
}
.pt-card-odd .pt-index-circle {
  background: #0A4B66;
  color: #FFFFFF;
}

/* Even Patient Cards (2, 4, 6...): Warm Terracotta / Amber Theme */
.pt-card-even {
  background: #FFFAF7;
  border: 1.5px solid #FED7AA;
  border-left: 7px solid #E07A5F;
  box-shadow: 0 6px 18px rgba(224, 122, 95, 0.07);
}
.pt-card-even .pt-card-header-strip {
  background: linear-gradient(90deg, #FFF7ED 0%, #FFFAF7 100%);
}
.pt-card-even .pt-index-circle {
  background: #E07A5F;
  color: #FFFFFF;
}

.pt-card-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-color);
}
.pt-index-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.pt-pid-pill {
  font-family: monospace;
  background: #062F41;
  color: #6EE7B7;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.8rem;
}
.pt-clinical-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  .pt-clinical-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   MANUAL DOCTOR IN / OUT STATUS TOGGLE BUTTONS
   ========================================================= */
.doctor-toggle-btn {
  flex: 1;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.55);
}
.doctor-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

/* Active State: Doctor In (Bright Green) */
.doctor-toggle-btn.active-in {
  background: #10B981 !important;
  color: #FFFFFF !important;
  border-color: #34D399 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* Active State: Doctor Out (Bright Red) */
.doctor-toggle-btn.active-out {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border-color: #F87171 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}