/* ==========================================================================
   HEALTHVitalnuvia (healthvitalnuvia.org) - CORE STYLESHEET
   Pure Vanilla CSS - Mobile-First, Highly Accessible, Clinical-yet-Approachable
   ========================================================================== */

@theme {
  --color-primary: #0F766E;
  --color-primary-hover: #115E59;
  --color-primary-dark: #134E4A;
  --color-accent: #F97316;
  --color-accent-soft: #FFF7ED;
  --color-accent-hover: #EA580C;
  --color-bg-soft: #F0FDFA;
  --color-border-subtle: #CCFBF1;
  --color-text-body: #1F2937;
  --color-text-muted: #64748B;
}

:root {
  /* Brand Palette - Deep Teal & Warm Coral */
  --primary: #0F766E;         /* Deep Teal */
  --primary-hover: #115E59;   /* Hover Teal */
  --primary-dark: #134E4A;    /* Primary Dark (top bar, footer, headings) */
  --primary-light: #CCFBF1;   /* Soft Teal Tint / Borders / Active pill */
  --accent: #F97316;          /* Warm Coral Accent */
  --accent-soft: #FFF7ED;     /* Warm Coral Soft Tint */
  --accent-hover: #EA580C;
  --teal: #0F766E;            /* Evidence Teal */
  --teal-light: #F0FDFA;      /* Soft Background Tint */
  --coral: #F97316;           /* Warm Coral */
  --coral-light: #FFEDD5;     /* Soft Coral Tint */
  --emerald: #059669;         /* Trusted / Approved Green */
  --emerald-light: #ecfdf5;
  --amber: #b45309;           /* Caveat / Advisory Amber */
  --amber-light: #fffbeb;
  --rose: #be123c;            /* Urgent Recall / Alert Rose */
  --rose-light: #fff1f2;

  /* Neutrals mapped to theme */
  --slate-900: #134E4A;       /* Primary Dark for headings per spec */
  --slate-800: #1F2937;       /* Body / Bold text */
  --slate-700: #1F2937;       /* Body text: #1F2937 */
  --slate-600: #4B5563;       /* Secondary Text */
  --slate-500: #64748B;       /* Muted text: #64748B */
  --slate-400: #94A3B8;
  --slate-300: #CCFBF1;       /* Dividers: #CCFBF1 */
  --slate-200: #CCFBF1;       /* Borders: #CCFBF1 */
  --slate-100: #F0FDFA;       /* Soft background tint: #F0FDFA */
  --slate-50: #F0FDFA;        /* App Surface: #F0FDFA */
  --white: #ffffff;
  --bg-soft: #F0FDFA;
  --bg-white: #ffffff;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Cambria", "Times New Roman", serif;

  /* Sizing & Transitions */
  --header-height: 72px;
  --topbar-height: 36px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 78, 74, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 78, 74, 0.08), 0 2px 4px -2px rgba(15, 78, 74, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 78, 74, 0.10), 0 4px 6px -4px rgba(15, 78, 74, 0.05);
  --shadow-glow: 0 0 16px rgba(15, 118, 110, 0.35);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessible focus styling */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 3.5vw + 1rem, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem); }
h3 { font-size: clamp(1.25rem, 1.8vw + 0.4rem, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--accent);
}

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

/* Container Structure */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   TOP BAR (CLINICAL TRUST TICKER)
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(204, 251, 241, 0.15);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #FDBA74;
}

.topbar-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

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

.topbar-note span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 768px) {
  .topbar-note {
    display: none;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (STRICT 5 LINKS + CONTACT US CTA BUTTON)
   ========================================================================== */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 3px 0 rgba(15, 78, 74, 0.05);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
}

.brand-icon-wrapper {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.brand-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--accent);
}

.brand-domain {
  font-size: 0.725rem;
  color: var(--slate-500);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Desktop Navigation (Exactly 5 items) */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active {
  color: var(--primary-dark);
  background-color: var(--primary-light);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

/* Top-Right Standalone Contact CTA Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-contact-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-hover);
  box-shadow: 0 2px 4px rgba(15, 118, 110, 0.18);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-contact-header:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
  transform: translateY(-1px);
}

.btn-contact-header svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Hamburger Button */
.btn-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  color: var(--slate-800);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.btn-hamburger:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-300);
}

