/* =============================================
   تقويم الأسنان - Custom CSS inspired by Bulma
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@300;400;500;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #0a6e8a;
  --primary-dark: #074f64;
  --primary-light: #e0f4f9;
  --accent: #00c9b1;
  --accent-dark: #009e8c;
  --white: #ffffff;
  --off-white: #f5f9fb;
  --text: #2c3e50;
  --text-light: #5a7384;
  --text-muted: #8fa8b5;
  --border: #d0e8f0;
  --shadow: rgba(10, 110, 138, 0.12);
  --shadow-strong: rgba(10, 110, 138, 0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.28s ease;
  --navbar-height: 70px;
}

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

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

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* =============================================
   CONTAINER & COLUMNS (Bulma-inspired)
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -0.75rem;
}

.column {
  flex: 1;
  padding: 0.75rem;
}

.is-one-third { flex: 0 0 33.333%; max-width: 33.333%; }
.is-half { flex: 0 0 50%; max-width: 50%; }
.is-two-thirds { flex: 0 0 66.666%; max-width: 66.666%; }
.is-one-quarter { flex: 0 0 25%; max-width: 25%; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--navbar-height);
  box-shadow: 0 2px 16px var(--shadow);
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--accent);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 4px 12px var(--shadow-strong);
  transition: var(--transition);
}

.navbar-brand:hover .logo-icon { transform: scale(1.05); }

.navbar-brand .logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.navbar-brand .logo-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Navbar Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.navbar-item {
  position: relative;
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  user-select: none;
}

.navbar-link:hover, .navbar-item:hover > .navbar-link {
  background: var(--primary-light);
  color: var(--primary);
}

.navbar-link .chevron {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.navbar-item:hover > .navbar-link .chevron { transform: rotate(180deg); }

/* Dropdown */
.navbar-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow-strong);
  padding: 0.5rem;
  z-index: 200;
  animation: dropIn 0.2s ease;
}

/* Invisible bridge fills the gap between navbar-link and dropdown */
.navbar-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

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

.navbar-item:hover .navbar-dropdown { display: block; }

/* Desktop: regular dropdown links */
.navbar-dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
}

.navbar-dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-right: 1.2rem;
}

/* Desktop: cities-chips style for specialists dropdown */
.navbar-dropdown.is-cities {
  min-width: 320px;
  max-width: 420px;
  padding: 0.75rem;
  display: none;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.navbar-item:hover .navbar-dropdown.is-cities {
  display: flex;
}

.navbar-dropdown.is-cities a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: var(--transition);
}

.navbar-dropdown.is-cities a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.navbar-dropdown.is-cities a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  padding-right: 0.75rem;
  transform: translateY(-1px);
}

.navbar-dropdown.is-cities a:hover::before {
  background: rgba(255,255,255,0.75);
}

/* Navbar End */
.navbar-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.fb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1877f2;
  color: white;
  font-size: 1.1rem;
  transition: var(--transition);
}

.fb-link:hover { background: #0d5fcc; color: white; transform: scale(1.1); }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

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

/* Language Modal */
.lang-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

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

.lang-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.lang-modal-box h3 { margin-bottom: 1.25rem; font-size: 1.1rem; color: var(--text); }

.lang-options { display: flex; flex-direction: column; gap: 0.6rem; }

.lang-option {
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
}

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

.lang-modal-close {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: var(--text-muted);
  color: white;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  transition: var(--transition);
}

.lang-modal-close:hover { background: var(--text-light); }

/* Burger */
.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--white);
  transition: border-color 0.25s ease, background 0.25s ease;
  position: relative;
  flex-shrink: 0;
}

.navbar-burger:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.navbar-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.25s ease,
              top 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar-burger span:nth-child(1) { top: 11px; }
.navbar-burger span:nth-child(2) { top: 18px; }
.navbar-burger span:nth-child(3) { top: 25px; }

.navbar-burger:hover span { background: var(--primary); }

