/* ==========================================================================
   Bristol Primary Care LLC - Futuristic Medical Design System
   Exact Brand Palette:
   - Primary Teal: #079bbb
   - Secondary Teal/Aqua: #66d0cc
   - Primary Dark: #056a80
   - Accent Yellow: #ffce08
   - Accent Red: #e80615
   - Light Slate: #e9edf0
   - Dark Slate Text: #56676b
   - Text Heading: #0f172a
   ========================================================================== */

:root {
  --primary: #079bbb;
  --primary-hover: #06839e;
  --primary-dark: #056a80;
  --primary-50: #f0f9fb;
  --primary-100: #d8f1f6;
  
  --secondary: #66d0cc;
  --secondary-hover: #4fc9c4;
  --secondary-dark: #12827e;

  --accent-yellow: #ffce08;
  --accent-yellow-hover: #e6b800;
  --accent-red: #e80615;

  --bg-slate: #e9edf0;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  
  --text-main: #334155;
  --text-muted: #56676b;
  --text-heading: #0f172a;

  --border-light: #e2e8f0;
  --border-primary: #bce7f0;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(7, 155, 187, 0.08);
  --shadow-lg: 0 10px 25px rgba(7, 155, 187, 0.12);
  --shadow-xl: 0 20px 40px rgba(7, 155, 187, 0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-base: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Accessibility: High Contrast Mode */
body.high-contrast {
  --bg-light: #ffffff;
  --bg-slate: #f1f5f9;
  --text-main: #000000;
  --text-muted: #1e293b;
  --text-heading: #000000;
  --border-light: #000000;
  background-color: #ffffff !important;
  color: #000000 !important;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   Responsive Grid Classes (Fixes Mobile Overflow on Samsung & iPhone)
   ========================================================================== */
.responsive-2col-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 36px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.responsive-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 991px) {
  .responsive-2col-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   Single-Row Top Bar & Accessibility Widget
   ========================================================================== */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 0;
  width: 100%;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
}

.top-info-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.top-info-left {
  flex-shrink: 0;
}
.top-info-right {
  flex-shrink: 0;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.top-info-item i {
  color: var(--primary);
  font-size: 0.85rem;
}

.top-info-item a {
  color: var(--text-heading);
}
.top-info-item a:hover {
  color: var(--primary);
}

/* Social Icon Circles in Top Bar */
.top-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.social-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  transition: var(--transition);
}
.social-icon-circle.fb { background: #eef2ff; color: #1877f2; }
.social-icon-circle.ig { background: #fdf2f8; color: #e4405f; }
.social-icon-circle.tw { background: #f1f5f9; color: #0f172a; }
.social-icon-circle.li { background: #eff6ff; color: #0a66c2; }
.social-icon-circle.gg { background: #fef2f2; color: #ea4335; }
.social-icon-circle.yp { background: #fef2f2; color: #d32323; }

.social-icon-circle:hover {
  transform: translateY(-2px);
  filter: brightness(0.9);
}

/* Live Open/Closed Pill */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-slate);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.open {
  background-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseGreen 2s infinite;
}
.status-dot.closed {
  background-color: #ef4444;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Senior Accessibility A- / A / A+ Widget */
.a11y-font-widget {
  display: inline-flex;
  align-items: center;
  background: var(--bg-slate);
  padding: 2px 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.a11y-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.font-btn {
  background: transparent;
  border: none;
  font-weight: 800;
  color: var(--text-heading);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  transition: var(--transition);
}
.font-btn:hover {
  background: rgba(7, 155, 187, 0.15);
  color: var(--primary);
}
.font-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(7, 155, 187, 0.3);
}

/* Important Emergency Alert Bar */
.emergency-alert-bar {
  background: #fff1f2;
  border-bottom: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 0.84rem;
  padding: 7px 0;
  text-align: center;
  word-break: break-word;
}

.emergency-alert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.emergency-badge {
  background: var(--accent-red);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Main Sticky Navbar
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 12px;
}
.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
  background: var(--primary-50);
}

/* Dropdown Menus */
.has-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 250px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1100;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--text-heading);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--primary-50);
  color: var(--primary);
  transform: translateX(4px);
}

/* Navigation Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  max-width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 16px rgba(7, 155, 187, 0.3);
  transform: translateY(-1px);
}

.btn-dark-yellow {
  background: var(--accent-yellow);
  color: #0f172a !important;
}
.btn-dark-yellow:hover {
  background: var(--accent-yellow-hover);
  box-shadow: 0 6px 16px rgba(255, 206, 8, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #ffffff !important;
}

.btn-outline-white {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff !important;
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary) !important;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Mobile Drawer Navigation
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(320px, 85vw);
  height: 100vh;
  background: #ffffff;
  z-index: 1999;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.drawer-close {
  background: var(--bg-slate);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-heading);
  cursor: pointer;
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.drawer-link:hover, .drawer-link.active {
  background: var(--primary-50);
  color: var(--primary);
}

.drawer-submenu {
  list-style: none;
  padding-left: 28px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-submenu a {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.drawer-submenu a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Hero Section & Quick Card
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #056a80 0%, #079bbb 60%, #66d0cc 100%);
  color: #ffffff;
  padding: 60px 0 70px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 100%;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  word-break: break-word;
}
.hero-title span {
  color: var(--accent-yellow);
}

.hero-desc {
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.highlight-item i {
  font-size: 1.5rem;
  color: var(--accent-yellow);
}

.hero-quick-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  width: 100%;
  box-sizing: border-box;
}

.hero-card-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.hero-card-title {
  font-size: 1.3rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.hero-card-title i {
  color: var(--primary);
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 4px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.hours-row .day {
  font-weight: 600;
  color: var(--text-heading);
}
.hours-row .time {
  color: var(--text-muted);
}

/* ==========================================================================
   Section Headers & Cards
   ========================================================================== */
.section {
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
}
.section-sm {
  padding: 40px 0;
  width: 100%;
  overflow: hidden;
}

.section-bg-white { background: #ffffff; }
.section-bg-light { background: var(--bg-light); }
.section-bg-slate { background: var(--bg-slate); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-100);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  max-width: 100%;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Feature Cards Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  width: 100%;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.feature-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px;
  width: 100%;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  width: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-image-box {
  height: 200px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-image-box img {
  transform: scale(1.05);
}

.service-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.service-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.service-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
}
.service-highlight-item i {
  color: var(--primary);
  font-size: 0.8rem;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.learn-more-link {
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Doctors Grid */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px;
  width: 100%;
}

.doctor-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  width: 100%;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.doctor-card-img-wrap {
  height: 280px;
  background: var(--bg-slate);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.doctor-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-badge-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.doctor-badge-overlay img {
  height: 20px;
  width: auto;
}

.doctor-card-body {
  padding: 24px;
}
.doctor-name {
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.doctor-specialty {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.doctor-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.doctor-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.doctor-meta-item i {
  color: var(--primary);
  width: 16px;
}

.doctor-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Interactive Consultation Hours Table */
.consultation-timetable {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr));
  gap: 10px;
  width: 100%;
}

.consultation-day-card {
  background: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  box-sizing: border-box;
}
.consultation-day-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.consultation-day-card.today {
  border-color: var(--primary);
  background: var(--primary-50);
}
.consultation-day-card.closed {
  opacity: 0.75;
  cursor: default;
}
.consultation-day-card.closed:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border-light);
}

.day-badge-today {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 8px;
  border-radius: var(--radius-full);
}

/* Symptom Search Filter */
.symptom-search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 30px auto;
  width: 100%;
}
.symptom-search-input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}
.symptom-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(7, 155, 187, 0.15);
}
.symptom-search-box i {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  width: 100%;
}

.condition-pill {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.condition-pill:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.condition-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.condition-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Reviews & Testimonials Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  width: 100%;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}
.review-verified {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Horizontal Scroll Gallery Carousel */
.gallery-nav-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gallery-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 20px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-slate);
  max-width: 100%;
}

.gallery-carousel-track::-webkit-scrollbar {
  height: 8px;
}
.gallery-carousel-track::-webkit-scrollbar-track {
  background: var(--bg-slate);
  border-radius: var(--radius-full);
}
.gallery-carousel-track::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

.gallery-carousel-card {
  min-width: 280px;
  max-width: min(340px, 85vw);
  height: 240px;
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #0f172a;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.gallery-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-carousel-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition: var(--transition);
}

.gallery-caption {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Lightbox Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}
.gallery-modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
}
.gallery-modal-content img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #000000;
}
.gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.gallery-modal-close:hover {
  background: var(--accent-red);
  transform: scale(1.1);
}
.gallery-modal-caption {
  padding: 16px 20px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  background: #0f172a;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}
.faq-trigger i {
  color: var(--primary);
  transition: transform 0.25s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 800px;
  padding-bottom: 20px;
}
.faq-item.active .faq-trigger i {
  transform: rotate(180deg);
}

/* Forms, Booking & Symmetric Upload Grid */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  width: 100%;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}
.form-grid-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}
.form-label .req {
  color: var(--accent-red);
}