.btn-hamburger svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Mobile Navigation Drawer */
.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background-color: var(--white);
  z-index: 999;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-200);
}

.btn-close-drawer {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-drawer:hover {
  background-color: var(--slate-100);
  color: var(--slate-900);
}

.btn-close-drawer svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-nav-list {
  list-style: none;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-800);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--slate-200);
  background-color: var(--slate-50);
}

.mobile-drawer-footer .btn-contact-header {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
}

.mobile-trust-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.4;
  text-align: center;
}

/* Responsive Navigation Breakpoint (< 1024px) */
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .btn-contact-header.desktop-only {
    display: none;
  }
  .btn-hamburger {
    display: flex;
  }
}

/* ==========================================================================
   BUTTONS & COMMON UI COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 2px 4px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.38), 0 2px 6px rgba(15, 118, 110, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--teal-light);
  border-color: var(--primary-hover);
  color: var(--primary-hover);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.16);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Medical Badges & Chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.badge-teal {
  background-color: var(--teal-light);
  color: var(--teal);
  border: 1px solid #CCFBF1;
}

.badge-accent,
.badge-coral {
  background-color: var(--coral-light);
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.badge-emerald {
  background-color: var(--emerald-light);
  color: var(--emerald);
}

.badge-amber {
  background-color: var(--amber-light);
  color: var(--amber);
}

.badge-slate {
  background-color: var(--slate-200);
  color: var(--slate-700);
}

/* Physician Reviewer Chip */
.physician-reviewer-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  color: var(--slate-600);
  margin-top: 8px;
}

.reviewer-avatar {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--slate-300);
}

/* Section Header Styles */
.section-header {
  margin-bottom: 36px;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 12px;
  color: var(--slate-900);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC SECTIONS
   ========================================================================== */

/* Hero Banner */
@keyframes heroOrbFloat1 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(32px, -26px, 0) scale(1.08);
  }
}

@keyframes heroOrbFloat2 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-28px, 22px, 0) scale(1.06);
  }
}

.hero-section {
  position: relative;
  background-color: #F0FDFA;
  background-image: 
    radial-gradient(circle at 10% 18%, rgba(20, 184, 166, 0.25) 0%, transparent 48%),
    radial-gradient(circle at 90% 82%, rgba(253, 186, 116, 0.30) 0%, transparent 48%),
    radial-gradient(circle at 50% 45%, rgba(153, 246, 228, 0.30) 0%, transparent 55%);
  padding: 56px 0 84px;
  overflow: hidden;
}

/* Subtle fine grid pattern overlay (teal at 8% opacity) fading out towards edges */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 118, 110, 0.08) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000000 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000000 35%, transparent 95%);
}

/* Floating blurred gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.hero-orb-1 {
  width: 440px;
  height: 440px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, rgba(153, 246, 228, 0.20) 50%, transparent 75%);
  animation: heroOrbFloat1 13s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: 20px;
  right: -50px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.30) 0%, rgba(253, 186, 116, 0.22) 50%, transparent 75%);
  animation: heroOrbFloat2 15s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb-1,
  .hero-orb-2 {
    animation: none;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid #CCFBF1;
  box-shadow: 0 1px 3px rgba(15, 118, 110, 0.08);
}

.hero-tag svg {
  color: var(--accent);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

/* Key phrase teal-to-coral gradient text fill */
.hero-gradient-text,
.hero-title .hero-gradient-text {
  background: linear-gradient(135deg, #0F766E 0%, #14B8A6 40%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #0F766E;
  display: inline;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 28px;
}

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

.hero-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(204, 251, 241, 0.8);
}

.trust-point-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.trust-point-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: currentColor;
  flex-shrink: 0;
}

/* Doctor image with rounded-3xl frame & teal-to-coral gradient border / offset shadow */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
}