/* Burger → X animation when active */
.navbar-burger.is-active { border-color: var(--primary); background: var(--primary-light); }
.navbar-burger.is-active span:nth-child(1) { top: 18px; transform: rotate(45deg); background: var(--primary); }
.navbar-burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-burger.is-active span:nth-child(3) { top: 18px; transform: rotate(-45deg); background: var(--primary); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text-footer {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent); padding-right: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

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

/* =============================================
   HERO
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0e9ab8 100%);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,201,177,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,201,177,0.4);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

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

.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }

/* =============================================
   SECTION
   ============================================= */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.section-header { margin-bottom: 2.5rem; }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin: 0.5rem 0 0;
}

/* =============================================
   CITY BUTTONS
   ============================================= */
.cities-section { background: var(--off-white); }

.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.city-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.city-btn:hover, .city-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--shadow-strong);
}

.city-btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.city-btn:hover .dot, .city-btn.active .dot { background: rgba(255,255,255,0.7); }

/* =============================================
   SHARE BUTTONS
   ============================================= */
.share-section { background: var(--white); }

.share-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.share-buttons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  color: white;
  transition: var(--transition);
}

.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: black; }
.share-btn.wa { background: #25d366; }
.share-btn.copy { background: var(--text-light); }

/* =============================================
   ARTICLE CARDS
   ============================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: transparent;
}

.article-card-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.article-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.article-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  flex: 1;
}

.article-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* =============================================
   STATS / INFO BOXES
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px var(--shadow);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* =============================================
   DOCTOR CARDS (Directory Page)
   ============================================= */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px var(--shadow-strong);
  border-color: var(--primary);
}

.doctor-card-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 1.75rem 1.25rem 3.5rem;
  text-align: center;
}

.doctor-card-header .verified-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
}

.doctor-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  margin: 0 auto;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  overflow: hidden;
}

.doctor-card-body {
  padding: 1.25rem;
  margin-top: -2rem;
  background: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

.doctor-card-body.no-header-img {
  border-radius: 0;
  margin-top: 0;
  padding-top: 1.5rem;
}

.doctor-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
  text-align: center;
}

.doctor-specialty {
  font-size: 0.8rem;
  color: var(--accent-dark);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.doctor-info { display: flex; flex-direction: column; gap: 0.5rem; }

.doctor-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.doctor-info-item .icon {
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.05rem;
}

.doctor-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}

.doctor-card-footer .btn { flex: 1; justify-content: center; font-size: 0.8rem; }

/* =============================================
   INTRO SECTION
   ============================================= */
.intro-box {
  background: var(--primary-light);
  border-right: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.intro-box p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

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

.feature-card p { font-size: 0.875rem; color: var(--text-light); }

/* =============================================
   FILTER BAR (Directory)
   ============================================= */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-bar label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
}

.filter-select {
  flex: 1;
  min-width: 160px;
  padding: 0.55rem 1rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--off-white);
  cursor: pointer;
  transition: var(--transition);
  direction: rtl;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.search-input-wrapper {
  flex: 2;
  min-width: 200px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.55rem 2.5rem 0.55rem 1rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
  direction: rtl;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  right: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1rem;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { color: var(--text-muted); }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--primary-light) 100%);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.page-header p { color: var(--text-light); font-size: 1rem; }

