/* ==========================================================================
   PROF. DR. MOHAMMAD SERAJUS SALEHEEN - OFFICIAL WEBSITE
   Design Language: Luxury British Consultant Aesthetic (Inspired by Rob Pollock)
   Color Palette: Deep Royal Navy, Champagne Gold, Pure Clinical White, Ice Slate
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy-950: #051322;
  --navy-900: #0b1f36;
  --navy-850: #0e2744;
  --navy-800: #133256;
  --navy-700: #1b4270;
  --navy-600: #255a96;
  
  --gold-500: #c59b27;
  --gold-400: #d8af3a;
  --gold-600: #a7801a;
  --gold-100: #fbf5e6;
  --gold-gradient: linear-gradient(135deg, #dfb443 0%, #b8860b 100%);
  
  --teal-700: #096875;
  --teal-600: #0d8797;
  --teal-100: #e4f4f7;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  
  --white: #ffffff;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 31, 54, 0.06), 0 1px 2px rgba(11, 31, 54, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 31, 54, 0.08), 0 2px 4px rgba(11, 31, 54, 0.04);
  --shadow-lg: 0 12px 28px rgba(11, 31, 54, 0.12), 0 4px 8px rgba(11, 31, 54, 0.06);
  --shadow-xl: 0 24px 48px rgba(11, 31, 54, 0.16), 0 8px 16px rgba(11, 31, 54, 0.08);
  --shadow-gold: 0 8px 24px rgba(197, 155, 39, 0.28);
  
  /* Layout */
  --container-max: 1240px;
  --container-wide: 1360px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 8px;
  --border-radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--slate-800);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Utility & Common Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-sm {
  padding: 60px 0;
}

.bg-light {
  background-color: var(--slate-50);
}

.bg-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--white);
}