.hero-image-frame-backdrop {
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.35) 0%, rgba(20, 184, 166, 0.25) 50%, rgba(249, 115, 22, 0.35) 100%);
  filter: blur(10px);
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  border-radius: 1.5rem; /* rounded-3xl */
  padding: 4px;
  background: linear-gradient(135deg, #0F766E 0%, #14B8A6 45%, #F97316 100%);
  box-shadow: 
    0 20px 40px -15px rgba(15, 118, 110, 0.25),
    12px 14px 0px 0px rgba(249, 115, 22, 0.20); /* offset shadow behind it */
  overflow: hidden;
}

.hero-image-frame .hero-image {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: calc(1.5rem - 4px);
  display: block;
}

/* Frosted-glass card (backdrop-blur, white at 70% opacity) */
.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 16px 32px -8px rgba(15, 78, 74, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 290px;
}

.float-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #CCFBF1 0%, #FFEDD5 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(15, 118, 110, 0.15);
}

.float-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.float-card-text h5 {
  font-size: 0.925rem;
  margin-bottom: 2px;
  color: var(--primary-dark);
  font-weight: 700;
}

.float-card-text p {
  font-size: 0.775rem;
  color: var(--slate-600);
  line-height: 1.35;
}

/* Smooth curved SVG wave divider into next section */
.hero-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

@media (max-width: 900px) {
  .hero-section {
    padding: 40px 0 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    max-width: 100%;
  }
  .hero-image-frame-backdrop {
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
  }
  .hero-image-frame {
    box-shadow: 
      0 12px 24px -10px rgba(15, 118, 110, 0.2),
      8px 10px 0px 0px rgba(249, 115, 22, 0.18);
  }
  .hero-wave-divider svg {
    height: 32px;
  }
}

/* Trust Strip Bar */
.trust-strip {
  background-color: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--slate-200);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-strip-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(15, 118, 110, 0.15);
  transition: var(--transition);
}

.trust-strip-item:hover .trust-strip-icon {
  background-color: var(--coral-light);
  color: var(--accent);
}

.trust-strip-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
}

.trust-strip-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
}

@media (max-width: 900px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .trust-strip-item {
    gap: 8px;
  }
  .trust-strip-label {
    font-size: 0.8rem;
  }
}

/* Section Spacing */
.section {
  padding: 64px 0;
  background-color: #F0FDFA;
}

.section-alt {
  background-color: #FFFFFF;
}

/* Core Health Pillars (2-column on mobile, 4-column on desktop) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(15, 78, 74, 0.12);
  border-color: var(--primary);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
  background-color: var(--coral-light);
  color: var(--accent);
}

.pillar-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 16px;
  flex-grow: 1;
}

.pillar-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pillar-link:hover {
  color: var(--accent);
  gap: 8px;
}

/* Responsive Grid Rules: 2-column on mobile for 3-4 cards */
@media (max-width: 1023px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pillar-card {
    padding: 16px;
  }
  .pillar-card h3 {
    font-size: 1rem;
  }
  .pillar-card p {
    font-size: 0.825rem;
    line-height: 1.45;
  }
}

/* Editorial Spotlight Section */
.spotlight-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: var(--shadow-md);
}

.spotlight-image-col {
  position: relative;
  min-height: 320px;
}

