/* ==========================================================================
   MANNAT HEALTH WEBSITE DESIGN SYSTEM & UTILITIES
   Colors: Navy (#16265C), Deep Navy (#0E1A44), Crimson (#D2145A), 
           Care Blue (#1D9BD8), Cross Green (#7AC143), Paper (#F6F8FC), Ink (#131C3B).
   Fonts: Bricolage Grotesque (Display), Public Sans (Body), Hind Siliguri (Bengali).
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=Hind+Siliguri:wght@300;400;500;600;700&family=Public+Sans:ital,wght@0,300..900;1,300..900&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --clr-navy: #16265C;
  --clr-navy-dark: #0E1A44;
  --clr-navy-light: #20357A;
  --clr-crimson: #D2145A;
  --clr-crimson-hover: #B00E47;
  --clr-blue: #1D9BD8;
  --clr-blue-light: #EBF7FD;
  --clr-green: #7AC143;
  --clr-paper: #F6F8FC;
  --clr-paper-dark: #EBF0F8;
  --clr-ink: #131C3B;
  --clr-white: #FFFFFF;
  --clr-gray-300: #E2E8F0;
  --clr-gray-500: #64748B;
  --clr-gray-700: #334155;
  
  /* Fonts */
  --ff-display: 'Bricolage Grotesque', sans-serif;
  --ff-body: 'Public Sans', sans-serif;
  --ff-bengali: 'Hind Siliguri', sans-serif;
  
  /* Shadows & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(19, 28, 59, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(19, 28, 59, 0.08), 0 4px 6px -2px rgba(19, 28, 59, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(19, 28, 59, 0.1), 0 10px 10px -5px rgba(19, 28, 59, 0.04);
  --shadow-glow: 0 0 15px rgba(210, 20, 90, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--ff-body);
  color: var(--clr-ink);
  background-color: var(--clr-paper);
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Accessibility Focus --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--clr-blue);
  outline-offset: 3px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-navy-dark);
}

p {
  color: var(--clr-gray-700);
}

.bengali-accent {
  font-family: var(--ff-bengali);
  font-weight: 500;
  color: var(--clr-blue);
}

/* --- Helper Utilities & Layouts --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--clr-navy);
  color: var(--clr-white);
}

.btn-primary:hover {
  background-color: var(--clr-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--clr-crimson);
  color: var(--clr-white);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background-color: var(--clr-crimson-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--clr-navy);
  color: var(--clr-navy);
}

.btn-secondary:hover {
  background-color: var(--clr-navy);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* --- Sticky Layout Elements --- */

/* Emergency Strip */
.emergency-strip {
  background-color: var(--clr-navy-dark);
  color: var(--clr-white);
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 2px solid var(--clr-crimson);
  z-index: 100;
}

.emergency-strip-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.emergency-badge {
  background-color: var(--clr-crimson);
  color: var(--clr-white);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  animation: pulse-border 2s infinite;
}

.emergency-phone-links a {
  color: var(--clr-white);
  text-decoration: none;
  font-weight: 700;
  margin-left: 15px;
  transition: color var(--transition-fast);
}

.emergency-phone-links a:hover {
  color: var(--clr-blue);
}

/* Header */
header {
  background-color: var(--clr-white);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

/* Shrinking Header Class (via JS) */
header.shrunk {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height var(--transition-fast);
}

header.shrunk .header-container {
  height: 60px;
}

/* Logo Design Rebuilt with Inline Vector style CSS */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-graphic {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--clr-navy-dark);
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--clr-crimson);
  text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--clr-navy-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-crimson);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--clr-crimson);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hamburger menu button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--clr-navy-dark);
  margin: 5px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Elements */
.hero-sec {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  color: var(--clr-white);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(14, 26, 68, 0.75), rgba(14, 26, 68, 0.85));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-tagline {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--clr-white);
  text-transform: uppercase;
}

.hero-subtag {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

/* ECG divider animation style */
.ecg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  width: 100%;
  opacity: 0.6;
}