.form-control {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(7, 155, 187, 0.12);
}
textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.upload-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}

.upload-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.file-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 155px;
  width: 100%;
  border: 2px dashed #bce7f0;
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: var(--transition);
  box-sizing: border-box;
}
.file-upload-box:hover {
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.upload-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.file-upload-box:hover .upload-icon-circle {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.upload-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
  margin-bottom: 4px;
  word-break: break-word;
}

.file-preview-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #056a80 0%, #079bbb 100%);
  color: #ffffff;
  padding: 44px 0;
  width: 100%;
}
.page-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  word-break: break-word;
}
.breadcrumbs {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumbs a {
  color: #ffffff;
  text-decoration: underline;
}

/* Site Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.9rem;
  padding-bottom: 70px; /* Space for mobile bottom bar */
  width: 100%;
  overflow: hidden;
}

.footer-top {
  padding: 60px 0;
  border-bottom: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  width: 100%;
}

.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  line-height: 1.7;
  font-size: 0.88rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-item i {
  color: var(--secondary);
  margin-top: 4px;
  flex-shrink: 0;
}
.footer-contact-item a {
  color: #94a3b8;
}
.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 20px 0;
  font-size: 0.82rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   1. Floating Scroll-To-Top Up Arrow (Mobile & Desktop)
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 1050;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   2. Intelligent Warm Patient CareBot Chatbot Widget
   ========================================================================== */
