/* ===================================================================
   Massar Mental Health Clinic (massaronline.com)
   Official Design System & Stylesheet — Massar Signature Blue Theme
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Massar Signature Brand Theme: Royal River Blue & Clinical Precision */
  --primary: #155e96;
  --primary-hover: #0f4672;
  --primary-dark: #0c385c;
  --primary-light: #edf5fb;
  --primary-soft: rgba(21, 94, 150, 0.08);

  --accent-blue: #227cb9;
  --accent-cyan: #38bdf8;
  --accent-light: #e0f2fe;
  
  --secondary: #d97706;
  --secondary-hover: #b45309;
  --secondary-soft: rgba(217, 119, 6, 0.12);

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  --border-subtle: #e2e8f0;
  --border-focus: #155e96;

  --shadow-sm: 0 2px 8px rgba(15, 45, 80, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 45, 80, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 45, 80, 0.12);
  --shadow-hover: 0 20px 42px rgba(15, 45, 80, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
  --section-padding: 5.5rem;

  /* Aliases for clinician & card components */
  --color-primary: var(--primary);
  --text-primary: var(--text-main);
  --text-secondary: var(--text-muted);
}

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

img, svg {
  max-width: 100%;
}

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

body {
  font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* LTR override for English */
html[dir="ltr"] body {
  font-family: 'Plus Jakarta Sans', 'Cairo', system-ui, -apple-system, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.top-announcement {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  text-align: center;
}

.top-announcement a {
  text-decoration: underline;
  margin-inline-start: 0.5rem;
  font-weight: 700;
  color: #bae6fd;
}

.top-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}

.top-announcement-info {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.top-social-divider {
  opacity: 0.4;
  margin-inline: 0.25rem;
  user-select: none;
}

.top-social-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none !important;
  margin-inline-start: 0 !important;
  transition: all var(--transition-fast);
}

.top-social-link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.top-social-link:hover {
  transform: scale(1.18);
}

.top-social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(214, 36, 159, 0.4);
}

.top-social-link.facebook:hover {
  background: #1877f2;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.4);
}

.top-social-link.whatsapp:hover {
  background: #25d366;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.top-social-link.youtube:hover {
  background: #ff0000;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.45);
}

.top-social-link.tiktok:hover {
  background: #010101;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: -1px -1px 6px rgba(37, 244, 238, 0.5), 1px 1px 6px rgba(254, 44, 85, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2rem;
}

/* Brand Logo with Official Image */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-inline-end: 1.5rem;
}

.brand-logo-img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 155px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  transition: transform var(--transition-fast);
  display: block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-text-wrap {
  display: none !important;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding-block: 0.35rem;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Intermediate screen adjustments to prevent nav collisions */
@media (min-width: 1181px) and (max-width: 1340px) {
  .nav-menu {
    gap: 0.72rem;
  }
  .nav-link {
    font-size: 0.86rem;
  }
  .brand-text-wrap {
    display: none;
  }
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-book {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-blue) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(21, 94, 150, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 94, 150, 0.38);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--primary);
  border: 1.5px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
  color: #fff;
}

.btn-google-maps {
  background: #ea4335;
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.28);
}

.btn-google-maps:hover {
  background: #d93025;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.38);
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.25rem;
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, #e0f2fe 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, #edf5fb 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(21, 94, 150, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(34, 124, 185, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 124, 185, 0.5); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 124, 185, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 124, 185, 0); }
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.highlight-text {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Official Hero Cover Photo Banner */
.hero-cover-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(21, 94, 150, 0.14), 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--bg-surface);
  margin-bottom: 2.75rem;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-cover-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(21, 94, 150, 0.2);
}

.hero-cover-link {
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  line-height: 0;
}

.hero-cover-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2053 / 766;
  object-fit: cover;
  display: block;
}

/* Centered Hero Intro Content Below Cover */
.hero-content-row {
  margin-bottom: 3rem;
  text-align: center;
}

.hero-text-center {
  max-width: 820px;
  margin: 0 auto;
}

.hero-text-center .badge-pill {
  margin-inline: auto;
}

.hero-text-center .hero-title {
  margin-inline: auto;
}

.hero-text-center .hero-description {
  margin-inline: auto;
}

.hero-text-center .hero-cta-group {
  justify-content: center;
  align-items: center;
}

/* Hero Social Media Links Beside Booking Button */
.hero-social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.hero-social-btn svg {
  width: 17px;
  height: 17px;
  transition: transform var(--transition-fast);
}

.hero-social-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}

.hero-social-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.hero-social-btn.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.hero-social-btn.youtube:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.hero-social-btn.tiktok:hover {
  background: #010101;
  color: #ffffff;
  border-color: #334155;
  box-shadow: -2px -2px 8px rgba(37, 244, 238, 0.4), 2px 2px 8px rgba(254, 44, 85, 0.4);
}

@media (max-width: 640px) {
  .hero-social-links {
    margin-top: 0.25rem;
    padding: 0.3rem 0.5rem;
  }
  .hero-social-btn {
    width: 2.15rem;
    height: 2.15rem;
  }
  .hero-social-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* Hero Visual Showcase with Biophilic Artwork */
.hero-visual-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(21, 94, 150, 0.18), 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: var(--bg-surface);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(21, 94, 150, 0.22);
}

.hero-artwork-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-artwork-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 45, 80, 0.05) 0%, rgba(15, 45, 80, 0.32) 100%);
  pointer-events: none;
}

/* Floating Glassmorphic Badges on Hero Image */
.floating-artwork-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  z-index: 2;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.floating-artwork-badge.top-start {
  top: 1.25rem;
  inset-inline-start: 1.25rem;
}

