/* ==========================================================================
   provider.css — Individual provider detail page
   www.aelabrak.com | v1.0 | 21 March 2026
   ========================================================================== */

/* ── BREADCRUMB ─────────────────────────────────────────────────────────── */
.pvd-breadcrumb {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.pvd-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.pvd-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.pvd-breadcrumb a:hover { color: var(--color-bg-navy); }
.pvd-breadcrumb-sep { opacity: 0.4; }
.pvd-breadcrumb-current { color: var(--color-text); font-weight: 500; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.pvd-hero {
  background: var(--color-bg-navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.pvd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(37,211,102,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.pvd-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.pvd-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 28px;
}
.pvd-hero-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.pvd-hero-meta {
  flex: 1;
  min-width: 0;
}
.pvd-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.pvd-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}
.pvd-badge--verified { color: var(--color-cta-primary); border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.08); }
.pvd-badge--uae { color: rgba(255,255,255,0.8); }
.pvd-badge--ksa { color: #f6c90e; border-color: rgba(246,201,14,0.3); background: rgba(246,201,14,0.08); }
.pvd-badge--new { color: #60c6ff; border-color: rgba(96,198,255,0.3); background: rgba(96,198,255,0.08); }

.pvd-hero-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.pvd-hero-category {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pvd-hero-location { display: flex; align-items: center; gap: 4px; }
.pvd-hero-sep { width: 3px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 50%; }

.pvd-hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pvd-stars { display: flex; gap: 2px; }
.pvd-star { color: #f6c90e; font-size: 0.875rem; }
.pvd-star--empty { opacity: 0.25; }
.pvd-rating-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pvd-hero-tagline {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin: 0;
}

/* ── MAIN LAYOUT ────────────────────────────────────────────────────────── */
.pvd-body {
  background: var(--color-bg);
  padding: 48px 0 80px;
}
.pvd-body-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .pvd-body-inner {
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
  }
}

/* ── MAIN CONTENT (LEFT) ────────────────────────────────────────────────── */
.pvd-main { min-width: 0; }

.pvd-section {
  margin-bottom: 40px;
}
.pvd-section:last-child { margin-bottom: 0; }

.pvd-section-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pvd-section-title span { font-size: 1rem; }

.pvd-about-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.pvd-about-text p { margin: 0 0 16px; }
.pvd-about-text p:last-child { margin: 0; }

/* Strengths & Watch Out lists */
.pvd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pvd-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.pvd-list-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.875rem;
}
.pvd-list--strengths .pvd-list-icon { color: var(--color-cta-primary); }
.pvd-list--watch .pvd-list-icon { color: #e07b3a; }

/* How to start — 3 steps */
.pvd-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pvd-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}
.pvd-step:last-child { padding-bottom: 0; }
.pvd-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.pvd-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pvd-step-line {
  flex: 1;
  width: 2px;
  background: var(--color-border);
  margin-top: 8px;
}
.pvd-step:last-child .pvd-step-line { display: none; }
.pvd-step-content { padding-top: 6px; }
.pvd-step-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 6px;
}
.pvd-step-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* FAQ accordion */
.pvd-faq { display: flex; flex-direction: column; gap: 0; }
.pvd-faq-item {
  border-bottom: 1px solid var(--color-border);
}
.pvd-faq-item:first-child { border-top: 1px solid var(--color-border); }
.pvd-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-body);
}
.pvd-faq-q:hover { color: var(--color-bg-navy); }
.pvd-faq-arrow {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: transform 0.2s;
}
.pvd-faq-item.open .pvd-faq-arrow { transform: rotate(180deg); }
.pvd-faq-a {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  padding: 0 0 16px;
  display: none;
}
.pvd-faq-item.open .pvd-faq-a { display: block; }

/* ── SIDEBAR (RIGHT) ────────────────────────────────────────────────────── */
.pvd-sidebar { min-width: 0; }

@media (min-width: 1024px) {
  .pvd-sidebar { position: sticky; top: calc(var(--nav-height-desktop) + 24px); }
}

.pvd-info-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,34,64,0.06);
  margin-bottom: 16px;
}
.pvd-info-card-header {
  background: var(--color-bg-navy);
  padding: 20px 24px 18px;
}
.pvd-info-card-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 8px;
}
.pvd-info-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pvd-info-stars { display: flex; gap: 2px; }
.pvd-info-star { color: #f6c90e; font-size: 0.875rem; }
.pvd-info-star--empty { opacity: 0.25; }
.pvd-info-rating-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.pvd-info-card-body { padding: 20px 24px; }

.pvd-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.pvd-info-row:first-child { padding-top: 0; }
.pvd-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.pvd-info-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.pvd-info-value {
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 500;
}
.pvd-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.pvd-info-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

/* CTA block */
.pvd-cta-card {
  background: var(--color-bg-navy);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}
.pvd-cta-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(37,211,102,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.25rem;
}
.pvd-cta-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}
.pvd-cta-card-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 18px;
  line-height: 1.6;
}
.pvd-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--color-cta-primary);
  color: #000000;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.pvd-cta-btn:hover { background: #1fc46e; transform: translateY(-1px); }
.pvd-cta-btn svg { flex-shrink: 0; }

.pvd-back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}
.pvd-back-link:hover { color: var(--color-bg-navy); background: var(--color-bg-alt); }

/* ── RELATED ────────────────────────────────────────────────────────────── */
.pvd-related {
  background: var(--color-bg-alt);
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
}
.pvd-related-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.pvd-related-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 28px;
}
.pvd-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .pvd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pvd-related-grid { grid-template-columns: repeat(3, 1fr); }
}
.pvd-related-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.pvd-related-card:hover {
  border-color: var(--color-bg-navy);
  box-shadow: 0 4px 20px rgba(13,34,64,0.1);
  transform: translateY(-2px);
}
.pvd-related-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.pvd-related-icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.pvd-related-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}
.pvd-related-cat {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.pvd-related-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 0 12px;
}
.pvd-related-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-bg-navy);
}

/* ── LOADING / ERROR STATES ─────────────────────────────────────────────── */
.pvd-loading, .pvd-error {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.pvd-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-bg-navy);
  border-radius: 50%;
  animation: pvd-spin 0.8s linear infinite;
}
@keyframes pvd-spin { to { transform: rotate(360deg); } }
.pvd-error h2 { font-size: 1.5rem; color: var(--color-text); margin: 0 0 8px; }
.pvd-error p { color: var(--color-text-muted); margin: 0 0 20px; }