.chatbot-wrapper {
  position: fixed;
  bottom: 85px;
  left: 20px;
  z-index: 1100;
}

.chatbot-trigger-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #079bbb 0%, #056a80 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 25px rgba(7, 155, 187, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.chatbot-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(7, 155, 187, 0.5);
}

.chatbot-badge-ping {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

.chatbot-window {
  position: absolute;
  bottom: 68px;
  left: 0;
  width: min(360px, calc(100vw - 32px));
  height: min(480px, 70vh);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transform-origin: bottom left;
  transition: var(--transition);
}
.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: linear-gradient(135deg, #079bbb 0%, #056a80 100%);
  color: #ffffff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
}
.chatbot-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.chatbot-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chatbot-tag {
  background: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.chatbot-status {
  font-size: 0.74rem;
  opacity: 0.88;
}

.chatbot-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}
.chat-msg.bot {
  align-self: flex-start;
}
.chat-msg.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.chat-msg.bot .chat-bubble {
  background: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-msg.user .chat-bubble {
  background: var(--primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 3px;
  padding: 0 4px;
}
.chat-msg.user .chat-time {
  text-align: right;
}

.chat-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.chip-btn {
  background: #ffffff;
  border: 1px solid var(--primary-100);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chip-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.chatbot-input-area {
  padding: 10px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
}
.chatbot-input-area input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.86rem;
  outline: none;
  font-family: inherit;
}
.chatbot-input-area input:focus {
  border-color: var(--primary);
}
.chatbot-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Typing Indicator */
.chat-bubble.typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}
.chat-bubble.typing .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.chat-bubble.typing .dot:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble.typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* ==========================================================================
   3. Fixed Responsive Mobile Bottom Menu Bar
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-light);
    z-index: 1200;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
    padding: 0 4px;
  }

  .mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    gap: 3px;
    flex: 1;
    text-align: center;
    padding: 4px 0;
  }
  .mobile-bottom-item i {
    font-size: 1.15rem;
  }
  .mobile-bottom-item.active {
    color: var(--primary);
  }

  .mobile-bottom-item.highlight-cta {
    position: relative;
    color: var(--primary);
  }
  .cta-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #079bbb 0%, #056a80 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
    box-shadow: 0 4px 12px rgba(7, 155, 187, 0.4);
    font-size: 1.2rem;
  }

  .scroll-top-btn {
    bottom: 74px;
    right: 14px;
  }

  .chatbot-wrapper {
    bottom: 74px;
    left: 14px;
  }
  .chatbot-window {
    width: calc(100vw - 28px);
    height: 68vh;
    left: 0;
  }
}

/* ==========================================================================
   4. PWA Install Modal
   ========================================================================== */
.pwa-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.pwa-modal.active {
  opacity: 1;
  visibility: visible;
}

.pwa-modal-card {
  position: relative;
  max-width: 460px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  box-sizing: border-box;
}

.pwa-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: var(--bg-slate);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}

/* ==========================================================================
   5. PWA Floating Toast Notification Banner
   ========================================================================== */
.pwa-toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 360px;
  width: calc(100% - 48px);
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  box-shadow: 0 12px 36px rgba(7, 155, 187, 0.25);
  border: 1px solid var(--border-primary);
  z-index: 1150;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(180%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  box-sizing: border-box;
}
.pwa-toast-notification.visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.pwa-toast-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.pwa-toast-close:hover {
  color: var(--accent-red);
}

.pwa-toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-toast-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.pwa-toast-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.pwa-toast-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.pwa-toast-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ==========================================================================
   Mobile-First Responsive Breakpoints (Samsung & iPhone Optimized)
   ========================================================================== */
@media (max-width: 1140px) {
  .nav-menu {
    gap: 2px;
  }
  .nav-link {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .top-email-item {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .top-info-left .top-info-item:first-child {
    display: none;
  }
  .top-social-icons {
    display: none;
  }
  .hero {
    padding: 36px 0 44px 0;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-quick-card {
    padding: 24px 18px;
  }
  .form-card {
    padding: 24px 18px !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .upload-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nav-actions {
    display: none;
  }
  .section {
    padding: 44px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .page-hero {
    padding: 36px 0;
  }
  .page-hero-title {
    font-size: 1.8rem;
  }
  .pwa-toast-notification {
    bottom: 74px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px 16px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.55rem;
  }
  .page-hero-title {
    font-size: 1.6rem;
  }
  .form-card {
    padding: 20px 14px !important;
  }
  .file-upload-box {
    padding: 16px 10px !important;
    min-height: 140px !important;
  }
  .btn-lg {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}