.floating-artwork-badge.bottom-end {
  bottom: 1.25rem;
  inset-inline-end: 1.25rem;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.float-badge-icon {
  font-size: 1.25rem;
}

.float-badge-text {
  display: flex;
  flex-direction: column;
}

.float-badge-text strong {
  font-size: 0.84rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.float-badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Reassuring Quote Bar below Hero Image */
.hero-quote-bar {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-inline-start: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.hero-quote-bar p {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.65;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Statistics Ribbon */
.stats-ribbon {
  margin-top: 2rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  inset-inline-end: 0;
  width: 1px;
  background-color: var(--border-subtle);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ===================================================================
   Sections General
   =================================================================== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

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

/* ===================================================================
   Dedicated Subpage Hero Banner & Breadcrumbs
   =================================================================== */
.page-hero-banner {
  background: radial-gradient(circle at 85% 20%, #e0f2fe 0%, transparent 60%),
              linear-gradient(180deg, #edf5fb 0%, var(--bg-page) 100%);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.breadcrumb-nav a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.5;
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--text-muted);
  font-weight: 700;
}

.page-hero-header {
  max-width: 820px;
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.page-hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===================================================================
   Home Gateway Portal Teasers
   =================================================================== */
.portal-teasers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.portal-teaser-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.portal-teaser-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.portal-teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 94, 150, 0.35);
}

.portal-teaser-card:hover::before {
  opacity: 1;
}

.teaser-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(21, 94, 150, 0.12);
}

.portal-teaser-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.portal-teaser-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.teaser-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.portal-teaser-card:hover .teaser-action-link {
  gap: 0.75rem;
}

/* ===================================================================
   Why Us / Sanctuary Showcase Layout
   =================================================================== */
.why-section {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.why-showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.sanctuary-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 45, 80, 0.12);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.sanctuary-image-card.ambience-img-wrap {
  aspect-ratio: auto;
}

.sanctuary-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform var(--transition-smooth);
}

.sanctuary-image-card:hover .sanctuary-img {
  transform: scale(1.02);
}

.sanctuary-caption {
  position: absolute;
  bottom: 1.25rem;
  inset-inline: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.sanctuary-caption .caption-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sanctuary-caption strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.sanctuary-caption p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

.why-pillars-col .pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.35rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.pillar-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.pillar-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   First Session Experience Section (أول 50 دقيقة في مسار)
   =================================================================== */
.first-session-section {
  padding-block: var(--section-padding, 5rem);
  background: linear-gradient(180deg, var(--bg-surface) 0%, #f0f7fc 50%, var(--bg-surface) 100%);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.session-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.session-stage-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.session-stage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-blue);
  border-top-color: var(--primary);
}

.stage-step-num {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.25rem;
  font-size: 2.25rem;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: rgba(21, 94, 150, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.stage-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.stage-icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  border: 1px solid rgba(21, 94, 150, 0.12);
}

.stage-time-pill {
  font-size: 0.76rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', monospace;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(21, 94, 150, 0.18);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px;
}

.stage-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stage-subtitle {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.session-stage-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.session-stage-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.stage-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.stage-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}

/* Trust Covenant Box */
.session-covenant-box {
  background: linear-gradient(135deg, #0d3b66 0%, #155e96 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3.5rem;
  box-shadow: 0 16px 36px rgba(13, 59, 102, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.covenant-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.covenant-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.covenant-intro h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.covenant-intro p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.covenant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.covenant-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition-smooth);
}

.covenant-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.covenant-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.covenant-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.covenant-text p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

/* First Session CTA Banner */
.session-cta-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.session-cta-info {
  flex: 1 1 400px;
}

.session-cta-info h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.session-cta-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.session-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive adjustments for First Session */
@media (max-width: 1024px) {
  .session-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .covenant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .session-timeline-grid {
    grid-template-columns: 1fr;
  }

  .covenant-grid {
    grid-template-columns: 1fr;
  }

  .session-covenant-box {
    padding: 1.75rem 1.25rem;
  }

  .session-cta-banner {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .session-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .session-cta-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ===================================================================
   Services Showcase
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 94, 150, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.service-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary);
}

.service-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-points {
  list-style: none;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-subtle);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.service-points li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-action-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.service-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ===================================================================
   Interactive Self-Triage Wizard Section
   =================================================================== */
.triage-section {
  padding-block: var(--section-padding, 5rem);
  background: linear-gradient(180deg, var(--bg-surface) 0%, #f0f7fc 45%, var(--bg-page) 100%);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.triage-wizard-card {
  max-width: 940px;
  margin: 2.5rem auto 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 45, 80, 0.08);
  overflow: hidden;
  position: relative;
}

.triage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1.5rem;
}

.triage-back-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}

.triage-back-btn:hover {
  background: var(--bg-surface);
  color: var(--primary);
  border-color: var(--primary);
}

.triage-progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}

.triage-progress-track {
  flex: 1;
  max-width: 240px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.triage-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.triage-step-counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', system-ui;
}

.triage-body {
  padding: 2.75rem 2.5rem;
  min-height: 400px;
  position: relative;
}

.triage-step-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.triage-step-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-pane-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.step-question {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.step-hint {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.triage-options-grid {
  display: grid;
  gap: 1.15rem;
}

.triage-options-grid.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.triage-options-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.triage-options-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.triage-option-card {
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.45rem 1.25rem;
  text-align: start;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  width: 100%;
  font-family: inherit;
}

.triage-option-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(21, 94, 150, 0.1);
  background: #fbfdff;
}

.triage-option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(21, 94, 150, 0.15);
}

.option-icon-wrap {
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.option-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.option-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Results View */
.triage-result-card {
  display: flex;
  flex-direction: column;
}

.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.result-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
}

.btn-restart-triage {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-restart-triage:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

.result-track-header {
  background: linear-gradient(135deg, rgba(21, 94, 150, 0.08) 0%, rgba(56, 189, 248, 0.12) 100%);
  border: 1px solid rgba(21, 94, 150, 0.2);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem;
  margin-bottom: 1.5rem;
}

.result-track-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
  display: block;
  margin-bottom: 0.4rem;
}

.result-track-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.result-pills-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-pill-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.result-pill-box .pill-label {
  font-size: 0.76rem;
  color: var(--text-light);
  font-weight: 600;
}

.result-pill-box .pill-value {
  font-size: 0.96rem;
  color: var(--primary-dark);
  font-weight: 800;
}

.result-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.insight-card {
  display: flex;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.insight-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.insight-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.insight-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.result-actions-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-triage-book {
  flex: 1 1 280px;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
}

.btn-triage-wa {
  flex: 1 1 280px;
  justify-content: center;
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
}

.btn-triage-wa:hover {
  background: #1eb857;
  color: #ffffff;
  border-color: #1eb857;
}

.triage-disclaimer {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.55;
  margin-top: 0.5rem;
}

/* Responsive Triage */
@media (max-width: 860px) {
  .triage-options-grid.grid-3,
  .triage-options-grid.grid-4 {
    grid-template-columns: 1fr;
  }

  .result-pills-row,
  .result-insights-grid {
    grid-template-columns: 1fr;
  }

  .triage-body {
    padding: 1.75rem 1.25rem;
  }

  .step-question {
    font-size: 1.18rem;
  }

  .triage-topbar {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .triage-options-grid.grid-2 {
    grid-template-columns: 1fr;
  }

  .result-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-triage-book,
  .btn-triage-wa {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   Clinicians & Medical Team Section (فريق أطباء مسار)
   =================================================================== */
.team-section {
  padding-block: var(--section-padding, 5.5rem);
  background: var(--bg-surface);
  position: relative;
}

/* Team Live Search & Format Controls */
.team-search-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 2rem 0 1.25rem 0;
  flex-wrap: wrap;
}

.team-search-box {
  position: relative;
  flex: 1 1 360px;
  display: flex;
  align-items: center;
}

.team-search-icon {
  position: absolute;
  right: 1.15rem;
  color: var(--text-light);
  pointer-events: none;
}

html[dir="ltr"] .team-search-icon {
  right: auto;
  left: 1.15rem;
}

.team-search-input {
  width: 100%;
  padding: 0.85rem 3.25rem 0.85rem 1.25rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-surface);
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

html[dir="ltr"] .team-search-input {
  padding: 0.85rem 1.25rem 0.85rem 3.25rem;
}

.team-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(21, 94, 150, 0.12);
}

.team-search-clear-btn {
  position: absolute;
  left: 1rem;
  background: var(--bg-muted);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
}

html[dir="ltr"] .team-search-clear-btn {
  left: auto;
  right: 1rem;
}

.team-format-pills {
  display: inline-flex;
  background: var(--bg-muted);
  padding: 4px;
  border-radius: var(--radius-full, 9999px);
  gap: 4px;
}

.team-format-pill {
  border: none;
  background: transparent;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.team-format-pill:hover {
  color: var(--text-main);
}

.team-format-pill.active {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.team-reassurance-strip {
  background: linear-gradient(135deg, rgba(21, 94, 150, 0.06) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1px solid rgba(21, 94, 150, 0.18);
  border-radius: var(--radius-md, 14px);
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.team-reassurance-strip .trs-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.team-reassurance-strip .trs-body strong {
  color: var(--color-primary);
  font-size: 0.93rem;
  margin-inline-end: 0.5rem;
}

.team-reassurance-strip .trs-body span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .team-search-filter-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .team-format-pills {
    justify-content: center;
    overflow-x: auto;
    width: 100%;
  }
  .team-format-pill {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    flex: 1;
    text-align: center;
  }
}

.team-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.team-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  background: var(--bg-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.team-filter-btn:hover {
  background: var(--bg-surface);
  color: var(--color-primary);
  border-color: rgba(27, 85, 155, 0.3);
  transform: translateY(-1px);
}

.team-filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(27, 85, 155, 0.28);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

.clinician-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.5rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(18, 43, 82, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  position: relative;
}

.clinician-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(21, 94, 150, 0.14);
  border-color: rgba(21, 94, 150, 0.32);
}

.clinician-card.is-hidden {
  display: none !important;
}

.clinician-card.fade-in {
  animation: fadeInCard 0.35s ease forwards;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clinician-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
  margin-bottom: 1.5rem;
}

.clinician-avatar-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  flex-shrink: 0;
}

.clinician-avatar-box {
  width: 150px;
  height: 150px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #e8f0fe, #d2e3fc);
  border: 3.5px solid #ffffff;
  box-shadow: 0 12px 28px rgba(21, 94, 150, 0.16), 0 0 0 1.5px rgba(21, 94, 150, 0.15);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.clinician-card:hover .clinician-avatar-box {
  transform: scale(1.03);
}

.clinician-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* Clickable Clinician Avatar Photo Styles */
.clinician-avatar-box.has-photo,
.clinician-avatar-box:has(.clinician-avatar-img) {
  cursor: pointer;
  cursor: zoom-in;
}

.clinician-avatar-box.has-photo:hover,
.clinician-avatar-box:has(.clinician-avatar-img):hover {
  transform: scale(1.06);
  box-shadow: 0 16px 36px rgba(27, 85, 155, 0.28), 0 0 0 2.5px var(--color-primary);
}

.clinician-avatar-box.has-photo:focus-visible,
.clinician-avatar-box:has(.clinician-avatar-img):focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  transform: scale(1.05);
}

.clinician-avatar-box.has-photo::after,
.clinician-avatar-box:has(.clinician-avatar-img)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3Cline x1='11' y1='8' x2='11' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E") no-repeat center center;
  opacity: 0;
  transition: opacity 0.22s ease-in-out;
  pointer-events: none;
  border-radius: inherit;
}

.clinician-avatar-box.has-photo:hover::after,
.clinician-avatar-box:has(.clinician-avatar-img):hover::after {
  opacity: 1;
}

.clinician-avatar-monogram {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -1px;
}

.clinician-avatar-box.avatar-therapy {
  background: linear-gradient(135deg, #e6f4ea, #ceead6);
  border-color: #ffffff;
  box-shadow: 0 12px 28px rgba(19, 115, 51, 0.16), 0 0 0 1.5px rgba(19, 115, 51, 0.15);
}

.clinician-avatar-box.avatar-child {
  background: linear-gradient(135deg, #fef7e0, #feefc3);
  border-color: #ffffff;
  box-shadow: 0 12px 28px rgba(249, 171, 0, 0.16), 0 0 0 1.5px rgba(249, 171, 0, 0.18);
}

.clinician-avatar-box.avatar-couples {
  background: linear-gradient(135deg, #fce8e6, #fad2cf);
  border-color: #ffffff;
  box-shadow: 0 12px 28px rgba(217, 48, 37, 0.16), 0 0 0 1.5px rgba(217, 48, 37, 0.15);
}

.verified-badge {
  position: absolute;
  inset-inline-end: -6px;
  inset-block-end: -6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0d9488;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.clinician-identity {
  width: 100%;
  text-align: center;
}

.clinician-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.clinician-role {
  display: inline-block;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(21, 94, 150, 0.08);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(21, 94, 150, 0.12);
}

.credentials-badge {
  display: block;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.focus-tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.focus-tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.32rem 0.85rem;
  border-radius: 9999px;
  background: rgba(21, 94, 150, 0.06);
  color: var(--color-primary);
  border: 1px solid rgba(21, 94, 150, 0.15);
  white-space: nowrap;
}

.clinician-bio {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  text-align: justify;
}

.philosophy-quote {
  background: linear-gradient(135deg, rgba(21, 94, 150, 0.03) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-inline-start: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.philosophy-quote .quote-mark {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.35;
  display: inline-block;
  vertical-align: middle;
  margin-inline-end: 0.35rem;
}

.philosophy-quote p {
  display: inline;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: normal;
}

.clinician-meta-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-block: 0.85rem;
  border-block: 1px dashed var(--border-subtle);
  margin-bottom: 1.4rem;
  font-size: 0.86rem;
}

.clinician-meta-row .meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.clinician-meta-row .meta-label {
  color: var(--text-muted);
  font-weight: 600;
}

.clinician-meta-row .meta-val {
  color: var(--text-primary);
  font-weight: 600;
}

.clinician-card-footer {
  margin-top: auto;
}

.btn-book-doctor {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(21, 94, 150, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-book-doctor:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 94, 150, 0.32);
  color: #ffffff;
  text-decoration: none;
}

/* Pagination & Navigation Bar for Team Showcase */
.team-pagination-wrapper {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.team-pagination-info {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pagination-count-badge {
  background: #ffffff;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(18, 43, 82, 0.04);
  color: var(--color-primary);
  display: inline-block;
  font-weight: 700;
}

.team-pagination-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.5rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(18, 43, 82, 0.06);
}

.team-page-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: rgba(21, 94, 150, 0.08);
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.team-page-arrow:hover:not(:disabled) {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 94, 150, 0.25);
}

.team-page-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.team-page-arrow .arrow-symbol {
  font-size: 1.25rem;
  line-height: 1;
}

.team-page-numbers {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.team-page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: inherit;
}

.team-page-btn:hover {
  background: rgba(21, 94, 150, 0.08);
  color: var(--color-primary);
}

.team-page-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 94, 150, 0.3);
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .clinician-card {
    padding: 2rem 1.4rem;
  }

  .clinician-avatar-wrap,
  .clinician-avatar-box {
    width: 130px;
    height: 130px;
    border-radius: 28px;
  }

  .clinician-name {
    font-size: 1.38rem;
  }

  .team-filter-bar {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .team-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
  }

  .team-filter-btn.join-team-tab-btn .join-tab-icon {
    font-size: 1.7rem !important;
  }

  .team-pagination-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===================================================================
   Join Massar Team Tab Section & Google Form Integration
   =================================================================== */
.team-filter-btn.join-team-tab-btn {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(26, 115, 232, 0.12));
  color: var(--color-primary);
  border: 1.5px solid rgba(13, 148, 136, 0.4);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.45rem;
  font-size: 1rem;
}

.team-filter-btn.join-team-tab-btn .join-tab-text {
  display: inline-block;
  line-height: 1.2;
}

.team-filter-btn.join-team-tab-btn .join-tab-icon {
  font-size: 2rem !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.team-filter-btn.join-team-tab-btn:hover {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.22), rgba(26, 115, 232, 0.22));
  border-color: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.team-filter-btn.join-team-tab-btn:hover .join-tab-icon {
  transform: scale(1.2) rotate(-8deg);
}

.team-filter-btn.join-team-tab-btn.active {
  background: linear-gradient(135deg, #0d9488, var(--color-primary));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.team-filter-btn.join-team-tab-btn.active .join-tab-icon {
  transform: scale(1.15);
}

.join-team-section {
  max-width: 980px;
  margin: 0 auto;
}

.join-intro-box {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.join-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
}

.join-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.join-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.join-perk-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg, 18px);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.join-perk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(27, 85, 155, 0.08);
  border-color: rgba(27, 85, 155, 0.25);
}

.join-perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(13, 148, 136, 0.12));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.join-perk-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.join-perk-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* Google Form Card */
.google-form-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 12px 35px rgba(18, 43, 82, 0.06);
}

.google-form-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.google-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(26, 115, 232, 0.08);
  color: var(--color-primary);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.google-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.google-form-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.google-form-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #fbfcfe;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.google-form-wrapper iframe {
  width: 100%;
  min-height: 860px;
  border: 0;
  display: block;
  background: #ffffff;
}

/* Built-in Recruitment Quick Form */
.join-quick-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.join-quick-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.join-quick-form .form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.join-quick-form .required-star {
  color: #d93025;
}

.join-quick-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.join-quick-form .form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.btn-submit-recruit {
  align-self: center;
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  margin-top: 0.75rem;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.3);
}

.btn-submit-recruit .btn-arrow-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}

html[dir="ltr"] .btn-submit-recruit .btn-arrow-icon {
  transform: scaleX(-1);
}

.google-form-footer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-form-action {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 991px) {
  .join-perks-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .google-form-card {
    padding: 1.5rem 1rem;
  }
  .google-form-wrapper {
    padding: 0.75rem;
  }
}

/* ===================================================================
   Patient Journey Section
   =================================================================== */
.journey-section {
  background: var(--bg-muted);
  border-block: 1px solid var(--border-subtle);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: var(--transition-smooth);
}

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

.step-num-bubble {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(21, 94, 150, 0.25);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================================
   Reviews & Team Performance Rating System (5-Star & Scan Code)
   =================================================================== */
.reviews-section {
  padding-block: var(--section-padding, 5.5rem);
  background: linear-gradient(180deg, var(--bg-page) 0%, rgba(240, 248, 250, 0.6) 50%, var(--bg-surface) 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

/* Scorecard Container & Hero */
.team-scorecard-wrap {
  margin-bottom: 3.5rem;
}

.team-scorecard {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 12px 36px rgba(11, 59, 73, 0.07);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.team-scorecard::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, #0f5b6f 50%, #2ecc71 100%);
}

.scorecard-primary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-inline-end: 1px solid var(--border-subtle);
  padding-inline-end: 2.5rem;
}

.scorecard-hero-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.scorecard-number {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary, #0f5b6f);
  line-height: 1;
  letter-spacing: -1px;
}

.scorecard-stars-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stars-rating-display {
  display: inline-flex;
  gap: 4px;
  color: #f5a623;
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(245, 166, 35, 0.25));
}

.stars-rating-display .star-filled {
  color: #f5a623;
}

.scorecard-out-of {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.scorecard-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 91, 111, 0.08);
  color: var(--primary, #0f5b6f);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.88rem;
  font-weight: 700;
  width: fit-content;
}

.scorecard-rec-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e7e48;
}

.scorecard-rec-pill .rec-icon {
  background: #d4edda;
  color: #155724;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.scorecard-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0f5b6f 0%, #0b3b49 100%);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-md, 10px);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(11, 59, 73, 0.2);
  margin-top: 0.5rem;
}

.scorecard-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 59, 73, 0.3);
  background: linear-gradient(135deg, #136a82 0%, #0e4453 100%);
  color: #ffffff;
}

/* Scorecard Pillars Grid */
.scorecard-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.scorecard-pillars-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.scorecard-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.scorecard-pillar-item {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pillar-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.pillar-score {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--primary, #0f5b6f);
}

.pillar-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(15, 91, 111, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2px;
}

.pillar-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4af37 0%, #0f5b6f 100%);
  border-radius: 4px;
}

.pillar-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Reviews Filter Bar */
.reviews-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.reviews-filter-btn {
  padding: 0.55rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reviews-filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.reviews-filter-btn.active {
  background: var(--primary, #0f5b6f);
  color: #ffffff;
  border-color: var(--primary, #0f5b6f);
  box-shadow: 0 4px 12px rgba(15, 91, 111, 0.22);
}

/* Reviews Grid & Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm, 0 4px 16px rgba(0,0,0,0.04));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(11, 59, 73, 0.1);
  border-color: rgba(15, 91, 111, 0.25);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: #f5a623;
  font-size: 1.15rem;
}

.review-service-pill {
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(15, 91, 111, 0.08);
  color: var(--primary, #0f5b6f);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full, 9999px);
}

.review-quote-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  position: relative;
}

.review-quote-text::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 2.2rem;
  color: rgba(15, 91, 111, 0.15);
  position: absolute;
  top: -12px;
  right: -8px;
  line-height: 1;
}

[dir="ltr"] .review-quote-text::before {
  right: auto;
  left: -8px;
}

.review-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 91, 111, 0.15), rgba(212, 175, 55, 0.2));
  color: var(--primary, #0f5b6f);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
}

.review-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1a7f37;
}

.review-verified-pill.qr-verified {
  color: #0f766e;
  background: #ccfbf1;
  padding: 2px 7px;
  border-radius: var(--radius-full, 9999px);
  width: fit-content;
}

.review-date-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===================================================================
   Submit Review Modal & Interactive Star Picker
   =================================================================== */
.review-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 38, 48, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-modal-backdrop.active {
  display: grid;
  opacity: 1;
}

.review-modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.25rem;
}

.review-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

[dir="ltr"] .review-modal-close-btn {
  left: auto;
  right: 1.25rem;
}

.review-modal-close-btn:hover {
  background: var(--bg-page);
  color: var(--text-main);
  transform: rotate(90deg);
}

.review-modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.review-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212, 175, 55, 0.15);
  color: #996e00;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.review-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary, #0f5b6f);
  margin-bottom: 0.5rem;
}

.review-modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Verified QR Status Banner inside Modal */
.modal-qr-verified-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: var(--radius-md, 10px);
  padding: 0.75rem 1rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.modal-qr-verified-banner.active {
  display: flex;
}

/* Interactive Star Picker */
.star-picker-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg-page);
  padding: 1.25rem;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border-subtle);
}