.ecg-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-ecg 6s linear infinite;
}

/* Fast stats */
.stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  color: var(--clr-crimson);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--clr-gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Emergency card in Hero */
.emergency-hero-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-gray-300);
  position: relative;
  overflow: hidden;
}

.emergency-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--clr-crimson);
}

.emergency-card-title {
  color: var(--clr-crimson);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.emergency-hero-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.phone-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--clr-paper);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--clr-navy-dark);
  font-weight: 700;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.phone-link-card:hover {
  background-color: var(--clr-blue-light);
  color: var(--clr-blue);
  transform: translateX(4px);
}

.phone-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--clr-crimson);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
}

.phone-link-card:hover .phone-icon-box {
  background-color: var(--clr-blue);
}

.facility-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.facility-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--clr-gray-700);
  font-weight: 600;
}

.check-icon {
  color: var(--clr-green);
  font-weight: bold;
}

/* --- Facilities Page & Section --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--clr-gray-500);
  font-size: 1.1rem;
}

/* Hexagon layout for facilities */
.hex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.hex-tile {
  background-color: var(--clr-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-gray-300);
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hex-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--clr-blue);
  transition: height var(--transition-fast);
  z-index: -1;
}

.hex-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.hex-tile:hover::after {
  height: 100%;
  opacity: 0.05;
}

.hex-icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--clr-blue-light);
  color: var(--clr-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 1.75rem;
  transition: all var(--transition-fast);
}

.hex-tile:hover .hex-icon-box {
  background-color: var(--clr-blue);
  color: var(--clr-white);
}

.hex-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* --- Departments Section & Grid --- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.dept-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-gray-300);
  padding: 24px;
  text-decoration: none;
  color: var(--clr-navy-dark);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dept-card:hover {
  border-color: var(--clr-blue);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.dept-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dept-count {
  font-size: 0.85rem;
  color: var(--clr-gray-500);
  font-weight: 600;
}

/* --- Doctor Directory Page --- */
.directory-controls {
  background-color: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-gray-300);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search-input-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-gray-500);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-gray-300);
  font-family: var(--ff-body);
  font-size: 1rem;
  background-color: var(--clr-paper);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--clr-blue);
  background-color: var(--clr-white);
  box-shadow: 0 0 0 4px rgba(29, 155, 216, 0.15);
  outline: none;
}

/* Filter chips list */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  background-color: var(--clr-white);
  border: 1.5px solid var(--clr-gray-300);
  color: var(--clr-gray-700);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-chip:hover {
  background-color: var(--clr-paper);
  border-color: var(--clr-gray-500);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--clr-blue), var(--clr-navy));
  border-color: var(--clr-blue);
  color: var(--clr-white);
  box-shadow: 0 4px 12px rgba(29, 155, 216, 0.25);
}

/* Doctor card roster layout */
.doc-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.doc-card {
  background-color: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-gray-300);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-blue);
}

.doc-info-top {
  margin-bottom: 16px;
}

.doc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.doc-avatar-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.doc-avatar-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-blue-light), var(--clr-paper-dark));
  border: 2px solid var(--clr-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-blue);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.doc-avatar-details {
  display: flex;
  flex-direction: column;
}

.doc-name {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  color: var(--clr-navy-dark);
  font-weight: 750;
  line-height: 1.2;
  margin-bottom: 4px;
}

.doc-dept {
  background-color: var(--clr-blue-light);
  color: var(--clr-blue);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
}

.doc-qual {
  font-size: 0.9rem;
  color: var(--clr-gray-700);
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--clr-blue);
}

.doc-reg {
  font-size: 0.75rem;
  color: var(--clr-gray-500);
  font-weight: 600;
  background-color: var(--clr-paper);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
}

.visiting-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.visiting-badge.on-call {
  background-color: var(--clr-paper-dark);
  color: var(--clr-gray-700);
}

.visiting-badge.fixed-day {
  background-color: var(--clr-blue-light);
  color: var(--clr-blue);
}