/* =============================================
   TAG (Page indicator)
   ============================================= */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-accent { background: rgba(0,201,177,0.12); color: var(--accent-dark); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .is-one-third { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .navbar-menu.is-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-height);
    right: 0;
    left: 0;
    background: white;
    padding: 0.75rem;
    box-shadow: 0 8px 32px var(--shadow-strong);
    gap: 0;
    z-index: 99;
    align-items: stretch;
    max-height: calc(100vh - var(--navbar-height));
    overflow-y: auto;
    border-top: 2px solid var(--accent);
  }

  /* Mobile: each navbar-item is full width */
  .navbar-menu.is-active .navbar-item {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .navbar-menu.is-active .navbar-item:last-child { border-bottom: none; }

  /* Mobile: link row */
  .navbar-menu.is-active .navbar-link {
    width: 100%;
    padding: 0.9rem 0.75rem;
    border-radius: 0;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
  }

  .navbar-menu.is-active .navbar-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
  }

  /* Chevron rotates when open */
  .navbar-menu.is-active .navbar-item.open > .navbar-link {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px 8px 0 0;
  }

  .navbar-menu.is-active .navbar-item.open > .navbar-link .chevron {
    transform: rotate(180deg);
  }

  /* Mobile: dropdown hidden by default, shown with .open */
  .navbar-menu.is-active .navbar-dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    background: var(--off-white);
    border-radius: 0 0 8px 8px;
    padding: 0.4rem 0.5rem 0.6rem;
    margin-top: 0;
    animation: none;
    overflow: hidden;
  }

  .navbar-menu.is-active .navbar-item.open > .navbar-dropdown {
    display: block;
    animation: slideDown 0.28s cubic-bezier(0.23, 1, 0.32, 1);
  }

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

  /* Default dropdown links (تقويم الأسنان — only 3 items, keep list style) */
  .navbar-menu.is-active .navbar-dropdown a {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    display: block;
  }

  .navbar-menu.is-active .navbar-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-right: 1.25rem;
  }

  /* Cities-chips layout for the specialists dropdown */
  .navbar-menu.is-active .navbar-dropdown.is-cities {
    display: none;
    padding: 0.75rem;
  }

  .navbar-menu.is-active .navbar-item.open > .navbar-dropdown.is-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    animation: slideDown 0.28s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .navbar-menu.is-active .navbar-dropdown.is-cities a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    transition: var(--transition);
  }

  .navbar-menu.is-active .navbar-dropdown.is-cities a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  .navbar-menu.is-active .navbar-dropdown.is-cities a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    padding-right: 0.8rem;
  }

  .navbar-menu.is-active .navbar-dropdown.is-cities a:hover::before {
    background: rgba(255,255,255,0.7);
  }

  .navbar-burger { display: flex; }

  .hero { padding: 3rem 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .is-one-third, .is-half, .is-two-thirds { flex: 0 0 100%; max-width: 100%; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-select, .search-input-wrapper { min-width: auto; flex: auto; }

  .share-section .container > div:first-child { display: none; } /* hide inline section title */

  .navbar-item { width: 100%; }
  .navbar-link { width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .fb-link { display: none !important; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.bg-off { background: var(--off-white); }
.bg-white { background: var(--white); }
.is-hidden-mobile { }
@media (max-width: 768px) { .is-hidden-mobile { display: none !important; } }

/* =============================================
   BLOG ARTICLE CONTENT
   ============================================= */

.blog {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text);
  max-width: 760px;
}

/* ---- Headings ---- */
.blog h1,
.blog h2,
.blog h3,
.blog h4 {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.blog h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-top: 0;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.blog h2 {
  font-size: 1.45rem;
  padding-right: 0.9rem;
  border-right: 4px solid var(--primary);
  color: var(--primary-dark);
}

.blog h3 {
  font-size: 1.15rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.blog h4 {
  font-size: 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ---- Paragraphs ---- */
.blog p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

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

/* ---- Links ---- */
.blog a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(10, 110, 138, 0.3);
  text-underline-offset: 3px;
  transition: var(--transition);
}

.blog a:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent);
}

/* ---- Unordered list ---- */
.blog ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog ul li {
  padding-right: 1.6rem;
  position: relative;
  color: var(--text);
}

.blog ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Nested ul */
.blog ul ul li::before {
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: none;
  border: 1.5px solid var(--accent);
  background: transparent;
}

/* ---- Ordered list ---- */
.blog ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  counter-reset: blog-counter;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog ol li {
  padding-right: 2.4rem;
  position: relative;
  counter-increment: blog-counter;
  color: var(--text);
}

.blog ol li::before {
  content: counter(blog-counter);
  position: absolute;
  right: 0;
  top: 0.1em;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- Blockquote ---- */
.blog blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--primary-light);
  border-right: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.75;
}

.blog blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--primary);
  line-height: 0;
  vertical-align: -0.6em;
  margin-left: 0.25rem;
  font-family: Georgia, serif;
  opacity: 0.4;
}

/* ---- Horizontal rule ---- */
.blog hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2.5rem 0;
}

/* ---- Strong & Em ---- */
.blog strong {
  font-weight: 800;
  color: var(--primary-dark);
}