.star-picker-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.star-picker-stars {
  display: inline-flex;
  gap: 8px;
  direction: ltr; /* Ensure star hover highlights from left to right */
}

.star-picker-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #d1d5db;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-picker-btn:hover,
.star-picker-btn.active,
.star-picker-btn.hovered {
  color: #f5a623;
  transform: scale(1.18);
  filter: drop-shadow(0 2px 6px rgba(245, 166, 35, 0.4));
}

.star-picker-text-feedback {
  font-size: 0.88rem;
  font-weight: 800;
  color: #d4af37;
  min-height: 1.2rem;
}

/* Form Controls in Modal */
.review-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.review-form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-form-input,
.review-form-select,
.review-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  background: var(--bg-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-form-input:focus,
.review-form-select:focus,
.review-form-textarea:focus {
  outline: none;
  border-color: var(--primary, #0f5b6f);
  box-shadow: 0 0 0 3px rgba(15, 91, 111, 0.15);
}

/* Privacy Options Radios */
.review-privacy-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bg-page);
  padding: 0.9rem;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border-subtle);
}

.privacy-radio-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.privacy-radio-label input[type="radio"] {
  accent-color: var(--primary, #0f5b6f);
  width: 16px;
  height: 16px;
}

.review-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0f5b6f 0%, #0b3b49 100%);
  color: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-md, 10px);
  font-size: 1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 59, 73, 0.25);
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}