.bg-navy-dark {
  background-color: var(--navy-950);
  color: var(--white);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.eyebrow-teal {
  color: var(--teal-600);
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.bg-navy .section-subtitle {
  color: var(--slate-300);
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e9c35b 0%, #c59b27 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--navy-950);
}

.btn-outline {
  border-color: var(--navy-800);
  color: var(--navy-900);
  background-color: transparent;
}

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

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

.btn-outline-white:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-teal {
  background-color: var(--teal-600);
  color: var(--white);
}

.btn-teal:hover {
  background-color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Top Utility Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-item svg {
  color: var(--gold-400);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.top-bar-item a:hover {
  color: var(--gold-400);
}

.top-bar-highlight {
  color: var(--gold-400);
  font-weight: 600;
}

.emergency-pill {
  background-color: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.emergency-pill:hover {
  background-color: rgba(220, 38, 38, 0.35);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Main Navigation Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(11, 31, 54, 0.06);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

/* Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 3px;
}

.brand-affil {
  font-family: var(--font-sans);
  font-size: 0.71875rem;
  color: var(--slate-600);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.90625rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-900);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold-500);
  transition: width 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Hero Section (Rob Pollock Signature Layout)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #071626 0%, #0d2847 60%, #103359 100%);
  color: var(--white);
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero-pattern-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgba(197, 155, 39, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.14;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -0.015em;
}

.hero-title span {
  color: var(--gold-400);
  font-style: italic;
}

.hero-lead {
  font-size: 1.1875rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

/* Credential Pills */
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.cred-pill {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.84375rem;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cred-pill svg {
  color: var(--gold-400);
  width: 14px;
  height: 14px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-hotline-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-hotline-strip strong {
  color: var(--white);
}

.hero-hotline-link {
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-hotline-link:hover {
  text-decoration: underline;
}

/* Hero Portrait Visual */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(197, 155, 39, 0.35);
  background-color: var(--navy-850);
}

.hero-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 72% 20%;
  transition: transform 0.6s ease;
}

.hero-frame:hover img {
  transform: scale(1.02);
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  background: rgba(11, 31, 54, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 155, 39, 0.4);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.floating-card-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.floating-card-title {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 4px;
}

.floating-card-sub {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   Key Stats / Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background-color: var(--navy-950);
  border-top: 1px solid rgba(197, 155, 39, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.stat-detail {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   Profile & Philosophy Section
   -------------------------------------------------------------------------- */
.about-overview-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-image-card {
  position: relative;
}

.about-main-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -24px;
  right: 24px;
  background: var(--navy-900);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--border-radius);
  border: 2px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
  max-width: 240px;
}

.exp-years {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.exp-text {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.35;
}

.about-text-content h2 {
  font-size: 2.375rem;
  margin-bottom: 22px;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy-800);
  border-left: 3px solid var(--gold-500);
  padding-left: 20px;
  margin: 24px 0 26px;
  line-height: 1.5;
}

.about-credentials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 34px;
}

.cred-box {
  background-color: var(--white);
  padding: 16px;
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 12px;
}

.cred-box-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-box-title {
  font-weight: 700;
  font-size: 0.90625rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.cred-box-desc {
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Core Clinical Pillars (Specialisms Grid)
   -------------------------------------------------------------------------- */
.specialisms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.specialism-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.specialism-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--slate-200);
  transition: var(--transition);
}

.specialism-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--slate-300);
}

.specialism-card:hover::before {
  background: var(--gold-gradient);
}

.specialism-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  margin-bottom: 24px;
  transition: var(--transition);
}

.specialism-card:hover .specialism-icon-wrap {
  background-color: var(--navy-900);
  color: var(--gold-400);
  border-color: var(--navy-900);
}

.specialism-card h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.specialism-card p {
  font-size: 0.90625rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.specialism-points {
  margin-bottom: 24px;
  border-top: 1px dashed var(--slate-200);
  padding-top: 16px;
}

.specialism-points li {
  font-size: 0.8125rem;
  color: var(--slate-700);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.specialism-points li svg {
  color: var(--gold-500);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  transition: transform 0.25s ease;
}

.card-link:hover {
  color: var(--gold-600);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Feature Deep-Dive: Limb Salvage & Megaprosthesis
   -------------------------------------------------------------------------- */
.megaprosthesis-spotlight {
  background: linear-gradient(to bottom, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
}

.megaprosthesis-spotlight .section-header h2 {
  color: var(--white);
}

.megaprosthesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.mega-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  transition: var(--transition);
}

.mega-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(197, 155, 39, 0.5);
  transform: translateY(-4px);
}

.mega-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}

.mega-card h3 {
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 14px;
}

.mega-card p {
  font-size: 0.90625rem;
  color: var(--slate-300);
  margin-bottom: 20px;
  line-height: 1.6;
}

.mega-features {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  margin-bottom: 22px;
}

.mega-features li {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-features li svg {
  color: var(--teal-600);
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Clinical Cases & 3D Planning Gallery
   -------------------------------------------------------------------------- */
.case-gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-card-img-wrap {
  position: relative;
  height: 280px;
  background-color: #000;
  overflow: hidden;
}

.case-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.case-card:hover .case-card-img-wrap img {
  transform: scale(1.04);
}

.case-type-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 31, 54, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: var(--gold-400);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}

.case-card-body {
  padding: 22px;
}

.case-card-title {
  font-size: 1.1875rem;
  margin-bottom: 8px;
}

.case-card-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 16px;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   Patient Treatment Pathway (Roadmap)
   -------------------------------------------------------------------------- */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 50px;
}

.pathway-step {
  background-color: var(--white);
  padding: 30px 22px;
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-200);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pathway-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 12px;
}

.pathway-title {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--navy-900);
}

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

/* --------------------------------------------------------------------------
   Chambers & Hospital Affiliations (Rob Pollock Practice Suite Layout)
   -------------------------------------------------------------------------- */
.chamber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.chamber-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chamber-card-header {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chamber-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
}

.chamber-card-body {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.chamber-name {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.chamber-info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.90625rem;
  color: var(--slate-700);
}

.chamber-info-row svg {
  color: var(--navy-700);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.visiting-badge {
  background-color: var(--gold-100);
  border-left: 3px solid var(--gold-500);
  padding: 12px 16px;
  border-radius: 4px;
  margin: 14px 0 22px;
}

.visiting-badge strong {
  display: block;
  font-size: 0.875rem;
  color: var(--navy-950);
}

.visiting-badge span {
  font-size: 0.8125rem;
  color: var(--slate-700);
}

.chamber-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}

.phone-quick-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--slate-50);
  padding: 10px 16px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
}

.phone-quick-call:hover {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Interactive Consultation Booking Form
   -------------------------------------------------------------------------- */
.booking-section-wrapper {
  background: linear-gradient(135deg, #0b1f36 0%, #102a4a 100%);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.booking-form-info h3 {
  color: var(--white);
  font-size: 2.125rem;
  margin-bottom: 16px;
}

.booking-form-info p {
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 24px;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.14);
}

.form-control option {
  background-color: var(--navy-900);
  color: var(--white);
}

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

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--border-radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy-900);
  background-color: var(--white);
  user-select: none;
}

.faq-header svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  color: var(--gold-600);
  flex-shrink: 0;
}

.faq-item.active .faq-header svg {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--slate-600);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item.active .faq-body {
  padding: 0 24px 22px;
  max-height: 300px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  padding-top: 80px;
  border-top: 1px solid rgba(197, 155, 39, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--gold-500);
}

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

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  line-height: 1.45;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   Floating Quick Action Bar (Mobile & Desktop)
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  transition: var(--transition);
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-phone {
  background: var(--gold-gradient);
  color: var(--navy-950);
}

.float-emergency {
  background-color: #dc2626;
}

/* --------------------------------------------------------------------------
   Modal Window (Consultation Booking)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(5, 19, 34, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background-color: var(--navy-900);
  border: 1px solid rgba(197, 155, 39, 0.4);
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 6px;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .specialisms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-frame img {
    height: 400px;
  }
  .about-overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .chamber-grid {
    grid-template-columns: 1fr;
  }
  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .megaprosthesis-grid, .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .specialisms-grid {
    grid-template-columns: 1fr;
  }
  .pathway-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