.blog em {
  font-style: italic;
  color: var(--text-light);
}

/* ---- Inline code ---- */
.blog code {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  font-size: 0.88em;
  color: var(--primary-dark);
  font-family: 'Courier New', monospace;
}

/* ---- Info / Warning callout ---- */
.blog .callout {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.blog .callout-info {
  background: rgba(10, 110, 138, 0.07);
  border: 1px solid rgba(10, 110, 138, 0.2);
  color: var(--primary-dark);
}

.blog .callout-tip {
  background: rgba(0, 201, 177, 0.08);
  border: 1px solid rgba(0, 201, 177, 0.25);
  color: var(--accent-dark);
}

.blog .callout-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .blog { font-size: 0.97rem; }
  .blog h1 { font-size: 1.6rem; }
  .blog h2 { font-size: 1.25rem; }
  .blog h3 { font-size: 1.05rem; }
}

/* =============================================
   BLOG ARTICLE CONTENT
   .blog class — applies to the article wrapper
   ============================================= */

.blog {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text);
  max-width: 780px;
}

/* ---- Headings ---- */
.blog h1,
.blog h2,
.blog h3,
.blog h4 {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.blog h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-top: 0;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.blog h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  padding-right: 0.9rem;
  border-right: 4px solid var(--primary);
  margin-top: 2.75rem;
}

.blog h3 {
  font-size: 1.15rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.blog h4 {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

/* ---- Paragraphs ---- */
.blog p {
  margin-bottom: 1.35rem;
  color: var(--text);
}

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

/* ---- Unordered list ---- */
.blog ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.blog ul li {
  padding-right: 1.5rem;
  position: relative;
  color: var(--text);
}

.blog ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Nested ul */
.blog ul ul {
  margin-top: 0.4rem;
  margin-bottom: 0;
  padding-right: 1.25rem;
}

.blog ul ul li::before {
  width: 5px;
  height: 5px;
  background: transparent;
  border: 2px solid var(--primary);
  top: 0.7em;
}

/* ---- Ordered list ---- */
.blog ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  counter-reset: blog-counter;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog ol li {
  padding-right: 2.75rem;
  position: relative;
  counter-increment: blog-counter;
  color: var(--text);
}

.blog ol li::before {
  content: counter(blog-counter);
  position: absolute;
  right: 0;
  top: 0.05em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- Images ---- */
.blog-image {
  margin: 2rem auto;
  max-width: 400px;
  clear: both; 
}

.blog-image-wrapper {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius-lg);
  overflow: hidden; 
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.blog-image figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---- Blockquote ---- */
.blog blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--primary-light);
  border-right: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.8;
}

.blog blockquote p { margin-bottom: 0; color: var(--primary-dark); }

/* ---- Inline code & code block ---- */
.blog code {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.1em 0.45em;
  border-radius: 5px;
  font-size: 0.88em;
  font-family: 'Courier New', monospace;
}

/* ---- Horizontal rule ---- */
.blog hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
  margin: 2.5rem 0;
  border-radius: 2px;
}

/* ---- Links ---- */
.blog a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

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

/* ---- Strong & em ---- */
.blog strong { font-weight: 800; color: var(--text); }
.blog em { font-style: italic; color: var(--text-light); }