.review-submit-btn:hover {
  background: linear-gradient(135deg, #136a82 0%, #0e4453 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 59, 73, 0.35);
}

/* Success Banner inside Modal */
.review-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1rem;
}

.review-modal-success.active {
  display: flex;
}

.success-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .team-scorecard {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  .scorecard-primary {
    border-inline-end: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-inline-end: 0;
    padding-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .scorecard-hero-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .scorecard-pillars-grid {
    grid-template-columns: 1fr;
  }
  .team-scorecard {
    padding: 1.5rem;
  }
  .review-modal-dialog {
    padding: 1.5rem;
  }
}

/* ===================================================================
   Clinic Atmosphere & Interior Spaces (معرض أجواء العيادة من الداخل)
   =================================================================== */
.ambience-section {
  padding-block: var(--section-padding, 5.5rem);
  background: linear-gradient(180deg, var(--bg-page) 0%, #f0f7fc 40%, var(--bg-surface) 100%);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.ambience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 2.5rem;
}

.ambience-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-smooth);
  position: relative;
}

.ambience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 45, 80, 0.12);
  border-color: rgba(21, 94, 150, 0.3);
}

.ambience-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: var(--primary-light);
}

.ambience-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambience-card:nth-child(1) .ambience-img {
  object-position: center 30%;
}

.ambience-card:nth-child(2) .ambience-img {
  object-position: center 35%;
}

.ambience-card:nth-child(3) .ambience-img {
  object-position: center 35%;
}

.ambience-card:nth-child(4) .ambience-img {
  object-position: center 50%;
}

.ambience-card:nth-child(5) .ambience-img {
  object-position: center 50%;
}

.ambience-card:nth-child(6) .ambience-img {
  object-position: center 40%;
}

.ambience-img-wrap:hover .ambience-img {
  transform: scale(1.05);
}

.ambience-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 56, 92, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ambience-img-wrap:hover .ambience-img-overlay {
  opacity: 1;
}

.ambience-zoom-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(8px);
  transition: transform var(--transition-fast);
}

.ambience-img-wrap:hover .ambience-zoom-btn {
  transform: translateY(0);
}

.ambience-floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  z-index: 2;
}

.ambience-floating-badge.top-start {
  top: 1rem;
  inset-inline-start: 1rem;
}

.ambience-card-body {
  padding: 1.85rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ambience-category-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.ambience-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.ambience-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.ambience-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--border-subtle);
}

.ambience-feat-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.feat-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ambience-cta-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
  border: 1.5px solid rgba(21, 94, 150, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.ambience-cta-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.ambience-cta-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Image Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.image-lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 40, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@keyframes lightboxPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--primary);
}

.lightbox-img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #0b1523;
  display: block;
}

.lightbox-caption {
  padding: 1.25rem 1.75rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.lightbox-caption h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Doctor Lightbox Modal Customization */
.image-lightbox-modal.doctor-mode .lightbox-dialog {
  max-width: 520px;
  border-radius: 24px;
}

.image-lightbox-modal.doctor-mode .lightbox-img {
  width: 100%;
  max-height: 52vh;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  background: #0f172a;
}

.image-lightbox-modal.doctor-mode .lightbox-caption {
  padding: 1.35rem 1.75rem 1.6rem;
  text-align: center;
}

.image-lightbox-modal.doctor-mode .lightbox-caption h4 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.image-lightbox-modal.doctor-mode .lightbox-doctor-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  display: block;
}

.image-lightbox-modal.doctor-mode .lightbox-doctor-creds {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: block;
  margin-bottom: 1.15rem;
  padding: 0.45rem 0.85rem;
  background: rgba(26, 115, 232, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(26, 115, 232, 0.12);
}

.image-lightbox-modal.doctor-mode .lightbox-doctor-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), #1557b0);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
}

.image-lightbox-modal.doctor-mode .lightbox-doctor-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.45);
}

/* ===================================================================
   Detailed Clinic Location & Google Maps Section
   =================================================================== */
.location-section {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.location-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.location-info-card {
  background: var(--bg-page);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.location-info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea4335, #4285f4, #34a853);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-pin-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: #fef2f2;
  color: #ea4335;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.location-pin-icon:hover {
  transform: scale(1.08);
}

.location-card-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.location-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.location-detail-item strong {
  color: var(--text-main);
  min-width: 80px;
}

.location-interactive-note {
  background: var(--primary-light);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.6;
}

.location-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.map-embed-wrapper {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 380px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border: none;
}

.map-floating-badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast);
}