.spotlight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.spotlight-title {
  font-size: 1.75rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.spotlight-summary {
  font-size: 1rem;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.spotlight-takeaways {
  background-color: var(--slate-50);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.spotlight-takeaways h5 {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.spotlight-takeaways p {
  font-size: 0.875rem;
  color: var(--slate-700);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }
  .spotlight-image-col {
    min-height: 240px;
    max-height: 280px;
  }
  .spotlight-content {
    padding: 24px;
  }
}

/* ==========================================================================
   UNIFIED PROFESSIONAL CARD-GRID SYSTEM
   3 Columns on Desktop, 2 Columns on Tablet, 1 Column on Mobile
   ========================================================================== */
.card-grid-system,
.articles-grid,
.cards-grid-3,
.reviews-grid-system,
.bulletin-grid-system {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .card-grid-system,
  .articles-grid,
  .cards-grid-3,
  .reviews-grid-system,
  .bulletin-grid-system {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .card-grid-system,
  .articles-grid,
  .cards-grid-3,
  .reviews-grid-system,
  .bulletin-grid-system {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Base Uniform Card Component */
.article-card,
.product-review-card,
.bulletin-card-item,
.team-member-grid-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.08), 0 1px 3px 0 rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  position: relative;
}

.article-card:hover,
.product-review-card:hover,
.bulletin-card-item:hover,
.team-member-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

/* Fixed-size thumbnail image (max height ~200-220px, object-fit: cover, rounded top corners) */
.card-thumb-wrap,
.article-thumb-wrapper,
.article-card-media,
.review-thumb-box {
  position: relative;
  width: 100%;
  height: 210px;
  min-height: 200px;
  max-height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

.card-thumb-img,
.article-thumb,
.article-card-media img,
.review-thumb {
  width: 100%;
  height: 210px;
  min-height: 200px;
  max-height: 220px;
  object-fit: cover;
  display: block;
  text-indent: -9999px;
  transition: transform 0.35s ease;
}

.card-thumb-img.fallback-applied,
.article-thumb.fallback-applied {
  object-fit: cover;
  background-color: #f1f5f9;
}

.card-author-avatar.fallback-applied,
.reviewer-avatar.fallback-applied,
.board-member-photo.fallback-applied,
.reviewer-bio-photo.fallback-applied {
  object-fit: cover;
  background-color: #e2e8f0;
}

.article-card:hover .card-thumb-img,
.article-card:hover .article-thumb,
.article-card:hover .article-card-media img,
.product-review-card:hover .card-thumb-img,
.bulletin-card-item:hover .card-thumb-img,
.team-member-grid-card:hover .card-thumb-img {
  transform: scale(1.04);
}

/* Small Category Badge overlaid on the top-left of the image */
.card-badge-overlay,
.article-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  color: var(--white);
  background-color: rgba(19, 78, 74, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.card-badge-overlay.badge-alert {
  background-color: rgba(185, 28, 28, 0.94);
}

.card-badge-overlay.badge-trial {
  background-color: rgba(249, 115, 22, 0.95);
}

.card-badge-overlay.badge-review {
  background-color: rgba(15, 118, 110, 0.95);
}

/* Review score overlay badge on top-right of image */
.card-score-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background-color: rgba(19, 78, 74, 0.95);
  backdrop-filter: blur(4px);
  color: #FDBA74;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 4px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.card-score-overlay span {
  font-size: 0.675rem;
  color: #CCFBF1;
  font-weight: 500;
}

/* Card Body with consistent 16-20px padding (18px) */
.card-body,
.article-body,
.article-card-body,
.review-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Meta row: "Updated [date] · X min read" in small gray text */
.card-meta-row,
.article-meta,
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  color: var(--slate-500);
  margin-bottom: 8px;
  font-weight: 500;
}

.card-meta-row span.bullet-sep,
.article-meta span.bullet-sep {
  color: var(--slate-300);
}

/* Bold headline (max 2 lines, truncated with ellipsis if longer) */
.card-headline,
.article-title,
.review-product-name {
  font-size: 1.075rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--slate-900);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.7em;
}

.card-headline a,
.article-title a,
.review-product-name a {
  color: var(--slate-900);
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-headline a:hover,
.article-title a:hover,
.review-product-name a:hover {
  color: var(--primary);
}

/* Short excerpt (max 2-3 lines, truncated) */
.card-excerpt,
.article-snippet,
.article-excerpt {
  font-size: 0.865rem;
  line-height: 1.5;
  color: var(--slate-600);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

/* Author row at bottom: small circular avatar + name + credentials */
.card-author-row,
.article-footer,
.article-reviewer-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

.card-author-avatar,
.reviewer-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary-light);
  flex-shrink: 0;
}

.card-author-info,
.reviewer-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-author-name,
.reviewer-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.card-author-creds,
.reviewer-role {
  font-size: 0.725rem;
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

/* Review Subscore / Highlights inside card */
.card-highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.card-highlight-pill {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: var(--slate-100);
  color: var(--slate-700);
}

.card-highlight-pill.pill-verified {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Review Cards with Rating Score */
.review-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-thumb-box {
  position: relative;
  height: 190px;
  background-color: #f8fafc;
}

.review-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-dark);
  color: #FDBA74;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-score-badge span {
  font-size: 0.7rem;
  color: #CCFBF1;
  font-weight: 500;
}

.review-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.review-product-name {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.review-verdict-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
}

.review-pros-cons {
  background-color: var(--slate-50);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
  font-size: 0.825rem;
}

.pro-item {
  color: var(--emerald);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.con-item {
  color: var(--amber);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Medical Advisory Board Preview Grid */
.board-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.board-member-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.board-member-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.board-member-photo {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  margin: 0 auto 14px;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.board-member-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.board-member-creds {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.board-member-affil {
  font-size: 0.775rem;
  color: var(--slate-500);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .board-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .board-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .board-member-card {
    padding: 14px;
  }
  .board-member-photo {
    width: 70px;
    height: 70px;
  }
}

/* Newsletter Strip */
.newsletter-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 48px 0;
  border-radius: var(--radius-lg);
  margin: 40px 0;
}

.newsletter-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.newsletter-content h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: var(--white);
  font-size: 0.95rem;
  color: var(--slate-800);
}

.newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

@media (max-width: 540px) {
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .btn {
    width: 100%;
  }
}

/* ==========================================================================
   PAGE HERO / BANNER FOR INNER PAGES
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: #F0FDFA;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(253, 186, 116, 0.18) 0%, transparent 40%);
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--slate-200);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 14px;
}

.breadcrumb-list li a {
  color: var(--slate-600);
}

.breadcrumb-list li a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--slate-400);
}

.page-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.page-lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 780px;
  line-height: 1.6;
}

/* Filter Bar & Interactive Controls */
.filter-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 32px;
  scrollbar-width: none;
}

.filter-tabs-bar::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 8px 16px;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--slate-400);
  color: var(--primary);
}

.filter-tab.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

/* Search Box in Page */
.page-search-wrapper {
  position: relative;
  max-width: 440px;
  margin-bottom: 24px;
}

.page-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background-color: var(--white);
  font-size: 0.9375rem;
  color: var(--slate-800);
  transition: var(--transition);
}

.page-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
  outline: none;
}