/* ---- Info / tip box ---- */
.blog .tip-box {
  background: rgba(0, 201, 177, 0.08);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.blog .tip-box::before {
  content: '💡';
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.blog .tip-box p { margin-bottom: 0; font-size: 0.95rem; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .blog { font-size: 1rem; }
  .blog h2 { font-size: 1.2rem; }
  .blog h3 { font-size: 1.05rem; }
  .blog blockquote { padding: 1rem 1.1rem; font-size: 0.95rem; }
}

/* =============================================
   LTR OVERRIDES — French / English versions
   Applied when <html dir="ltr">
   ============================================= */

[dir="ltr"] body { direction: ltr; }

/* Navbar brand — logo on left, text left-aligned */
[dir="ltr"] .navbar-brand .logo-text span { display: block; }
[dir="ltr"] .navbar-menu { justify-content: center; }

/* Dropdown: open to the left */
[dir="ltr"] .navbar-dropdown { right: auto; left: 0; }
[dir="ltr"] .navbar-dropdown.is-cities { right: auto; left: 0; }
[dir="ltr"] .navbar-dropdown a:hover { padding-right: 0.9rem; padding-left: 1.2rem; }
[dir="ltr"] .navbar-menu.is-active .navbar-dropdown a:hover { padding-right: 1rem; padding-left: 1.25rem; }

/* Intro box border side */
[dir="ltr"] .intro-box { border-right: none; border-left: 5px solid var(--primary); border-radius: 0 0 0 0; border-radius: var(--radius) 0 0 var(--radius); }

/* Blog: reverse border sides */
[dir="ltr"] .blog h2 { border-right: none; border-left: 4px solid var(--primary); padding-right: 0; padding-left: 0.9rem; }
[dir="ltr"] .blog h3::before { margin-right: 0; margin-left: 0; }
[dir="ltr"] .blog ul li { padding-right: 0; padding-left: 1.5rem; }
[dir="ltr"] .blog ul li::before { right: auto; left: 0; }
[dir="ltr"] .blog ul ul { padding-right: 0; padding-left: 1.25rem; }
[dir="ltr"] .blog ol li { padding-right: 0; padding-left: 2.75rem; }
[dir="ltr"] .blog ol li::before { right: auto; left: 0; }
[dir="ltr"] .blog blockquote { border-right: none; border-left: 5px solid var(--primary); border-radius: var(--radius) 0 0 var(--radius); }
[dir="ltr"] .blog a { text-align: left; }

/* Footer */
[dir="ltr"] .footer-col a:hover { padding-right: 0; padding-left: 4px; }
[dir="ltr"] .footer-bottom { flex-direction: row; }

/* Breadcrumb chevron direction */
[dir="ltr"] .breadcrumb .sep { transform: rotate(180deg); display: inline-block; }

/* City buttons */
[dir="ltr"] .city-btn:hover, [dir="ltr"] .city-btn.active { transform: translateY(-2px); }

/* Search / filter */
[dir="ltr"] .filter-select { direction: ltr; }
[dir="ltr"] .search-input { direction: ltr; padding: 0.55rem 1rem 0.55rem 2.5rem; }
[dir="ltr"] .search-icon { right: auto; left: 0.9rem; }

/* Doctor info */
[dir="ltr"] .doctor-card-footer .btn { flex: 1; }
[dir="ltr"] .doctor-card-header .verified-badge { left: auto; right: 0.75rem; }

/* Share buttons — keep LTR layout */
[dir="ltr"] .share-buttons { flex-direction: row; }

/* Portfolio LTR */
[dir="ltr"] .pf-breadcrumb .breadcrumb .sep { transform: rotate(180deg); display: inline-block; }
[dir="ltr"] .pf-timeline { padding-right: 0; padding-left: 1.5rem; }
[dir="ltr"] .pf-timeline::before { right: auto; left: 7px; }
[dir="ltr"] .pf-timeline-item { padding-right: 0; padding-left: 1.75rem; }
[dir="ltr"] .pf-tl-dot { right: auto; left: -1.5rem; }
[dir="ltr"] .pf-edu-list .pf-edu-item { flex-direction: row; }
[dir="ltr"] .pf-info-list li i { margin-right: 0; }
[dir="ltr"] .pf-card-header-line { flex-direction: row; }
[dir="ltr"] .pf-address-item i { margin-right: 0; }
[dir="ltr"] .pf-hours-table td:first-child { width: 45%; }
[dir="ltr"] .pf-hours-table td.open, [dir="ltr"] .pf-hours-table td.closed { text-align: right; }
[dir="ltr"] .pf-acte-btn { flex-direction: row; }
[dir="ltr"] .pf-anchor-nav .pf-anchor-list { flex-direction: row; }

[dir="ltr"] .pf-contact-card { flex-direction: row; }

/* Section title divider — align left in LTR */
[dir="ltr"] .divider { margin-left: 0; margin-right: 0; }
[dir="ltr"] .section-header.text-center .divider { margin: 0.5rem auto 0; }