.map-floating-badge:hover {
  transform: scale(1.05);
}

/* ===================================================================
   Interactive Appointment Booking Section
   =================================================================== */
.booking-section {
  background: radial-gradient(circle at 50% 50%, var(--primary-light) 0%, var(--bg-page) 100%);
}

.booking-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 880px;
  margin-inline: auto;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.booking-box.highlight-pulse {
  animation: bookingGlow 1.8s ease-in-out;
}

@keyframes bookingGlow {
  0% { box-shadow: 0 0 0 0 rgba(21, 94, 150, 0.4); border-color: var(--primary); }
  50% { box-shadow: 0 0 0 12px rgba(21, 94, 150, 0.15); border-color: var(--accent-cyan); }
  100% { box-shadow: var(--shadow-lg); border-color: var(--border-subtle); }
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: var(--bg-page);
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--primary-soft);
}

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

.booking-reassurance-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(21, 94, 150, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(21, 94, 150, 0.2);
  border-radius: var(--radius-md, 14px);
  padding: 1.25rem 1.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.booking-reassurance-card .reassurance-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.booking-reassurance-card .reassurance-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.booking-reassurance-card .reassurance-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.form-submit-row {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.btn-submit-booking {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.or-divider:not(:empty)::before {
  margin-inline-end: 1rem;
}

.or-divider:not(:empty)::after {
  margin-inline-start: 1rem;
}

.form-success-banner {
  display: none;
  background: #e8f7ee;
  border: 1px solid #1b8755;
  color: #155724;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-success-banner.active {
  display: block;
}

/* ===================================================================
   FAQ Section
   =================================================================== */
.faq-list,
.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(30, 93, 150, 0.3);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(30, 93, 150, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
  color: var(--primary);
  background: rgba(30, 93, 150, 0.02);
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

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

.faq-icon {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  background: var(--bg-page);
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-item.active .faq-answer {
  display: block !important;
  animation: faqFadeSlide 0.25s ease-out;
}

@keyframes faqFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ===================================================================
   Contact & Quick Cards
   =================================================================== */
.contact-section {
  background: var(--bg-page);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.contact-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card-instagram {
  background: rgba(225, 48, 108, 0.1) !important;
  color: #e1306c !important;
}

.contact-card-facebook {
  background: rgba(24, 119, 242, 0.1) !important;
  color: #1877f2 !important;
}

.contact-instagram-btn:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
}

.contact-card-youtube {
  background: rgba(255, 0, 0, 0.1) !important;
  color: #ff0000 !important;
}

.contact-youtube-btn:hover {
  background: #ff0000 !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}

.contact-card-tiktok {
  background: rgba(1, 1, 1, 0.08) !important;
  color: #010101 !important;
}

.contact-tiktok-btn:hover {
  background: #010101 !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: -2px -2px 10px rgba(37, 244, 238, 0.4), 2px 2px 10px rgba(254, 44, 85, 0.4);
}

.contact-card-icon-join {
  background: rgba(13, 148, 136, 0.12) !important;
  color: #0d9488 !important;
}

.contact-card-join:hover {
  border-color: #0d9488 !important;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.15) !important;
}

.contact-join-btn:hover {
  background: #0d9488 !important;
  color: #ffffff !important;
  border-color: #0d9488 !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

/* Emergency Banner */
.emergency-banner {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}

.emergency-banner svg {
  color: #dc3545;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.emergency-banner p {
  font-size: 0.88rem;
  color: #842029;
  line-height: 1.6;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #091e31;
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  display: block;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 360px;
}

.footer-domain-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-btn svg {
  width: 19px;
  height: 19px;
  transition: transform var(--transition-fast);
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-social-btn:hover svg {
  transform: scale(1.12);
}

.footer-social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.footer-social-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.footer-social-btn.youtube:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}

.footer-social-btn.tiktok:hover {
  background: #010101;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: -2px -2px 10px rgba(37, 244, 238, 0.5), 2px 2px 10px rgba(254, 44, 85, 0.5);
}

.footer-col h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 2rem;
  z-index: 99;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.mobile-sticky-bar {
  display: none;
}

/* ===================================================================
   Responsive Breakpoints
   =================================================================== */
@media (max-width: 1180px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-showcase-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .location-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .ambience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-wrapper {
    height: 4.5rem;
  }

  .brand-logo {
    margin-inline-end: 0.5rem;
  }

  .brand-logo-img {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 125px !important;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .location-info-card {
    padding: 1.75rem;
  }

  .booking-box {
    padding: 1.75rem;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .stats-ribbon {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-item::after {
    display: none !important;
  }

  /* Mobile Persistent Sticky Action Bar */
  body {
    padding-bottom: 4.5rem;
  }

  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.6rem 0.85rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    gap: 0.65rem;
    align-items: center;
    justify-content: stretch;
  }

  [data-theme="dark"] .mobile-sticky-bar {
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
  }

  .mobile-sticky-bar .sticky-btn-book {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #155e96 0%, #0e3d63 100%);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.72rem 0.6rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(21, 94, 150, 0.35);
    white-space: nowrap;
    text-align: center;
  }

  .mobile-sticky-bar .sticky-btn-whatsapp {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.72rem 0.6rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
    white-space: nowrap;
    text-align: center;
  }

  .floating-whatsapp {
    display: none !important;
  }

  .floating-artwork-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  .floating-artwork-badge.bottom-end {
    padding: 0.45rem 0.75rem;
  }

  .float-badge-icon {
    font-size: 1rem;
  }

  .float-badge-text strong {
    font-size: 0.75rem;
  }

  .float-badge-text span {
    font-size: 0.65rem;
  }

  .sanctuary-caption {
    position: static;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .why-pillars-col .pillars-grid {
    grid-template-columns: 1fr;
  }

  .ambience-card-body {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .ambience-cta-banner {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .ambience-cta-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 110px !important;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .btn-nav-book {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.32;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .floating-artwork-badge.top-start {
    top: 0.65rem;
    inset-inline-start: 0.65rem;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .floating-artwork-badge.bottom-end {
    bottom: 0.65rem;
    inset-inline-end: 0.65rem;
    padding: 0.35rem 0.6rem;
  }
}


/* Clinician Avatar Variants & Monogram Styling */
.clinician-avatar-box.avatar-psychiatry {
  background: linear-gradient(135deg, #e8f0fe, #d2e3fc);
  border-color: rgba(26, 115, 232, 0.25);
  color: #1a73e8;
}
.clinician-avatar-box.avatar-therapy {
  background: linear-gradient(135deg, #e6f4ea, #ceead6);
  border-color: rgba(19, 115, 51, 0.25);
  color: #0d9488;
}
.clinician-avatar-box.avatar-child {
  background: linear-gradient(135deg, #fef7e0, #feefc3);
  border-color: rgba(249, 171, 0, 0.3);
  color: #d97706;
}
.clinician-avatar-box.avatar-couples {
  background: linear-gradient(135deg, #fce8e6, #fad2cf);
  border-color: rgba(217, 48, 37, 0.25);
  color: #e11d48;
}
.clinician-avatar-box.avatar-neuro {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  border-color: rgba(147, 51, 234, 0.25);
  color: #7c3aed;
}
.clinician-avatar-monogram {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================================
   Massar Audit Expansion: Who Is Massar For, Session Formats, 
   Reflections, Library / Blog, and Emergency Banner
   =================================================================== */

/* Enhanced Nav Book Button */
.btn-nav-book {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(21, 94, 150, 0.3) !important;
  font-weight: 700 !important;
  transition: all var(--transition-fast);
}
.btn-nav-book:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 94, 150, 0.4) !important;
}

/* Who Is Massar For (8-Card Symptom Grid) */
.who-for-section {
  padding-block: var(--section-padding);
  background: var(--bg-page);
  position: relative;
}
.who-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.who-for-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.who-for-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 94, 150, 0.35);
  box-shadow: var(--shadow-md);
}
.who-for-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.who-for-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.who-for-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.who-for-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition-fast);
}
.who-for-link:hover {
  color: var(--primary-hover);
  gap: 0.6rem;
}

/* In-Clinic vs Online Comparison */
.session-modes-section {
  padding-block: var(--section-padding);
  background: var(--bg-surface);
}
.session-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.session-mode-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}
.session-mode-card.featured {
  background: #fdfefe;
  border-color: rgba(21, 94, 150, 0.3);
  box-shadow: var(--shadow-md);
}
.session-mode-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
  align-self: flex-start;
}
.session-mode-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.session-mode-card p.mode-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.session-mode-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}
.session-mode-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--text-main);
  line-height: 1.5;
}
.session-mode-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.session-mode-cta {
  margin-top: auto;
}

.session-mode-card.expat-highlight {
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.06);
}

.session-mode-card.expat-highlight:hover {
  border-color: #10b981;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}

.session-modes-reassurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.reassurance-pill-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 20px);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s ease;
}

.reassurance-pill-card:hover {
  background: #ffffff;
  border-color: rgba(21, 94, 150, 0.25);
  box-shadow: 0 4px 16px rgba(15, 45, 80, 0.06);
  transform: translateY(-2px);
}

.reassurance-pill-card .rpc-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.reassurance-pill-card .rpc-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.reassurance-pill-card .rpc-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .session-modes-reassurance {
    grid-template-columns: 1fr;
  }
}

/* Social Proof & Anonymized Reflections */
.reflections-section {
  padding-block: var(--section-padding);
  background: linear-gradient(180deg, var(--bg-page) 0%, #f0f6fa 100%);
}
.reflections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.reflection-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}
.reflection-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.reflection-quote-mark {
  font-size: 3rem;
  color: rgba(21, 94, 150, 0.15);
  font-family: serif;
  line-height: 1;
  margin-bottom: -0.5rem;
}
.reflection-card p {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.reflection-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-subtle);
}
.reflection-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}
.reflection-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-light);
  font-weight: 600;
}

/* Massar Mental Health Library & Articles */
.blog-section {
  padding-block: var(--section-padding);
  background: var(--bg-surface);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 94, 150, 0.3);
}
.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.blog-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}
.blog-read-time {
  font-size: 0.8rem;
  color: var(--text-light);
}
.blog-card-author-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-surface-alt, rgba(21, 94, 150, 0.05));
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm, 6px);
  margin-bottom: 0.85rem;
  border-right: 3px solid var(--primary);
}
[dir="ltr"] .blog-card-author-row {
  border-right: none;
  border-left: 3px solid var(--primary);
}
.blog-card-author-row .author-icon {
  font-size: 0.95rem;
}
.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}
.blog-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.blog-card {
  cursor: pointer;
}
.blog-read-more,
.btn-read-article {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-top: auto;
  transition: gap var(--transition-fast), color var(--transition-fast);
  font-family: inherit;
}
.blog-read-more:hover,
.btn-read-article:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}
.read-arrow {
  transition: transform var(--transition-fast);
  display: inline-block;
}
[dir="ltr"] .read-arrow {
  transform: rotate(180deg);
}
.blog-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--border-subtle);
}