.visiting-badge.rmo-status {
  background-color: #EBFDF5;
  color: var(--clr-green);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.grey { background-color: var(--clr-gray-500); }
.status-dot.blue { background-color: var(--clr-blue); }
.status-dot.green { background-color: var(--clr-green); }

.doc-dept {
  background-color: var(--clr-paper);
  color: var(--clr-navy-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 12px;
}

.doc-qual {
  font-size: 0.9rem;
  color: var(--clr-gray-700);
  font-weight: 600;
  margin-bottom: 10px;
  border-left: 2px solid var(--clr-gray-300);
  padding-left: 8px;
}

.doc-reg {
  font-size: 0.8rem;
  color: var(--clr-gray-500);
  font-weight: 500;
}

.doc-hours-box {
  border-top: 1px solid var(--clr-gray-300);
  padding-top: 14px;
  margin-top: 14px;
}

.doc-hours-label {
  font-size: 0.75rem;
  color: var(--clr-gray-500);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.doc-hours-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-navy-dark);
}

/* Pagination / Show all button container */
.roster-pagination {
  text-align: center;
  margin: 32px 0 60px;
}

.directory-disclaimer {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 0.85rem;
  color: var(--clr-gray-500);
}

.empty-state {
  text-align: center;
  padding: 48px;
  color: var(--clr-gray-500);
  grid-column: 1 / -1;
}

/* --- About Page / Brand Story --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.about-text {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.brand-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
  margin-top: 32px;
}

.value-card {
  background-color: var(--clr-white);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-gray-300);
}

.value-card-title {
  color: var(--clr-navy);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.brand-signoff {
  background-color: var(--clr-navy-dark);
  color: var(--clr-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 60px;
}

.brand-signoff h3 {
  color: var(--clr-white);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.bengali-quote {
  font-family: var(--ff-bengali);
  font-size: 2rem;
  color: var(--clr-blue);
  line-height: 1.4;
  margin-top: 12px;
}

/* --- Contact & Location Layout --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 60px 0;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.contact-detail-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--clr-blue-light);
  color: var(--clr-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-detail-content p, .contact-detail-content a {
  font-size: 1rem;
  color: var(--clr-gray-700);
  text-decoration: none;
}

.contact-detail-content a:hover {
  color: var(--clr-blue);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.hours-table td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--clr-gray-300);
  font-size: 0.95rem;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-day {
  font-weight: 700;
  color: var(--clr-navy-dark);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-gray-300);
  height: 450px;
  background-color: var(--clr-white);
  display: flex;
  flex-direction: column;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Temporary Asset Inspector / Gallery (PRD review helpers) --- */
.gallery-section {
  background-color: var(--clr-white);
  padding: 60px 0;
  border-top: 1px dashed var(--clr-gray-300);
  border-bottom: 1px dashed var(--clr-gray-300);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery-card {
  border: 1px solid var(--clr-gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--clr-paper);
  text-align: center;
}

.gallery-img-wrapper {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 10px;
  color: var(--clr-navy-dark);
  text-transform: lowercase;
  word-break: break-all;
}

/* --- Emergency Band Call To Action --- */
.emergency-band {
  background-color: var(--clr-crimson);
  color: var(--clr-white);
  padding: 48px 0;
  text-align: center;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 90%);
}

.emergency-band h2 {
  color: var(--clr-white);
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.emergency-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.emergency-band-phones {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.emergency-band-btn {
  background-color: var(--clr-white);
  color: var(--clr-crimson);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
}

.emergency-band-btn:hover {
  background-color: var(--clr-paper);
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

/* --- Footer --- */
footer {
  background-color: var(--clr-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
  margin-top: auto;
  border-top: 3px solid var(--clr-crimson);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo-title {
  color: var(--clr-white);
}

.footer-brand .logo-graphic {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-title {
  color: var(--clr-white);
  font-family: var(--ff-display);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--clr-blue);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--clr-blue);
  padding-left: 4px;
}

.footer-contact-info {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.footer-contact-info strong {
  color: var(--clr-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-left: 20px;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--clr-white);
}

/* --- Floating Call Button --- */
.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--clr-crimson);
  color: var(--clr-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(210, 20, 90, 0.5);
  text-decoration: none;
  z-index: 999;
  font-size: 1.5rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast), opacity var(--transition-fast), visibility var(--transition-fast);
  animation: pulse-shadow 2s infinite;
  opacity: 0;
  visibility: hidden;
}

.floating-call.visible {
  opacity: 1;
  visibility: visible;
}

.floating-call:hover {
  background-color: var(--clr-crimson-hover);
  transform: scale(1.1) rotate(5deg);
}

/* --- Mobile Menu Drawer --- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--clr-white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  padding: 32px 24px;
  transition: left var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(14, 26, 68, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
}

.mobile-nav-backdrop.visible {
  display: block;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  color: var(--clr-navy-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--clr-crimson);
}

.mobile-drawer-footer {
  border-top: 1px solid var(--clr-gray-300);
  padding-top: 24px;
}

.mobile-drawer-helpline {
  color: var(--clr-crimson);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  display: block;
  margin-top: 8px;
}

/* --- Keyframe Animations --- */
@keyframes draw-ecg {
  0% { stroke-dashoffset: 1000; }
  80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(210, 20, 90, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(210, 20, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 20, 90, 0); }
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(210, 20, 90, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(210, 20, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 20, 90, 0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- New Redesign Components --- */

.dept-image-wrapper {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.dept-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.glass-card:hover .dept-image-wrapper img {
  transform: scale(1.06);
}

.dark-section {
  background-color: var(--clr-navy-dark);
  color: var(--clr-white);
  padding: 80px 0;
}

.dark-section .section-title {
  color: var(--clr-white);
}

.dark-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: var(--clr-white);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--clr-blue);
  box-shadow: 0 10px 30px rgba(29, 155, 216, 0.15);
}

.glass-card .dept-name {
  color: var(--clr-white);
  font-size: 1.15rem;
  margin: 0;
}

.dept-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.dept-arrow {
  color: var(--clr-blue);
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.glass-card:hover .dept-arrow {
  transform: translateX(4px);
  color: var(--clr-white);
}

.dept-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  line-height: 1.4;
}

.service-tag {
  display: inline-block;
  background-color: var(--clr-navy-light);
  color: var(--clr-white);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 4px;
}

.service-tag.highlight {
  background-color: var(--clr-crimson);
}

.service-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--clr-white);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-gray-300);
}

.checklist-item .check-icon {
  font-size: 1.25rem;
  color: var(--clr-green);
}

.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.real-gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4/3;
}

.real-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.real-gallery-card:hover img {
  transform: scale(1.05);
}

.why-us-stats {
  background: linear-gradient(135deg, var(--clr-navy-dark), var(--clr-navy));
  padding: 60px 0;
  color: white;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.why-us-number {
  font-size: 3.5rem;
  font-family: var(--ff-display);
  color: var(--clr-crimson);
  font-weight: 800;
  margin-bottom: 8px;
}

.why-us-label {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Media Queries --- */

@media (max-width: 1024px) {
  .hero-tagline {
    font-size: 2.75rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .map-wrapper {
    height: 350px;
  }
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }
  .nav-menu,
  .header-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .emergency-hero-card {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .real-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dark-section {
    padding: 60px 0;
  }
  .directory-controls {
    padding: 20px;
  }
  .chips-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: -4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .chips-container::-webkit-scrollbar {
    display: none;
  }
  .filter-chip {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-tagline {
    font-size: 2.25rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .stats-row {
    justify-content: space-around;
  }
  .facility-checklist {
    grid-template-columns: 1fr;
  }
  .brand-values-list {
    grid-template-columns: 1fr;
  }
  .real-gallery-grid {
    grid-template-columns: 1fr;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .glass-card {
    padding: 16px;
  }
  .glass-card .dept-name {
    font-size: 1rem;
  }
  .service-list-grid {
    grid-template-columns: 1fr;
  }
}