.search-icon-inside {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */
.about-grid-2col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-story-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-story-text p {
  margin-bottom: 1.25rem;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

@media (max-width: 860px) {
  .about-grid-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Why Trust Us / 4-Stage Protocol Grid */
.trust-protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.protocol-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.protocol-step-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-200);
}

.protocol-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.protocol-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.55;
}

@media (max-width: 1023px) {
  .trust-protocol-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .trust-protocol-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .protocol-card {
    padding: 16px;
  }
  .protocol-step-num {
    font-size: 1.3rem;
  }
}

/* Medical Reviewers Team Cards */
.reviewer-bio-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.reviewer-bio-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.reviewer-bio-photo {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.reviewer-bio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.reviewer-title-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.reviewer-credentials-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.cred-pill {
  font-size: 0.725rem;
  background-color: var(--slate-100);
  color: var(--slate-700);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.reviewer-bio-text {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

@media (max-width: 680px) {
  .reviewer-bio-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .reviewer-bio-photo {
    width: 80px;
    height: 80px;
  }
}

/* Trust Badges Grid */
.trust-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-badge-item {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trust-badge-icon-circ {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.trust-badge-icon-circ svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-badge-title {
  font-size: 0.925rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.trust-badge-desc {
  font-size: 0.785rem;
  color: var(--slate-500);
}

@media (max-width: 768px) {
  .trust-badges-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-800);
  background-color: var(--white);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

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

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(15, 118, 110, 0.15);
}

.contact-icon-box svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-text h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-text p, .contact-text a {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.45;
}

/* Interactive Map Simulation Box */
.office-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.map-placeholder-header {
  padding: 14px 18px;
  background-color: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-800);
}

.map-visual-container {
  position: relative;
  height: 220px;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-pin-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(204, 251, 241, 0.3);
}

.map-pin-overlay svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Toast Notification for Form */
.toast-notice {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.toast-notice.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--emerald-light);
  border: 1px solid var(--emerald);
  color: #065f46;
}

/* ==========================================================================
   BULLETIN & REVIEWS COMPARISON TABLES & ELEMENTS
   ========================================================================== */
.bulletin-card-featured {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.bulletin-dispatch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 14px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.citation-box {
  background-color: var(--slate-50);
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
  font-size: 0.825rem;
  color: var(--slate-600);
}

.citation-title {
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 4px;
}

/* ==========================================================================
   FOOTER (100% IDENTICAL ACROSS EVERY SINGLE PAGE - STRICT REQUIREMENT)
   ========================================================================== */
.site-footer {
  background-color: #134E4A; /* Primary dark #134E4A */
  color: #CCFBF1;
  margin-top: auto;
  border-top: 4px solid var(--accent); /* Warm Coral #F97316 */
  font-size: 0.9rem;
}

.footer-top {
  padding: 60px 0 40px;
}

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

.footer-col-brand .brand-name {
  color: var(--white);
}

.footer-col-brand .brand-domain {
  color: #FDBA74;
}

.footer-tagline {
  margin: 14px 0 20px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #CCFBF1;
}

.footer-accreditations {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-accred-seal {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(204, 251, 241, 0.25);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: #E6FFFA;
}

.footer-col-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list li a {
  color: #CCFBF1;
  transition: var(--transition);
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #FDBA74;
  transform: translateX(2px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #CCFBF1;
}

.footer-contact-item a:hover {
  color: var(--white);
}

/* Footer Medical Disclaimer Bar */
.footer-disclaimer-bar {
  background-color: #0F3F3C;
  border-top: 1px solid rgba(204, 251, 241, 0.15);
  border-bottom: 1px solid rgba(204, 251, 241, 0.15);
  padding: 18px 0;
}

.footer-disclaimer-text {
  font-size: 0.775rem;
  color: #99F6E4;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-disclaimer-text strong {
  color: #FFFFFF;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #0B312E;
  padding: 22px 0;
  font-size: 0.8125rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: #99F6E4;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-legal-links li a {
  color: #CCFBF1;
}

.footer-legal-links li a:hover {
  color: #FDBA74;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CCFBF1;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Footer Responsive Breakpoints */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-legal-links {
    gap: 12px;
  }
}

/* ==========================================================================
   CLINICAL SERVICES & HEALTH TOPICS COMPONENT STYLES
   Full responsiveness, accessible contrast, mobile-first design
   ========================================================================== */
.services-highlight-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.highlight-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: currentColor;
  flex-shrink: 0;
}

/* Clinical Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Service Card Design */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(15, 118, 110, 0.16), 0 4px 8px -2px rgba(15, 118, 110, 0.08);
  border-color: var(--primary);
}

.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  background-color: rgba(15, 118, 110, 0.95);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.service-badge.badge-accent {
  background-color: rgba(249, 115, 22, 0.95);
}

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

.service-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-meta-pill {
  background-color: var(--primary-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 18px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.service-features-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.service-physician-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-physician-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1.5px solid var(--border-color);
}

.service-physician-meta {
  display: flex;
  flex-direction: column;
}

.service-physician-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

.service-physician-title {
  font-size: 0.725rem;
  color: var(--slate-500);
}

.btn-service-action {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-service-action:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 0 12px rgba(15, 118, 110, 0.35);
  color: var(--white);
  transform: translateY(-1px);
}

/* Clinical Care Pathway Grid (4 Steps) */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 1024px) {
  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 580px) {
  .pathway-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.pathway-step-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pathway-step-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pathway-step-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(15, 118, 110, 0.12);
  line-height: 1;
}

.pathway-icon-wrapper {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.pathway-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.pathway-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.pathway-step-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Service FAQs Grid */
.service-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .service-faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.faq-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Consultation & Service Request Modal */
.service-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-dialog {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px -10px rgba(15, 78, 74, 0.35);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px;
  position: relative;
}

.service-modal-backdrop.active .service-modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-600);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.modal-header {
  margin-bottom: 24px;
  padding-right: 32px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 520px) {
  .modal-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-modal-dialog {
    padding: 24px 18px;
  }
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background-color: var(--white);
  font-size: 16px; /* Prevents auto-zoom on mobile */
  color: var(--slate-800);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.modal-submit-row {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-submit-row .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
}

.modal-privacy-note {
  font-size: 0.775rem;
  color: var(--slate-500);
  text-align: center;
  line-height: 1.4;
}

/* General Responsiveness Enhancements */
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .services-highlight-strip {
    justify-content: flex-start;
  }
  .highlight-pill {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-domain {
    font-size: 0.65rem;
  }
  .topbar-badge {
    font-size: 0.725rem;
  }
}

/* Mobile / Small screen sizes ke liye horizontal scroll */
@media (max-width: 768px) {
  .pathway-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    
    /* Extra spacing & padding adjustment */
    gap: 16px;
    padding-bottom: 12px; /* Scrollbar ke liye thoda space */
  }

  .pathway-step-card {
    /* Hard width fixing taaki cards shrink na ho */
    flex: 0 0 85%; /* Card ki width screen ki 85% rahegi (next card thoda dikhega) */
    max-width: 320px; /* Optional: Upper limit for card width */
    scroll-snap-align: start; /* Smooth snapping effect */
  }

  /* Custom Scrollbar Styling (Optional) */
  .pathway-grid::-webkit-scrollbar {
    height: 6px;
  }

  .pathway-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .pathway-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
}
/* Small screen sizes ke liye trust-protocol-grid par horizontal scroll */
@media (max-width: 768px) {
  .trust-protocol-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    
    /* Spacing aur padding */
    gap: 16px;
    padding-bottom: 12px;
  }

  .protocol-card {
    /* Cards ki fix width taaki wo compress na ho aur scroll ho sakein */
    flex: 0 0 85%; /* Screen ka 85% width lega, next card thoda dikhega */
    max-width: 320px;
    scroll-snap-align: start; /* Smooth snapping effect */
  }

  /* Custom Scrollbar Styling (Optional) */
  .trust-protocol-grid::-webkit-scrollbar {
    height: 6px;
  }

  .trust-protocol-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .trust-protocol-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
}
/* Small screen sizes ke liye reviewer bio cards par horizontal scroll */
@media (max-width: 768px) {
  /* Inline grid ko override karne ke liye id ya parent container target karein */
  #medicalReviewBoard .container > div[style*="display: grid"],
  .section-alt .container > div[style*="display: grid"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    
    /* Spacing aur padding */
    gap: 16px !important;
    padding-bottom: 12px;
  }

  .reviewer-bio-card {
    /* Cards ki fix width taaki wo compress na ho aur scroll ho sakein */
    flex: 0 0 85% !important; /* Screen ka 85% width lega, next card thoda dikhega */
    max-width: 320px;
    scroll-snap-align: start; /* Smooth snapping effect */
  }

  /* Custom Scrollbar Styling (Optional) */
  #medicalReviewBoard .container > div[style*="display: grid"]::-webkit-scrollbar,
  .section-alt .container > div[style*="display: grid"]::-webkit-scrollbar {
    height: 6px;
  }

  #medicalReviewBoard .container > div[style*="display: grid"]::-webkit-scrollbar-track,
  .section-alt .container > div[style*="display: grid"]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  #medicalReviewBoard .container > div[style*="display: grid"]::-webkit-scrollbar-thumb,
  .section-alt .container > div[style*="disable: grid"]::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  /* Button wrapper container ko proper margin aur centering dene ke liye */
  div[style*="text-align: center"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 24px !important;
    padding: 0 16px !important; /* Screen edges se gap ke liye */
    box-sizing: border-box !important;
  }

  /* Button ki styling taaki wo small screen par stretch ya overflow na ho */
  .btn.btn-secondary {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
    white-space: normal !important; /* Agar text lamba ho toh wrap ho jaye */
    word-break: break-word;
  }
}
/* Hero image wrapper aur frame ko large screens par bada karne ke liye */
@media (min-width: 769px) {
  .hero-image-wrapper {
    max-width: 450px !important; /* Apni zaroorat ke hisaab se width adjust kar sakte hain */
    width: 100% !important;
  }

  .hero-image-frame {
    width: 100% !important;
    height: auto !important;
    min-height: 480px !important; /* Frame ki height badhane ke liye */
  }

  .hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Image proportion kharaab hue bina properly fit hogi */
  }
}