/* ===================================================================
   Full-Screen Clinical Article Reader Modal
   =================================================================== */
.article-reader-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.article-reader-modal.active {
  opacity: 1;
  visibility: visible;
}

.article-reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.article-reader-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35), 0 8px 24px rgba(21, 94, 150, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Reader Top Bar */
.article-reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
  flex-wrap: wrap;
}

.reader-meta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.reader-certified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
}

.modal-lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}
.modal-lang-toggle-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.article-reader-close-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-full);
  border: none;
  background: var(--bg-muted);
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.article-reader-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: rotate(90deg);
}

/* Reader Scrollable Content Area */
.article-reader-scroll {
  padding: 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.article-reader-header-area {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-reader-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.article-reader-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.reader-separator {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Key Clinical Takeaways Box */
.article-takeaways-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fc 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 14px rgba(21, 94, 150, 0.05);
}

.takeaways-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.takeaways-header h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.takeaways-list {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.takeaways-list li {
  font-size: 1rem;
  line-height: 1.75;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.takeaways-list li:last-child {
  margin-bottom: 0;
}

/* Article Body Content Flow */
.article-content-flow {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #334155;
}

.article-section-block {
  margin-bottom: 2.25rem;
}

.article-section-block h3 {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 1rem;
  padding-inline-start: 0.85rem;
  border-inline-start: 4px solid var(--primary);
  line-height: 1.4;
}

.article-section-text p {
  margin-bottom: 1.15rem;
  white-space: normal;
}

.article-section-text strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Article Embedded Infographics & Diagrams */
.article-diagram-figure {
  margin: 1.75rem 0;
  padding: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.article-diagram-figure:hover {
  box-shadow: 0 8px 24px rgba(21, 94, 150, 0.1);
}

.article-diagram-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-md) - 4px);
  display: block;
  object-fit: cover;
}

.article-diagram-caption {
  font-size: 0.92rem;
  color: #475569;
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.35rem 0.5rem 0.15rem;
  line-height: 1.6;
  font-weight: 500;
  border-top: 1px dashed #e2e8f0;
}

.article-diagram-caption strong {
  color: var(--primary-dark);
}

/* Article Bottom CTA Card */
.article-reader-cta-card {
  background: linear-gradient(135deg, #eef6fc 0%, #e1effb 100%);
  border: 1px solid rgba(21, 94, 150, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.reader-cta-text-area {
  max-width: 520px;
}

.reader-cta-text-area h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.reader-cta-text-area p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.reader-cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .article-reader-modal {
    padding: 0;
  }
  .article-reader-dialog {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .article-reader-topbar {
    padding: 1rem 1.25rem;
  }
  .article-reader-scroll {
    padding: 1.5rem 1.25rem;
  }
  .article-reader-title {
    font-size: 1.55rem;
  }
  .article-reader-cta-card {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  .reader-cta-actions {
    width: 100%;
    justify-content: center;
  }
  .reader-cta-actions .btn {
    width: 100%;
  }
}

/* Emergency Notice Banner */
.emergency-notice-banner {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.emergency-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.emergency-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 0.35rem;
}
.emergency-content p {
  font-size: 0.92rem;
  color: #7f1d1d;
  line-height: 1.6;
}

/* Standardized Address Display in Footer & Location */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}
.footer-contact-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.footer-contact-item a {
  color: #ffffff;
  transition: color var(--transition-fast);
}
.footer-contact-item a:hover {
  color: var(--accent-cyan);
}

@media (max-width: 900px) {
  .session-modes-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .who-for-grid,
  .reflections-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .emergency-notice-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }
}


/* ===================================================================
   Unified Live Social Media Hub (#social-feed)
   =================================================================== */
.social-feed-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 5rem 0 5.5rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}

.social-feed-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.social-feed-header .section-tag {
  display: inline-block;
  background: rgba(21, 94, 150, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.3px;
}

.social-feed-header .section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.social-feed-header .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tabs Navigation */
.social-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}

.social-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.social-tab-btn svg {
  flex-shrink: 0;
}

.social-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.social-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 94, 150, 0.3);
}

.social-tab-btn[data-tab="youtube"].active {
  background: #cc0000;
  border-color: #cc0000;
  box-shadow: 0 4px 14px rgba(204, 0, 0, 0.35);
}

.social-tab-btn[data-tab="facebook"].active {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.social-tab-btn[data-tab="tiktok"].active {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.social-tab-btn[data-tab="instagram"].active {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
}

/* Panels */
.social-tab-panel {
  display: none;
}

.social-tab-panel.active {
  display: block;
  animation: socialFadeIn 0.3s ease-in-out;
}

@keyframes socialFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid & Cards */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.social-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -4px rgba(15, 23, 42, 0.12);
  border-color: rgba(21, 94, 150, 0.35);
}

/* Card Media (YouTube) */
.social-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

.social-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.social-card-media:hover .social-thumb {
  transform: scale(1.05);
}

.social-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.social-card-media:hover .social-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #ff0000;
}

.social-play-btn svg {
  margin-left: 2px;
}

.social-card-media .social-badge,
.social-badge {
  position: absolute;
  top: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

html[dir="ltr"] .social-card-media .social-badge,
html[dir="ltr"] .social-badge {
  right: 0.75rem;
  left: auto;
}

html[dir="rtl"] .social-card-media .social-badge,
html[dir="rtl"] .social-badge {
  left: 0.75rem;
  right: auto;
}

.yt-badge {
  background: #cc0000;
}

.fb-badge {
  background: #1877f2;
}

.tiktok-badge {
  background: #000000;
  border: 1px solid rgba(37, 244, 238, 0.7);
}

.ig-badge {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.social-duration {
  position: absolute;
  bottom: 0.65rem;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  z-index: 2;
}

html[dir="ltr"] .social-duration {
  right: 0.65rem;
  left: auto;
}

html[dir="rtl"] .social-duration {
  left: 0.65rem;
  right: auto;
}

/* Card Header (TikTok / IG / FB) */
.social-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.social-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tiktok-avatar {
  background: #000000;
  color: #25f4ee;
}

.ig-avatar {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #ffffff;
}

.fb-avatar {
  background: #1877f2;
  color: #ffffff;
}

.social-user-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
  line-height: 1.2;
}

.social-user-handle {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
}

/* Card Body */
.social-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.social-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.social-card-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.social-card-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(21, 94, 150, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.social-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.social-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-play-modal {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}

.btn-play-modal:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-platform-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}

.btn-platform-action:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.tiktok-btn {
  background: #000000;
  color: #ffffff;
}

.ig-btn {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #ffffff;
}

.fb-btn {
  background: #1877f2;
  color: #ffffff;
}

.social-direct-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--border-subtle);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.social-direct-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

/* Facebook Dedicated View */
.social-fb-hub {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

.social-fb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.fb-page-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.fb-page-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1877f2;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-page-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.fb-page-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0 0;
}

.fb-embed-container {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f8fafc;
  padding: 1rem;
  min-height: 540px;
}

.fb-embed-container iframe {
  max-width: 100%;
  border: none;
  border-radius: 8px;
}

/* Video Lightbox Modal */
.social-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.social-video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.social-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
}

.social-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  background: #0f172a;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-modal-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.social-modal-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.social-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #1e293b;
  color: #ffffff;
}

.social-modal-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-modal-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #cc0000;
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-modal-yt:hover {
  background: #ff0000;
}

.social-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.social-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Community CTA Banner */
.social-community-card {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #092c4c 0%, #155e96 50%, #0d9488 100%);
  border-radius: 1.25rem;
  padding: 2.25rem 2.75rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.75rem;
  box-shadow: 0 16px 32px -4px rgba(21, 94, 150, 0.25);
}

.social-cta-content {
  max-width: 580px;
}

.social-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
}

.social-cta-desc {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.55;
}

.social-cta-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.social-cta-btn:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
  .social-community-card {
    padding: 1.75rem 1.25rem;
    text-align: center;
    justify-content: center;
  }
  .social-cta-buttons {
    justify-content: center;
  }
  .social-modal-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .social-modal-actions {
    width: 100%;
    justify-content: space-between;
  }
  .fb-embed-container {
    padding: 0.5rem;
  }
}

/* ===================================================================
   Psychological Tests & Assessments Section (#psychological-tests)
   =================================================================== */
.psych-tests-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 5rem 0 5.5rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

.psych-tests-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.psych-tests-header .section-tag {
  display: inline-block;
  background: rgba(21, 94, 150, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.3px;
}

.psych-tests-header .section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.psych-tests-header .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Category Filter Tabs */
.psych-test-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}

.psych-test-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.psych-test-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.psych-test-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 94, 150, 0.3);
}

/* Tests Cards Grid */
.psych-tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.psych-test-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.15rem;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.psych-test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -4px rgba(15, 23, 42, 0.12);
  border-color: rgba(21, 94, 150, 0.4);
}

.psych-test-card[hidden] {
  display: none !important;
}

.test-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.test-code-badge {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: rgba(21, 94, 150, 0.1);
  color: var(--primary);
  letter-spacing: 0.5px;
}

.badge-iq {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.badge-personality {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

.badge-mood {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.badge-adhd {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.test-audience-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.test-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.45;
}

.test-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.test-card-deliverables {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.45;
}

.test-deliverable-label {
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.test-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.test-cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.test-cost-label {
  font-weight: 700;
  color: var(--text-muted);
}

.test-cost-tag {
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(21, 94, 150, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
}

.test-actions-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.test-card-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}

.test-card-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.test-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.test-wa-btn:hover {
  background: #1eb954;
  transform: translateY(-1px);
}

/* Summary Matrix Table */
.psych-table-section {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

.psych-table-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.psych-table-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.psych-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.psych-tests-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: right;
}

html[dir="ltr"] .psych-tests-table {
  text-align: left;
}

.psych-tests-table th {
  background: #f8fafc;
  padding: 0.9rem 1rem;
  font-weight: 800;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-subtle);
  white-space: nowrap;
}

.psych-tests-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.psych-tests-table tr:hover td {
  background: #f8fafc;
}

.table-code-badge {
  font-weight: 800;
  color: var(--primary);
  background: rgba(21, 94, 150, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.table-cost-cell {
  white-space: nowrap;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.82rem;
}

.table-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.table-action-btn:hover {
  background: var(--primary-dark);
}

@media (max-width: 768px) {
  .psych-tests-grid {
    grid-template-columns: 1fr;
  }
  .psych-table-section {
    padding: 1.5rem 1rem;
  }
  .test-actions-group {
    flex-direction: column;
  }
  .test-card-btn,
  .test-wa-btn {
    width: 100%;
  }
}

/* ===================================================================
   Founders & Founding Story Section (about.html)
   =================================================================== */
.founders-section {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(240, 247, 255, 0.45) 100%);
  position: relative;
}

[data-theme="dark"] .founders-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.founders-story-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.founders-photo-col {
  position: relative;
}

.founders-img-card {
  position: relative;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(27, 85, 155, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.founders-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(27, 85, 155, 0.18), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.founders-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.founders-img-card:hover .founders-main-img {
  transform: scale(1.02);
}

.founders-img-caption {
  padding: 0.9rem 1.25rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}

.founders-caption-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.founders-narrative-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.founders-story-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  position: relative;
}

.founders-story-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  margin-top: 0.5rem;
}

.founders-story-p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
  text-align: justify;
}

.founders-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-subtle);
}

.founders-stat-badge {
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 12px);
  padding: 0.9rem 0.8rem;
  text-align: center;
  transition: all 0.25s ease;
}

.founders-stat-badge:hover {
  background: var(--bg-surface);
  border-color: rgba(27, 85, 155, 0.3);
  transform: translateY(-2px);
}

.founders-stat-badge .badge-num {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.founders-stat-badge .badge-txt {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
}

/* 3 Founders Grid */
.founders-cards-wrap {
  margin-top: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.founders-cards-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.founders-cards-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.founders-cards-sub {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.founder-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0.85;
}

.founder-card:hover {
  transform: translateY(-5px);
  border-color: rgba(27, 85, 155, 0.25);
  box-shadow: 0 12px 30px rgba(27, 85, 155, 0.1);
}

/* Founder Card Portrait Photo */
.founder-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.15rem;
  background: var(--bg-muted);
  border: 1.5px solid rgba(27, 85, 155, 0.12);
  box-shadow: 0 4px 16px rgba(27, 85, 155, 0.08);
  position: relative;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.founder-photo-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27, 85, 155, 0.18);
  border-color: var(--color-primary);
}

.founder-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.founder-photo-wrap:hover .founder-photo-img {
  transform: scale(1.03);
}

.founder-photo-wrap::after {
  content: '🔍';
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.founder-photo-wrap:hover::after {
  opacity: 1;
  transform: scale(1);
}

.founder-card-header {
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(27, 85, 155, 0.08);
}

.founder-name {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.founder-role {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

.founder-creds {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0.65rem 0.85rem;
  background: var(--bg-muted);
  border-radius: var(--radius-sm, 8px);
  margin-bottom: 1.25rem;
  border-inline-start: 3px solid var(--color-primary);
}

.founder-quote-box {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.founder-quote-mark {
  font-size: 2.2rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(27, 85, 155, 0.25);
  display: block;
  margin-bottom: -0.5rem;
}

.founder-quote-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
}

@media (max-width: 992px) {
  .founders-story-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .founders-badges-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .founders-story-heading {
    font-size: 1.38rem;
  }
}

/* ===================================================================
   Home Page Announcement Modal & Top Bar Pill (DBT Skills Group)
   =================================================================== */
.top-announcement-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fde047 30%, #f59e0b 100%);
  border: 1.5px solid #ffffff;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: inherit;
  padding: 0.22rem 0.8rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 0.4rem;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.4);
  letter-spacing: -0.2px;
}

.top-announcement-pill-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 50%, #facc15 100%);
  color: #000000;
  transform: translateY(-1.5px) scale(1.05);
  box-shadow: 0 5px 16px rgba(245, 158, 11, 0.65), 0 0 0 2px #ffffff;
}

.top-announcement-pill-btn:active {
  transform: translateY(0) scale(0.98);
}

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.announcement-modal.active {
  visibility: visible;
  opacity: 1;
}

.announcement-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.announcement-modal-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 960px;
  max-height: min(92vh, 800px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  overflow-y: auto;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.announcement-modal-close {
  position: absolute;
  top: 1.1rem;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.8);
  color: #475569;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  transition: all 0.2s ease;
}

html[dir="rtl"] .announcement-modal-close {
  left: 1.1rem;
  right: auto;
}

html[dir="ltr"] .announcement-modal-close {
  right: 1.1rem;
  left: auto;
}

.announcement-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: scale(1.08) rotate(90deg);
}

.announcement-modal-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.75rem;
  padding: 2rem;
}

.announcement-media-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.22);
  border: 2px solid #ffffff;
  background: #0f172a;
  aspect-ratio: 1 / 1;
}

.announcement-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.announcement-img-wrap:hover .announcement-img {
  transform: scale(1.02);
}

.announcement-floating-badge {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

html[dir="ltr"] .announcement-floating-badge {
  right: auto;
  left: 0.85rem;
}

.announcement-content-col {
  display: flex;
  flex-direction: column;
}

.announcement-top-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.announcement-sparkle-pill {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.22));
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.announcement-category-pill {
  background: rgba(21, 94, 150, 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.announcement-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.35rem 0;
}

.announcement-subtitle {
  font-size: 0.98rem;
  color: var(--color-primary);
  font-weight: 700;
  margin: 0 0 0.85rem 0;
}

.announcement-leaders-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.leaders-card-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.leaders-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
}

.leader-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.leader-avatar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(21, 94, 150, 0.2);
  flex-shrink: 0;
}

.leader-info strong {
  display: block;
  font-size: 0.84rem;
  color: #0f172a;
  line-height: 1.25;
}

.leader-info span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
}

.announcement-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.announcement-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #334155;
}

.announcement-features-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.announcement-seats-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.seats-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  animation: pulseSeats 1.8s infinite;
}

@keyframes pulseSeats {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.announcement-actions-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.announcement-btn-wa {
  flex: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.announcement-btn-wa:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.announcement-btn-booking {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
}

.announcement-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
  margin-top: auto;
}

.announcement-dont-show-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.announcement-dont-show-label input[type="checkbox"] {
  accent-color: var(--color-primary);
  cursor: pointer;
  width: 15px;
  height: 15px;
}

.btn-text-dismiss {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-text-dismiss:hover {
  color: #0f172a;
  background: #f1f5f9;
}

@media (max-width: 860px) {
  .announcement-modal-layout {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    gap: 1rem;
  }

  .announcement-img-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .announcement-title {
    font-size: 1.22rem;
  }

  .leaders-card-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .announcement-actions-row {
    flex-direction: column;
  }
}

/* ==========================================
   Standalone Article Page (.standalone-article-page)
   ========================================== */
.article-standalone-main {
  padding: 2.5rem 0 5rem;
  background: var(--bg-body);
  min-height: 80vh;
}

.article-standalone-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.article-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-breadcrumb-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.article-breadcrumb-nav a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.article-breadcrumb-sep {
  opacity: 0.45;
  font-size: 0.8rem;
}

.article-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-page-meta-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.article-lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(21, 94, 150, 0.08);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.article-lang-switch-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 94, 150, 0.18);
}

.article-page-hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.article-page-author-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-md, 14px);
  margin-bottom: 2.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.article-byline-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.article-byline-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--primary-light, #bae6fd);
  box-shadow: 0 4px 16px rgba(21, 94, 150, 0.18);
  flex-shrink: 0;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-byline-avatar:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(21, 94, 150, 0.25);
}

.article-byline-avatar[src*="logo.png"] {
  object-fit: contain;
  padding: 12px;
}

.article-byline-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.article-byline-name {
  font-weight: 800;
  color: var(--text-main);
  font-size: 1.15rem;
  line-height: 1.35;
}

.article-byline-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.45;
}

.article-reader-byline {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.95rem 1.2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.article-reader-byline .article-byline-avatar {
  width: 82px;
  height: 82px;
  border: 3px solid var(--primary-light, #bae6fd);
  box-shadow: 0 4px 14px rgba(21, 94, 150, 0.15);
}

.blog-card-author-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-card-author-img[src*="logo.png"] {
  object-fit: contain;
  padding: 4px;
}

.article-author-spotlight-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 3.5rem 0 2.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.author-spotlight-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.author-spotlight-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: 0 6px 20px rgba(21, 94, 150, 0.18);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .article-page-author-line {
    padding: 0.9rem 1rem;
    gap: 0.9rem;
  }
  .article-byline-inner {
    gap: 0.9rem;
  }
  .article-byline-avatar {
    width: 76px;
    height: 76px;
  }
  .article-reader-byline .article-byline-avatar {
    width: 70px;
    height: 70px;
  }
  .article-byline-name {
    font-size: 1.02rem;
  }
  .article-byline-role {
    font-size: 0.82rem;
  }
  .author-spotlight-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  .author-spotlight-avatar {
    width: 105px;
    height: 105px;
  }
}

.author-spotlight-content {
  flex: 1;
}

.author-spotlight-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.author-spotlight-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.4rem;
}

.author-spotlight-role {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.author-spotlight-quote {
  background: #f8fafc;
  border-inline-start: 3px solid var(--primary);
  padding: 0.85rem 1.15rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: #334155;
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

html[dir="rtl"] .author-spotlight-quote {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.article-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.article-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.article-nav-btn.secondary {
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.article-nav-btn.secondary:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.article-nav-btn.primary {
  background: var(--primary);
  color: #ffffff;
}

.article-nav-btn.primary:hover {
  background: var(--primary-dark);
}

@media (max-width: 640px) {
  .author-spotlight-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-spotlight-quote {
    text-align: start;
  }
  .article-bottom-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .article-nav-btn {
    justify-content: center;
  }
}

/* ===================================================================
   Privacy Policy & Clinical Confidentiality Page Styles
   =================================================================== */
.privacy-page-main {
  padding: 3.5rem 0 5rem;
  background-color: var(--bg-page);
}

.privacy-intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.privacy-intro-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(14, 116, 144, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-intro-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  margin: 0;
}

.privacy-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.privacy-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 116, 144, 0.3);
}

.privacy-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.privacy-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 116, 144, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.privacy-card-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.privacy-card-body p {
  margin-bottom: 1rem;
}

.privacy-card-body p:last-child {
  margin-bottom: 0;
}

.privacy-card-body ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.privacy-card-body li {
  position: relative;
  padding-inline-start: 1.75rem;
  margin-bottom: 0.75rem;
}

.privacy-card-body li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--primary);
  font-weight: 700;
}

.privacy-highlight-box {
  background: rgba(14, 116, 144, 0.06);
  border: 1px solid rgba(14, 116, 144, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  color: var(--text-main);
}

.privacy-emergency-box {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.25rem;
  color: #9f1239;
}

.privacy-emergency-box strong {
  color: #881337;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.privacy-emergency-box a {
  color: #be123c;
  font-weight: 700;
  text-decoration: underline;
}

.privacy-cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-top: 3.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.privacy-cta-content {
  max-width: 600px;
}

.privacy-cta-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.privacy-cta-content p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.privacy-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .privacy-intro-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .privacy-card {
    padding: 1.5rem;
  }
  .privacy-cta-section {
    padding: 2rem;
    flex-direction: column;
    text-align: center;
  }
  .privacy-cta-buttons {
    justify-content: center;
    width: 100%;
  }
  .privacy-cta-buttons a {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Massar Clinical Training & Courses Page Styles
   ========================================================================== */
.masterclass-banner-card {
  background: linear-gradient(135deg, #0a192f 0%, #0f5b6f 100%);
  border-radius: var(--radius-xl, 1rem);
  padding: 2.75rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.18);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.masterclass-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.masterclass-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.masterclass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.25);
  color: #fde68a;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.masterclass-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.masterclass-subtitle {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 1.75rem;
}

.masterclass-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md, 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.masterclass-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.5;
}

.masterclass-highlight-item span.icon {
  color: #fde68a;
  font-size: 1.1rem;
  line-height: 1;
}

.masterclass-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-download-pptx {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #d97706;
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-download-pptx:hover {
  background: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
  color: #ffffff;
}

.btn-whatsapp-inquire {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.btn-whatsapp-inquire:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.training-cta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 1rem);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}

.training-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.training-cta-box p {
  font-size: 1rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

.training-cta-btns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .masterclass-banner-card {
    padding: 1.5rem;
  }
  .masterclass-title {
    font-size: 1.35rem;
  }
  .masterclass-actions-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-download-pptx,
  .btn-whatsapp-inquire {
    width: 100%;
    justify-content: center;
  }
  .training-cta-box {
    padding: 1.75rem 1.25rem;
  }
  .training-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .training-cta-btns a {
    width: 100%;
    justify-content: center;
  }
}


