/* ============================================================
   THEME VARIABLES â€” derived from logo colors
   Navy: #1e1b6b  |  Orange: #f5921e
============================================================ */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  opacity: 1;
  -webkit-font-smoothing: antialiased;
}
:root {
  /* Brand */
  --navy:          #1e1b6b;
  --navy-deep:     #130f47;
  --navy-mid:      #2a266e;
  --navy-light:    #3d38a0;
  --orange:        #f5921e;
  --orange-hover:  #e07d0a;
  --orange-light:  #fff4e6;
  --orange-glow:   rgba(245,146,30,0.25);

  /* Light Mode (default) */
  --bg:            #ffffff;
  --bg-soft:       #f4f3ff;
  --bg-card:       #ffffff;
  --bg-hero:       #0d0b2e;
  --bg-dark-sec:   #1e1b6b;
  --bg-ticker:     #f5921e;
  --bg-steps:      #fff8f0;
  --text:          #1a1464;
  --text-soft:     #4a4580;
  --text-muted:    #7b78a8;
  --text-invert:   #ffffff;
  --border:        #e2deff;
  --border-hover:  #f5921e;
  --shadow:        rgba(30,27,107,0.10);
  --shadow-orange: rgba(245,146,30,0.30);
  --input-bg:      #ffffff;
  --input-border:  #ddd9ff;

  /* Transition */
  --transition: 0.35s ease;
}

/* â”€â”€ DARK MODE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-theme="dark"] {
  --bg:            #0a0820;
  --bg-soft:       #110e30;
  --bg-card:       #16133a;
  --bg-hero:       #050318;
  --bg-dark-sec:   #0d0a28;
  --bg-steps:      #110e30;
  --text:          #e8e4ff;
  --text-soft:     #a9a4d8;
  --text-muted:    #6b6899;
  --text-invert:   #ffffff;
  --border:        #2a2660;
  --border-hover:  #f5921e;
  --shadow:        rgba(0,0,0,0.40);
  --shadow-orange: rgba(245,146,30,0.20);
  --input-bg:      #1e1b4b;
  --input-border:  #2a2660;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ===== NAVBAR LANGUAGE TOGGLE ===== */
.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--orange);
  border: 1.5px solid var(--orange);
  color: #ffffff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
}
.nav-lang-btn:hover {
  background: #e07d10;
  color: #fff;
  border-color: #e07d10;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,146,30,0.40);
}
.nav-lang-btn #langIcon {
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  line-height: 1;
}

/* ===== NAVBAR â€” light, clean, professional ===== */
#navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,27,107,0.09);
  box-shadow: 0 2px 20px rgba(30,27,107,0.08);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 1px solid rgba(30,27,107,0.13);
  box-shadow: 0 4px 28px rgba(30,27,107,0.12);
}
/* Nav links â€” primary blue, orange on hover/active */
#navbar .nav-link {
  color: #1e1b6b !important;
  font-weight: 600;
}
#navbar .nav-link:hover,
#navbar .nav-link.active { color: #f5921e !important; }
/* Mobile menu â€” light bg */
#mobileMenu {
  background: rgba(255,255,255,0.98) !important;
  border-top: 1px solid rgba(30,27,107,0.08) !important;
}
#mobileMenu a { color: #1e1b6b !important; }
#mobileMenu a:hover { color: #f5921e !important; }
/* Theme/dark toggle btn on light navbar */
#themeToggle {
  color: #1e1b6b !important;
}
#themeToggle:hover {
  color: #f5921e !important;
}
.mobile-menu-closed { max-height: 0; }
.mobile-menu-open   { max-height: 600px; }
/* logo-img and logo-img-footer now inside .navbar-logo-circle â€” no invert needed */

/* ===== HERO ===== */
.hero-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245,146,30,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30,27,107,0.20) 0%, transparent 50%),
    linear-gradient(135deg, #0d0b2e 0%, #1a1764 40%, #0a0820 100%);
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245,146,30,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30,27,107,0.15) 0%, transparent 50%),
    linear-gradient(135deg, #050318 0%, #0d0b2e 40%, #050318 100%);
}
.text-gradient {
  background: linear-gradient(135deg, var(--orange), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pulse-dot { animation: pulse 2s infinite; }
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.4); }
}
.float-element      { animation: float 6s ease-in-out infinite; }
.float-element-slow { animation: float 9s ease-in-out infinite reverse; }
@keyframes float {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-20px); }
}
.scroll-indicator { animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine {
  0%   { opacity:0; transform:scaleY(0); transform-origin:top; }
  50%  { opacity:1; transform:scaleY(1); }
  100% { opacity:0; transform:scaleY(1); transform-origin:bottom; }
}

/* ===== TICKER ===== */
.ticker-wrapper { overflow:hidden; background: var(--orange); }
.ticker-content  { animation: ticker 28s linear infinite; }
@keyframes ticker {
  0%   { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}

/* ===== ABOUT SECTION ===== */
section#about { background: var(--bg); transition: background var(--transition); }
.about-visual {
  position:relative; display:flex; align-items:center; justify-content:center; height:400px;
}
.about-logo-wrap {
  background: linear-gradient(135deg, var(--orange-light), #fff);
  border: 2px solid rgba(245,146,30,0.3);
  border-radius:50%; width:260px; height:260px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 20px 60px var(--shadow-orange);
  position:relative; z-index:2;
  transition: background var(--transition), box-shadow var(--transition);
}
[data-theme="dark"] .about-logo-wrap {
  background: linear-gradient(135deg, #1e1b4b, #2a266e);
  border-color: rgba(245,146,30,0.4);
}
.about-logo-wrap img { filter: none; }
.about-ring-1 {
  position:absolute; width:320px; height:320px; border-radius:50%;
  border:1.5px dashed rgba(245,146,30,0.3);
  animation:spin 20s linear infinite;
}
.about-ring-2 {
  position:absolute; width:380px; height:380px; border-radius:50%;
  border:1px dashed rgba(30,27,107,0.2);
  animation:spin 30s linear infinite reverse;
}
[data-theme="dark"] .about-ring-2 { border-color: rgba(245,146,30,0.1); }
@keyframes spin { to { transform:rotate(360deg); } }
.about-badge {
  position:absolute; bottom:30px; right:30px;
  background:var(--bg-card); border:1px solid rgba(245,146,30,0.3);
  border-radius:16px; padding:16px 20px; text-align:center;
  box-shadow:0 8px 32px var(--shadow); display:flex; flex-direction:column;
  gap:2px; z-index:3; transition: background var(--transition);
}
.about-feat {
  background: var(--bg-soft); border:1px solid var(--border);
  border-radius:14px; padding:20px; transition:all 0.3s;
}
.about-feat:hover { border-color:var(--orange); background:var(--orange-light); transform:translateY(-2px); }
[data-theme="dark"] .about-feat:hover { background: rgba(245,146,30,0.08); }
.about-feat h4 { font-family:'Inter',sans-serif; font-size:0.9rem; font-weight:700; color:var(--text); margin:8px 0 4px; }
.about-feat p  { font-size:0.8rem; color:var(--text-soft); line-height:1.5; }

/* ===== SERVICES SECTION ===== */
section#services { background: var(--bg-soft); transition: background var(--transition); }
.service-card {
  border:1px solid var(--border); border-radius:20px; padding:32px;
  background:var(--bg-card); transition:all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor:pointer; position:relative; overflow:hidden;
}
.service-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(245,146,30,0.05), transparent);
  opacity:0; transition:opacity 0.4s;
}
.service-card:hover {
  transform:translateY(-6px);
  box-shadow:0 20px 60px var(--shadow);
  border-color:var(--orange);
}
.service-card:hover::before { opacity:1; }
.service-icon { font-size:2.5rem; margin-bottom:16px; }
.service-card h3 {
  font-size:1.2rem; font-weight:700; color:var(--text);
  margin-bottom:10px; font-family:'Inter',sans-serif;
}
.service-card p  { font-size:0.875rem; color:var(--text-soft); line-height:1.7; }
.service-link {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--orange); font-size:0.875rem; font-weight:600;
  margin-top:20px; text-decoration:none; transition:gap 0.3s;
}
.service-link:hover { gap:10px; }

/* â”€â”€ Service card as link â”€â”€ */
a.service-card { text-decoration: none; cursor: pointer; }
a.service-card h3 { color: var(--navy); }
a.service-card p  { color: var(--text-soft); }

/* â”€â”€ Service card expand â”€â”€ */
.svc-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-expanded .svc-desc { display: none; }
.svc-full-desc { font-size: 0.92rem; color: var(--text-soft); line-height: 1.7; margin-top: 4px; }
.svc-actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.svc-expand-btn {
  background: none;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}
.svc-expand-btn:hover { background: var(--orange); color: #fff; }
.svc-view-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  pointer-events: none;
}

/* ===== SERVICE DETAIL ===== */
.service-detail-content { font-size:1.05rem; color:var(--text-soft); line-height:1.9; }
.service-point-card {
  background:var(--bg-soft); border:1px solid var(--border);
  border-radius:16px; padding:24px; transition:all 0.3s;
}
.service-point-card:hover { border-color:var(--orange); }

/* ===== WHY SECTION ===== */
section#why {
  background: var(--bg-dark-sec);
  transition: background var(--transition);
}
.why-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.07);
  border-radius:20px; padding:32px; transition:all 0.4s;
}
.why-card:hover {
  background:rgba(245,146,30,0.10);
  border-color:rgba(245,146,30,0.35);
  transform:translateY(-4px);
}
.why-icon { margin-bottom:16px; }
.why-card h3 { font-size:1.1rem; font-weight:700; color:#fff; margin-bottom:10px; font-family:'Inter',sans-serif; }
.why-card p  { font-size:0.875rem; color:#a9a4d8; line-height:1.7; }

/* ===== STEPS SECTION ===== */
.steps-section { background: var(--bg-steps); transition: background var(--transition); }
.step-card {
  background:var(--bg-card); border-radius:24px; padding:48px 36px;
  text-align:center; box-shadow:0 4px 24px var(--shadow); transition:all 0.4s;
}
.step-card:hover { transform:translateY(-6px); box-shadow:0 20px 60px var(--shadow); }
.step-number {
  width:64px; height:64px;
  background:linear-gradient(135deg, var(--orange), #ffb347);
  color:#fff; font-size:1.5rem; font-weight:800;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin:0 auto 20px; box-shadow:0 8px 24px var(--shadow-orange);
}
.step-card h3 { font-size:1.2rem; font-weight:700; color:var(--text); margin-bottom:12px; font-family:'Inter',sans-serif; }
.step-card p  { font-size:0.875rem; color:var(--text-soft); line-height:1.7; }

/* ===== SECTION TAG â€” dashes on both sides ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  width: 32px;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
/* White variant for dark sections */
.section-tag-white {
  color: #fff;
}
.section-tag-white::before,
.section-tag-white::after {
  background: rgba(255,255,255,0.7);
}

/* ===== TEAM SECTION ===== */
section#team { background: var(--bg); transition: background var(--transition); }
.team-card {
  border:1px solid var(--border); border-radius:20px; padding:36px 28px;
  text-align:center; transition:all 0.4s; background:var(--bg-card);
}
.team-card:hover { transform:translateY(-6px); box-shadow:0 20px 60px var(--shadow); border-color:var(--orange); }
.team-avatar {
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, var(--orange-light), rgba(245,146,30,0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 5px rgba(245,146,30,0.12), 0 8px 24px rgba(245,146,30,0.18);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  overflow: hidden;
}
[data-theme="dark"] .team-avatar { background: linear-gradient(135deg, #2a266e, #1e1b4b); }
.team-card h3   { font-size:1.1rem; font-weight:700; color:var(--text); margin-bottom:4px; }
.team-card .role { font-size:0.8rem; color:var(--orange); font-weight:600; margin-bottom:12px; font-family:'Inter',sans-serif; }
.team-card .bio  { font-size:0.875rem; color:var(--text-soft); line-height:1.7; font-family:'Inter',sans-serif; }

/* ===== TEAM HERO BANNER ===== */
.team-hero-banner {
  position: relative;
  overflow: hidden;
  background: #ffffff;          /* same white as photo bg â€” seamless */
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Photo: full natural size, white bg matches banner */
.team-hero-img {
  display: block;
  width: 100%;
  max-width: 1200px;
  max-height: 680px;
  object-fit: contain;
  object-position: center top;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  -webkit-mask-image: none;
          mask-image: none;
}
/* Fade bottom of photo into the navy content area below */
.team-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.team-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 32px 56px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Light-mode team cards â€” clean white on light section bg */
.team-card-dark {
  background: #ffffff !important;
  border: 1px solid rgba(30,27,107,0.09) !important;
  box-shadow: 0 4px 20px rgba(30,27,107,0.07) !important;
  color: #1e293b;
}
.team-card-dark:hover {
  border-color: rgba(245,146,30,0.35) !important;
  box-shadow: 0 12px 36px rgba(30,27,107,0.13) !important;
  transform: translateY(-4px);
}
.team-card-dark h3  { color: #1e1b6b !important; }
.team-card-dark p.text-amber-400 { color: var(--orange) !important; }
.team-card-dark p.bio,
.team-card-dark .bio { color: #64748b !important; }

/* ===== MAP SECTION SHADOW â€” warm tan, very light ===== */
.map-section-wrap {
  box-shadow:
    0 -10px 32px rgba(210, 185, 145, 0.18),   /* warm tan top */
    0  10px 32px rgba(210, 185, 145, 0.18);    /* warm tan bottom */
}

/* ===== MAP OVERLAY SECTION ===== */
.map-info-panel {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: min(420px, 45%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  z-index: 2;
  pointer-events: auto;
  background: #f4f3ff;
}
.map-overlay-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(30,27,107,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(30,27,107,0.07);
  backdrop-filter: blur(8px);
}
.map-overlay-icon {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.map-overlay-label {
  color: #9c99c4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.map-overlay-val {
  color: #1e1b6b;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}
.map-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 20px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245,146,30,0.40);
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}
.map-cta-btn:hover { background: #e07d10; transform: translateY(-2px); }

@media (max-width: 768px) {
  .team-hero-img       { max-height: 320px; }
  .team-hero-content   { padding: 0 20px 40px; }
  .map-info-panel      { position: static; width: 100%; padding: 28px 20px; }
  [dir="rtl"] .map-info-panel { text-align: right; }
  .map-section-wrap > div { height: auto !important; }
  .map-section-wrap iframe { height: 260px !important; }
}

/* ── Map gradient overlay — opaque in panel zone only, clear over pin ── */
.map-gradient-overlay {
  display: none;
}

/* RTL map panel */
[dir="rtl"] .map-info-panel { left: auto; right: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--bg-soft); transition: background var(--transition); }
.testimonial-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:20px; padding:32px; transition:all 0.4s;
}
.testimonial-card:hover { transform:translateY(-4px); box-shadow:0 20px 60px var(--shadow); }
.stars  { color:var(--orange); font-size:1rem; margin-bottom:16px; display:flex; gap:3px; }
.testimonial-card p { font-size:0.9rem; color:var(--text-soft); line-height:1.8; font-style:italic; }
.client { display:flex; align-items:center; gap:12px; margin-top:20px; }
.avatar { width:44px; height:44px; background:linear-gradient(135deg,var(--orange),#ffb347); color:#fff; font-weight:700; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.client strong { display:block; font-size:0.9rem; color:var(--text); font-family:'Inter',sans-serif; }
.client span   { font-size:0.75rem; color:var(--text-muted); font-family:'Inter',sans-serif; }

/* ===== FAQ ===== */
section#faq { background: var(--bg); transition: background var(--transition); }
.faq-item { border:1px solid var(--border); border-radius:16px; overflow:hidden; margin-bottom:8px; }
.faq-btn {
  width:100%; text-align:left; padding:20px 24px;
  font-weight:600; font-size:0.95rem; color:var(--text);
  display:flex; justify-content:space-between; align-items:center;
  background:transparent; border:none; cursor:pointer; transition:background 0.3s;
  font-family:'Inter',sans-serif;
}
.faq-btn:hover { background: rgba(245,146,30,0.06); }
[data-theme="dark"] .faq-btn:hover { background: rgba(245,146,30,0.08); }
.faq-icon { color:var(--orange); font-size:1.5rem; font-weight:300; transition:transform 0.3s; flex-shrink:0; }
.faq-icon.open { transform:rotate(45deg); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.4s ease; }
.faq-answer.open { max-height:300px; padding:0 24px 20px; }
.faq-answer { font-size:0.9rem; color:var(--text-soft); line-height:1.8; font-family:'Inter',sans-serif; }

/* ===== CTA BANNER ===== */
/* ===== CTA SECTION ===== */
.cta-section {
  background: #1e1b6b;          /* single unified navy â€” same family as contact */
  transition: background var(--transition);
}

/* CTA outline button â€” white border on dark navy */
.cta-outline-btn {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.70);
  color: #ffffff;
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 48px;
  border-radius: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
}
.cta-outline-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245,146,30,0.07);
  transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
section#contact { background: #f8f7ff; transition: background var(--transition); }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:0.8rem; font-weight:600; color:var(--text); text-transform:uppercase; letter-spacing:0.05em; font-family:'Inter',sans-serif; }
.form-group input,
.form-group select,
.form-group textarea {
  border:1.5px solid var(--input-border); border-radius:12px;
  padding:14px 16px; font-size:0.9rem; color:var(--text);
  background:var(--input-bg); font-family:'Inter',sans-serif;
  outline:none; width:100%;
  transition:border-color 0.3s, box-shadow 0.3s, background var(--transition), color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color:var(--orange);
  box-shadow:0 0 0 4px var(--shadow-orange);
}
.form-group textarea { resize:none; }
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-bg {
  background:var(--bg-soft) !important;
  border:1px solid var(--border) !important;
  transition: background var(--transition) !important;
}
.submit-btn {
  width:100%;
  background: transparent;
  color: #1e1b6b;
  border: 2px solid #1e1b6b;
  font-weight:700; font-size:1rem;
  padding:16px; border-radius:14px; cursor:pointer;
  transition:all 0.3s; letter-spacing:0.02em; font-family:'Inter',sans-serif;
}
.submit-btn:hover {
  background: #1e1b6b;
  color: #fff;
  transform:translateY(-2px);
  box-shadow:0 12px 32px rgba(30,27,107,0.22);
}
.submit-btn:disabled { opacity:0.7; cursor:not-allowed; transform:none; }
.success-message { background:#f0fdf4; border:1px solid #bbf7d0; color:#166534; padding:16px; border-radius:12px; font-size:0.9rem; text-align:center; font-family:'Inter',sans-serif; }
.error-message   { background:#fef2f2; border:1px solid #fecaca; color:#991b1b; padding:16px; border-radius:12px; font-size:0.9rem; text-align:center; font-family:'Inter',sans-serif; }

/* ===== OUR APPROACH CARDS ===== */
.approach-card {
  background: #ffffff;
  border: 1px solid rgba(30,27,107,0.09);
  border-top: 4px solid transparent;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(30,27,107,0.07);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.approach-card:hover {
  border-top-color: var(--orange);
  box-shadow: 0 12px 40px rgba(30,27,107,0.14);
  transform: translateY(-4px);
}
.approach-num {
  width: 64px; height: 64px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem; font-weight: 900; color: #fff;
  transition: background 0.25s, transform 0.25s;
}
.approach-card:hover .approach-num {
  background: #1e1b6b;
  transform: scale(1.08);
}

/* ===== CONTACT INFO ===== */
.contact-info-item { display:flex; align-items:center; gap:16px; }
.contact-icon {
  width:48px; height:48px;
  background: transparent;                 /* no fill */
  border: 2px solid var(--orange);         /* orange border only */
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; flex-shrink:0;
  transition: background 0.25s, color 0.25s;
  color: var(--orange);
}
.contact-icon:hover,
.contact-info-item:hover .contact-icon {
  background: var(--orange);
  color: #fff;
}
[data-theme="dark"] .contact-icon { background: transparent; border-color: var(--orange); }

/* ===== FOOTER ===== */
footer {
  background: #050318;
  transition: background var(--transition);
}
[data-theme="dark"] footer { background: #020110; }

/* ===== SOCIAL BTNS ===== */
.social-btn {
  width:40px; height:40px; background:rgba(255,255,255,0.10);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:0.9rem; color:#94a3b8; text-decoration:none; transition:all 0.3s;
}
.social-btn:hover { background:var(--orange); color:#fff; transform:translateY(-2px); }

/* ===== SECTION HEADERS (shared) ===== */
.section-label {
  color: var(--orange);
  font-size:0.75rem; text-transform:uppercase;
  letter-spacing:0.3em; font-weight:600; font-family:'Inter',sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px) {
  h1 { font-size:2.8rem !important; }
  .about-visual { height:300px; }
  .about-logo-wrap { width:200px; height:200px; }
  .about-ring-1 { width:250px; height:250px; }
  .about-ring-2 { width:300px; height:300px; }
  .about-badge { bottom:10px; right:10px; padding:12px 14px; }
  .nav-lang-btn { padding: 4px 10px; font-size: 0.75rem; }
}

/* ============================================================
   BUTTON CONSISTENCY (EN + AR)
============================================================ */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-buttons a,
.submit-btn,
#navbar a[data-en][data-ar],
#mobileMenu a[data-en][data-ar],
.cta-section a[data-en][data-ar] {
  white-space: nowrap;
}

[dir="ltr"] .hero-buttons { justify-content: flex-start; }
[dir="rtl"] .hero-buttons { justify-content: flex-start !important; flex-direction: row-reverse; }

/* ============================================================
   DARK MODE â€” Override Tailwind hardcoded colors & section BGs
============================================================ */

/* â”€â”€ Section backgrounds â”€â”€ */
[data-theme="dark"] section#about,
[data-theme="dark"] .py-28.px-6.bg-white,
[data-theme="dark"] #contact { background: var(--bg) !important; }

[data-theme="dark"] section#services,
[data-theme="dark"] .py-28.px-6.bg-slate-50,
[data-theme="dark"] .testimonials-section { background: var(--bg-soft) !important; }

[data-theme="dark"] section#team { background: var(--bg) !important; }
[data-theme="dark"] section#faq  { background: var(--bg) !important; }

[data-theme="dark"] .steps-section { background: var(--bg-steps) !important; }

/* â”€â”€ Tailwind text overrides â”€â”€ */
[data-theme="dark"] .text-slate-900,
[data-theme="dark"] .text-slate-800,
[data-theme="dark"] .text-slate-700 { color: var(--text) !important; }

[data-theme="dark"] .text-slate-600,
[data-theme="dark"] .text-slate-500 { color: var(--text-soft) !important; }

[data-theme="dark"] .text-slate-400,
[data-theme="dark"] .text-slate-300 { color: var(--text-muted) !important; }

/* â”€â”€ Headings always use --text in dark â”€â”€ */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 { color: var(--text); }

/* Keep white text on dark sections */
[data-theme="dark"] section#why h2,
[data-theme="dark"] section#why h3,
[data-theme="dark"] .cta-section h2,
[data-theme="dark"] .hero-bg h1 { color: #ffffff; }

/* â”€â”€ Tailwind bg overrides â”€â”€ */
[data-theme="dark"] .bg-white   { background: var(--bg) !important; }
[data-theme="dark"] .bg-slate-50,
[data-theme="dark"] .bg-slate-100 { background: var(--bg-soft) !important; }

/* â”€â”€ Borders â”€â”€ */
[data-theme="dark"] .border-slate-200 { border-color: var(--border) !important; }

/* â”€â”€ About badge text â”€â”€ */
[data-theme="dark"] .about-badge span { color: var(--text-soft) !important; }
[data-theme="dark"] .about-badge .text-amber-500 { color: var(--orange) !important; }

/* â”€â”€ Logo on light sections: show colors naturally â”€â”€ */
[data-theme="dark"] .about-logo-wrap img { filter: none !important; }
.about-logo-wrap img { filter: none !important; }

/* â”€â”€ Logo on dark backgrounds (navbar/footer): make it white â”€â”€ */
#navbar .logo-img,
footer .logo-img-footer { filter: brightness(0) invert(1); }

/* â”€â”€ Contact form bg in dark â”€â”€ */
[data-theme="dark"] .form-bg {
  background: var(--bg-soft) !important;
  border-color: var(--border) !important;
}

/* â”€â”€ FAQ answer text â”€â”€ */
[data-theme="dark"] .faq-answer { color: var(--text-soft); }

/* â”€â”€ CTA section text â”€â”€ */
[data-theme="dark"] .cta-section .text-slate-300 { color: #a9a4d8 !important; }

/* â”€â”€ Footer text â”€â”€ */
[data-theme="dark"] footer .text-slate-400 { color: #6b6899 !important; }
[data-theme="dark"] footer p { color: #6b6899; }

/* â”€â”€ Step card dark headings â”€â”€ */
[data-theme="dark"] .step-card h3,
[data-theme="dark"] .step-card p { color: var(--text-soft); }
[data-theme="dark"] .step-card h3 { color: var(--text); }

/* â”€â”€ Service section heading â”€â”€ */
[data-theme="dark"] #services h2,
[data-theme="dark"] #about h2,
[data-theme="dark"] #team h2,
[data-theme="dark"] #faq h2,
[data-theme="dark"] #contact h2 { color: var(--text) !important; }

[data-theme="dark"] #services p,
[data-theme="dark"] #about p,
[data-theme="dark"] #team .bio,
[data-theme="dark"] #contact p { color: var(--text-soft) !important; }

/* â”€â”€ LOGO HANDLING â”€â”€ */
/* Navbar & footer icon: always white (on dark bg) */
.logo-nav,
.logo-img-footer {
  filter: brightness(0) invert(1);
}
/* About section logo: show real colors (navy + orange) */
.about-logo-wrap img {
  filter: none !important;
}
/* Dark mode about logo: brighten slightly */
[data-theme="dark"] .about-logo-wrap img {
  filter: brightness(1.1) !important;
}

/* â”€â”€ FIRM NAME TEXT IMAGE (text.png) â€” flat, no box, blends into light navbar â”€â”€ */
.logo-text-img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}
@media (max-width: 480px) {
  .logo-text-img { height: 44px; max-width: 140px; }
}
.footer-brand-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 10px 16px;
  max-width: 100%;
}
.logo-text-img-footer {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: block;
}

/* â”€â”€ FOOTER BRAND BOX â€” white pill containing logo + text, mirrors navbar â”€â”€ */
.footer-brand-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 16px;
  max-width: 100%;
}

/* â”€â”€ FOOTER LOGO CIRCLE â€” same white as the brand box â”€â”€ */
.footer-logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

/* â”€â”€ FOOTER LOGO ICON (logo.png) â€” original colors inside white pill â”€â”€ */
.footer-logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
}

/* â”€â”€ NAVBAR LOGO CIRCLE â€” flat, no border, clean on light navbar â”€â”€ */
.navbar-logo-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navbar-logo-circle img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: none;
}
@media (max-width: 768px) {
  .navbar-logo-circle { width: 44px; height: 44px; }
  .navbar-logo-circle img { width: 40px; height: 40px; }
}

/* ============================================================
   RTL / ARABIC LANGUAGE ADJUSTMENTS
============================================================ */

/* Arabic fonts for all text elements */
[dir="rtl"] body { font-family: 'Cairo', 'Inter', sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2,
[dir="rtl"] h3, [dir="rtl"] h4 { font-family: 'Cairo', sans-serif; }

/* â”€â”€ Navbar â”€â”€ */
/* In RTL, browser naturally reverses flex order for row direction â€” let it work */
[dir="rtl"] #navbar nav { gap: 2rem; }
[dir="rtl"] #mobileMenu > div { align-items: flex-end; }
[dir="rtl"] #mobileMenu a     { text-align: right; }

/* â”€â”€ Hero â”€â”€ */
[dir="rtl"] .hero-label,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle     { text-align: right; }
[dir="rtl"] .hero-buttons      { justify-content: flex-start !important; flex-direction: row-reverse; }
[dir="rtl"] .hero-stats        { text-align: right; }
[dir="rtl"] .stat-item         { text-align: right; }

/* â”€â”€ Sections: text alignment â”€â”€ */
[dir="rtl"] .section-label     { text-align: right; display: block; }

/* Right-align headings ONLY in non-centered contexts */
[dir="rtl"] section h2:not(.text-center)  { text-align: right; }
[dir="rtl"] section p:not(.text-center)   { text-align: right; }

/* Force center when .text-center is explicitly used */
[dir="rtl"] .text-center,
[dir="rtl"] .text-center h1,
[dir="rtl"] .text-center h2,
[dir="rtl"] .text-center h3,
[dir="rtl"] .text-center p    { text-align: center !important; }

/* â”€â”€ About section â”€â”€ */
[dir="rtl"] .about-feat        { text-align: right; }

/* â”€â”€ Service cards â”€â”€ */
[dir="rtl"] .service-card      { text-align: right; }
[dir="rtl"] .service-card .flex { flex-direction: row-reverse; }

/* â”€â”€ Process steps â”€â”€ */
[dir="rtl"] .step-card         { text-align: right; }

/* â”€â”€ Why-us â”€â”€ */
[dir="rtl"] .why-item          { text-align: right; }
[dir="rtl"] .why-item .flex    { flex-direction: row-reverse; }

/* â”€â”€ Team cards â”€â”€ */
[dir="rtl"] .team-card         { text-align: right; }

/* â”€â”€ Testimonials â”€â”€ */
[dir="rtl"] .testimonial-card  { text-align: right; }

/* â”€â”€ Map info cards: flip left-border to right in RTL â”€â”€ */
[dir="rtl"] .map-info-card { border-left: none !important; border-right: 4px solid var(--orange) !important; }

/* â”€â”€ Section tags: center only inside .text-center containers; right-align elsewhere â”€â”€ */
[dir="rtl"] .section-tag                      { justify-content: flex-end; }
[dir="rtl"] .text-center .section-tag,
[dir="rtl"] .justify-center.section-tag       { justify-content: center; }

/* â”€â”€ Contact info items RTL â”€â”€
   In dir=rtl, flex-direction:row flows items RIGHT â†’ LEFT.
   Icon (1st child) lands on the RIGHT; text (2nd child) lands LEFT of it. */
[dir="rtl"] .contact-info-item {
  direction: rtl;
}
[dir="rtl"] .contact-info-item > div:not(.contact-icon) {
  flex: 1;
  text-align: right;
}
[dir="rtl"] .contact-info-item > div:not(.contact-icon) p {
  text-align: right;
}

/* â”€â”€ FAQ â”€â”€ */
[dir="rtl"] .faq-item summary  { flex-direction: row-reverse; text-align: right; }

/* â”€â”€ Contact form â”€â”€ */
[dir="rtl"] .form-group label  { text-align: right; display: block; }
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea,
[dir="rtl"] .form-group select { text-align: right; direction: rtl; }

/* â”€â”€ CTA section â”€â”€ */
[dir="rtl"] .cta-section       { text-align: right; }

/* â”€â”€ Mobile nav links â”€â”€ */
.mobile-nav-link          { color: #1e1b6b; display: block; }
.mobile-nav-link:hover,
.mobile-nav-link.active   { color: #f5921e !important; }

/* â”€â”€ Mobile menu RTL â”€â”€ */
[dir="rtl"] #mobileMenu a      { text-align: right; direction: rtl; }
[dir="rtl"] #mobileMenu .flex-col { align-items: stretch; }

/* â”€â”€ Footer â”€â”€ */
[dir="rtl"] footer              { text-align: right; }
[dir="rtl"] footer .grid        { direction: rtl; }
[dir="rtl"] footer .grid > div  { min-width: 0; }          /* prevent overflow */
[dir="rtl"] footer .footer-brand-pill { display: block; }  /* full width in column */
[dir="rtl"] .footer-brand-pill .flex  { justify-content: center; }
/* NOTE: dir=rtl already reverses flex row naturally â€” do NOT add row-reverse (double-reverses) */
[dir="rtl"] footer .text-xl     { font-family: 'Cairo', sans-serif; font-weight: 700; }

/* â”€â”€ Breadcrumb (service.php) â€” dir=rtl reverses flex naturally â”€â”€ */

/* â”€â”€ Arrow icons: flip direction in RTL â”€â”€ */
[dir="rtl"] .fa-arrow-right { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .fa-chevron-right::before { content: "\f053"; }
/* ============================================================
   WHATSAPP FLOAT â€” animated pulse rings
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 62px;   /* equal to button height */
  right: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: background 0.2s, transform 0.2s;
}
.wa-float:hover { background: #1ebe5d; transform: scale(1.08); }

/* Pulse rings */
.wa-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.55);
  animation: waPulse 2.4s ease-out infinite;
}
.wa-ring-2 { animation-delay: 0.8s; }
.wa-ring-3 { animation-delay: 1.6s; }

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ============================================================
   OUTLINE ORANGE BUTTON
   ============================================================ */
.btn-outline-orange {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245,146,30,0.30);
}

/* Map CTA outline variant */
.map-cta-outline {
  background: transparent !important;
  border: 2px solid var(--orange);
  color: var(--orange) !important;
  box-shadow: none !important;
}
.map-cta-outline:hover {
  background: var(--orange) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(245,146,30,0.30) !important;
}

/* Service expand btn â€” keep as outline (already was) */
.svc-expand-btn {
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
}
.svc-expand-btn:hover { background: var(--orange); color: #fff; }

/* ============================================================
   TEAM MEMBER BIO EXPAND
   ============================================================ */
.member-bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s;
}
.member-bio.expanded {
  display: block;
  -webkit-line-clamp: unset;
}
.member-expand-btn { font-family: inherit; }

/* ============================================================
   PROMO BANNER â€” creative light advertisement
   ============================================================ */
.promo-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid rgba(30,27,107,.06);
}

/* â”€â”€ Animated shimmer background â”€â”€ */
.pb-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(245,146,30,.04) 0%,
    rgba(30,27,107,.03) 30%,
    rgba(245,146,30,.04) 60%,
    rgba(30,27,107,.03) 100%
  );
  background-size: 200% 100%;
  animation: pbShimmer 8s ease-in-out infinite;
}
@keyframes pbShimmer {
  0%,100% { background-position: 0% 0%; }
  50%      { background-position: 100% 0%; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LOGO PANEL â€” left (LTR) / right (RTL)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pb-logo-panel {
  flex-shrink: 0;
  width: 36%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 88px 28px 28px;
  background: linear-gradient(160deg, #fafafa 0%, #f4f3ff 100%);
  border-right: 1px solid rgba(30,27,107,.06);
  overflow: hidden;
}
[dir="rtl"] .pb-logo-panel {
  border-right: none;
  border-left: 1px solid rgba(30,27,107,.06);
}

/* Spotlight sweep animation */
.pb-spotlight {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(245,146,30,.06) 50%,
    transparent 70%
  );
  animation: pbSpotlight 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pbSpotlight {
  0%,100% { transform: translateX(-30%); }
  50%      { transform: translateX(160%); }
}

/* Symbol wrapper with ring */
.pb-symbol-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-symbol {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(245,146,30,.22));
  animation: pbPulse 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.pb-symbol-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,146,30,.2);
  animation: pbRing 4s ease-in-out infinite;
}
@keyframes pbPulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.04); }
}
@keyframes pbRing {
  0%,100% { transform: scale(1);   opacity: .6; }
  50%     { transform: scale(1.12); opacity: 1; }
}

/* EN wordmark â€” text.png at original colours (navy + orange) */
.pb-wordmark.pb-en-only {
  display: block;
  width: 230px;
  height: auto;
  object-fit: contain;
}

/* AR wordmark â€” styled text */
.pb-wordmark.pb-ar-only {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.pb-ar-n {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 800;
  color: #1e1b6b;
  line-height: 1.3;
}
.pb-ar-s {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(.62rem, .95vw, .75rem);
  font-weight: 600;
  color: #f5921e;
  line-height: 1.4;
}

/* Since badge */
.pb-since-badge {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(30,27,107,.35);
  border-top: 1px solid rgba(30,27,107,.08);
  padding-top: 10px;
  width: 90%;
  text-align: center;
}

/* Lang show/hide */
html[data-lang="ar"]       .pb-en-only { display: none !important; }
html[data-lang="en"]       .pb-ar-only { display: none !important; }
html:not([data-lang="ar"]) .pb-ar-only { display: none !important; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SEPARATOR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pb-sep {
  flex-shrink: 0;
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #fff;
}
.pb-sep-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(245,146,30,.35), transparent);
}
.pb-sep-diamond {
  width: 8px;
  height: 8px;
  background: #f5921e;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 6px 0;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SLIDES PANEL â€” right (LTR) / left (RTL)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pb-slides-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 88px 52px 32px;
  background: #fff;
}
[dir="rtl"] .pb-slides-panel { align-items: flex-end; }

/* Fixed-height slide container */
.pb-slides {
  position: relative;
  width: 100%;
  height: 210px;
}

/* Slides â€” all absolute, animate in/out */
.pb-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1),
              transform .75s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.pb-slide.pb-slide-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.pb-slide.pb-slide-exit {
  opacity: 0;
  transform: translateY(-20px);
}

/* Animated entrance for slide children */
.pb-slide-active .pb-tag  { animation: pbSlideIn .6s ease both; }
.pb-slide-active .pb-title { animation: pbSlideIn .65s .1s ease both; }
.pb-slide-active .pb-sub  { animation: pbSlideIn .65s .2s ease both; }
.pb-slide-active .pb-stats { animation: pbSlideIn .65s .3s ease both; }
@keyframes pbSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow tag */
.pb-tag {
  display: inline-block;
  background: rgba(245,146,30,.09);
  border: 1px solid rgba(245,146,30,.28);
  color: #b85f00;
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 3px 13px;
  border-radius: 999px;
  margin-bottom: .6rem;
  width: fit-content;
}

/* Title â€” two lines as block spans */
.pb-title {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-bottom: .55rem;
}
.pb-tl1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1e1b6b;
}
.pb-tl2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1e1b6b;
}
.pb-orange { color: #f5921e !important; }

/* Subtitle */
.pb-sub {
  font-size: clamp(.78rem, 1.35vw, .9rem);
  color: rgba(30,27,107,.48);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: .9rem;
}

/* Stats row (slide 1 only) */
.pb-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.pb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
}
.pb-stat strong {
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  font-weight: 800;
  color: #1e1b6b;
  line-height: 1;
}
.pb-stat span {
  font-size: .62rem;
  font-weight: 600;
  color: rgba(30,27,107,.4);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-top: 2px;
}
.pb-stat-div {
  width: 1px;
  height: 28px;
  background: rgba(30,27,107,.12);
}
.pb-stat:first-child { padding-left: 0; }

/* Dots */
.pb-dots {
  display: flex;
  gap: 7px;
}
.pb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(30,27,107,.15);
  cursor: pointer;
  transition: all .32s;
  border: none;
  padding: 0;
}
.pb-dot.pb-dot-active {
  background: #f5921e;
  width: 24px;
  border-radius: 4px;
}

/* Progress bar */
.pb-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(30,27,107,.04);
  z-index: 5;
}
.pb-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1e1b6b, #f5921e);
  width: 0%;
}

/* Arabic fonts */
[lang="ar"] .pb-tl1,
[lang="ar"] .pb-tl2    { font-family: 'Cairo', sans-serif; font-weight: 800; }
[lang="ar"] .pb-sub,
[lang="ar"] .pb-tag,
[lang="ar"] .pb-stat span,
[lang="ar"] .pb-since-badge { font-family: 'Cairo', sans-serif; }
[lang="ar"] .pb-stat strong  { font-family: 'Cairo', sans-serif; font-weight: 800; }

/* Mobile */
@media (max-width: 820px) {
  .promo-banner { flex-direction: column; height: auto; }
  .pb-logo-panel {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 100px 20px 20px;
    gap: 10px;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(30,27,107,.06);
  }
  [dir="rtl"] .pb-logo-panel { border-left: none; border-bottom: 1px solid rgba(30,27,107,.06); }
  .pb-symbol-wrap { width: 64px; height: 64px; }
  .pb-wordmark.pb-en-only { width: 160px; }
  .pb-since-badge { display: none; }
  .pb-spotlight { display: none; }
  .pb-sep { width: 100%; height: 20px; flex-direction: row; }
  .pb-sep-line { flex: 1; height: 1px; width: auto; }
  .pb-sep-diamond { margin: 0 6px; }
  .pb-slides-panel { padding: 20px 20px 24px; align-items: center; }
  [dir="rtl"] .pb-slides-panel { align-items: center; }
  .pb-slides { height: 240px; }
  .pb-slide { align-items: center; text-align: center; }
  [dir="rtl"] .pb-slide { align-items: center; }
  .pb-sub { max-width: 100%; }
  .pb-stats { justify-content: center; }
  .pb-stat:first-child { padding-left: 18px; }
  .pb-dots { justify-content: center; }
}

/* old panel classes removed â€” new design above */


.pv-wrap {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf9ff;
}

/* ── Gradient background ── */
.pv-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 10% 30%,  rgba(30,27,107,.06)  0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 90% 70%,  rgba(245,146,30,.07) 0%, transparent 60%),
    linear-gradient(150deg, #ffffff 0%, #f4f1ff 30%, #fff9f2 65%, #f0eeff 100%);
  animation: pvBgShift 14s ease-in-out infinite;
}
@keyframes pvBgShift {
  0%,100% { opacity:1; }
  50%     { opacity:.92; }
}

/* ── Dubai skyline background layer ── */
.pv-city-bg {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.40;
  background-image: url("../images/dubai_bg1.jpg");
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}
[data-theme="dark"] .pv-city-bg {
  opacity: 0.07;
  filter: brightness(1.3);
}

/* ── Vignette ── */
.pv-vignette {
  display: none;
}

/* ── Floating orbs ── */
.pv-orb {
  position: absolute; border-radius: 50%;
  filter: blur(55px); pointer-events: none; z-index: 0;
}
.pv-orb-2 { width:280px;height:280px;background:rgba(245,146,30,.06);bottom:-40px;right:-60px;animation:pvOrb2 14s ease-in-out infinite; }
.pv-orb-1 { width:340px;height:340px;background:rgba(30,27,107,.05);top:-60px;left:-80px;animation:pvOrb1 14s ease-in-out infinite; }
@keyframes pvOrb1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,20px)} }
@keyframes pvOrb2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,-25px)} }

/* ── Accent bars ── */
.pv-accent-bar {
  position: absolute; left:0; right:0; height:3px; z-index:5;
  background: linear-gradient(90deg, transparent, #f5921e 30%, #1e1b6b 70%, transparent);
  opacity:.0;
}
.pv-accent-top { top:88px; }
.pv-accent-bot { bottom:0; }

/* ── Base phase ── */
.pv-phase {
  position: absolute;
  top: 91px; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 2;
  text-align: center;
  padding: 24px 60px 24px;
  opacity: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   PHASE 1 — Big symbol + wave rings  (0 → 38%)
   Text logo slides up at bottom after ~2s
═══════════════════════════════════════════════════ */
.pv-p1 { animation: pvShow1 20s ease-in-out infinite; justify-content: center; }
@keyframes pvShow1 {
  0%    { opacity:0; }
  4%    { opacity:1; }
  35%   { opacity:1; }
  39%   { opacity:0; }
  100%  { opacity:0; }
}

/* Wave / ripple rings */
.pv-wave {
  position: absolute;
  border-radius: 50%;
  width: 190px; height: 190px;
  border: 1.5px solid rgba(245,146,30,.55);
  animation: pvWave 2.8s cubic-bezier(.25,.6,.4,1) infinite;
  pointer-events: none;
}
.pv-wave-2 { animation-delay: .93s;  border-color: rgba(30,27,107,.25);   border-width: 1px; }
.pv-wave-3 { animation-delay: 1.86s; border-color: rgba(245,146,30,.35);  border-width: 1px; }
@keyframes pvWave {
  0%   { transform: scale(.82); opacity: .75; }
  60%  { opacity: .3; }
  100% { transform: scale(2.9); opacity: 0; }
}

/* Big centered symbol */
.pv-icon {
  width: 180px; height: 180px;
  object-fit: contain;
  position: relative; z-index: 1;
  animation: pvIconAnim 20s ease-in-out infinite;
}
@keyframes pvIconAnim {
  0%,2%  { transform:scale(.4); opacity:0; }
  8%     { transform:scale(1.06); opacity:1; filter:drop-shadow(0 10px 36px rgba(30,27,107,.2)) drop-shadow(0 0 28px rgba(245,146,30,.45)); }
  14%    { transform:scale(1);   filter:drop-shadow(0 6px 22px rgba(30,27,107,.14)) drop-shadow(0 0 14px rgba(245,146,30,.25)); }
  35%    { opacity:1; }
  39%    { opacity:0; }
  100%   { opacity:0; }
}

/* Text logo at bottom — slides up after ~2s, stays for 2s then fades */
.pv-bottom-logo {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  animation: pvBottomSlide 20s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}
@keyframes pvBottomSlide {
  0%,22%  { opacity:0; transform:translateX(-50%) translateY(28px); }
  27%     { opacity:1; transform:translateX(-50%) translateY(0); }
  35%     { opacity:1; transform:translateX(-50%) translateY(0); }
  39%     { opacity:0; transform:translateX(-50%) translateY(-8px); }
  100%    { opacity:0; }
}
.pv-bottom-textlogo {
  width: clamp(240px, 38vw, 480px);
  height: auto;
  object-fit: contain;
  display: block;
}

/* ═══════════════════════════════════════════════════
   PHASE 2 — Services list  (36 → 68%)
   AR → RTL: icon on right, text on left
   EN → LTR: icon on left,  text on right
═══════════════════════════════════════════════════ */
.pv-p2 { animation: pvShow2 20s ease-in-out infinite; gap: 16px; align-items: flex-start; padding: 24px 10% 24px; }
@keyframes pvShow2 {
  0%,35%  { opacity:0; transform:translateY(20px); }
  40%     { opacity:1; transform:translateY(0); }
  65%     { opacity:1; }
  69%     { opacity:0; }
  100%    { opacity:0; }
}

/* Label */
.pv-services-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .26em;
  color: #f5921e;
  margin: 0 0 2px;
  align-self: center;
}
[lang="ar"] .pv-services-label { font-family:"Cairo",sans-serif; letter-spacing:.08em; }

/* List container */
.pv-svc-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 48px;
  width: 100%;
  max-width: 860px;
}

/* Each service item */
.pv-svc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(-20px);
  animation: pvItemLTR 20s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.pv-svc-item i {
  color: #f5921e;
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

/* Two-line text block inside each item */
.pv-svc-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
.pv-svc-name {
  font-size: clamp(.82rem, 1.4vw, .97rem);
  font-weight: 700;
  color: #1e1b6b;
  line-height: 1.25;
}
.pv-svc-desc {
  font-size: clamp(.68rem, 1.1vw, .78rem);
  font-weight: 400;
  color: rgba(30,27,107,.5);
  line-height: 1.3;
}

/* "and more" row */
.pv-svc-more {
  grid-column: 1 / -1;
  text-align: center;
  font-size: clamp(.72rem, 1.2vw, .84rem);
  font-weight: 600;
  color: #f5921e;
  letter-spacing: .12em;
  opacity: 0;
  animation: pvItemLTR 20s ease-in-out infinite;
  animation-delay: 1.28s;
}

/* LTR entry animation */
@keyframes pvItemLTR {
  0%,37%  { opacity:0; transform:translateX(-20px); }
  42%     { opacity:1; transform:translateX(0); }
  65%     { opacity:1; }
  70%     { opacity:0; }
  100%    { opacity:0; }
}

/* RTL overrides — Arabic: flip row, slide from right */
[lang="ar"] .pv-svc-item {
  flex-direction: row-reverse;
  transform: translateX(20px);
  animation-name: pvItemRTL;
}
[lang="ar"] .pv-svc-text  { text-align: right; }
[lang="ar"] .pv-svc-name,
[lang="ar"] .pv-svc-desc  { font-family:"Cairo",sans-serif; }
[lang="ar"] .pv-svc-more  { font-family:"Cairo",sans-serif; letter-spacing:.04em; }
@keyframes pvItemRTL {
  0%,37%  { opacity:0; transform:translateX(20px); }
  42%     { opacity:1; transform:translateX(0); }
  65%     { opacity:1; }
  70%     { opacity:0; }
  100%    { opacity:0; }
}

/* Arabic: same centered layout, Cairo font */
[lang="ar"] .pv-svc-name { font-family:"Cairo",sans-serif; }

/* ═══════════════════════════════════════════════════
   PHASE 3 — Justice / Your Trusted Legal Partner  (66 → 100%)
═══════════════════════════════════════════════════ */
.pv-p3 { animation: pvShow3 20s ease-in-out infinite; gap: 18px; }
@keyframes pvShow3 {
  0%,65%  { opacity:0; transform:scale(.95); }
  70%     { opacity:1; transform:scale(1); }
  97%     { opacity:1; }
  100%    { opacity:0; }
}

/* Ornament */
.pv-ornament {
  display:flex; align-items:center; gap:12px;
}
.pv-orn-line {
  width:90px; height:1.5px;
  background: linear-gradient(90deg, transparent, #f5921e);
}
.pv-orn-line:last-child {
  background: linear-gradient(90deg, #f5921e, transparent);
}
.pv-orn-diamond {
  width:8px; height:8px;
  background:#f5921e;
  transform:rotate(45deg);
  flex-shrink:0;
}

/* Main tagline */
.pv-msg {
  font-family:"Playfair Display",serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight:800;
  color:#1e1b6b;
  letter-spacing:.03em;
  line-height:1.15;
  margin:0;
}
[lang="ar"] .pv-msg { font-family:"Cairo",sans-serif; }

/* Sub tagline */
.pv-submsg {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(30,27,107,.55);
  font-weight:500;
  margin:0;
}
[lang="ar"] .pv-submsg { font-family:"Cairo",sans-serif; }

/* Divider */
.pv-closing-divider {
  display:flex; align-items:center; gap:14px;
  width:100%; max-width:400px;
}
.pv-closing-divider span {
  flex:1; height:1px;
  background: linear-gradient(90deg, transparent, rgba(30,27,107,.2));
}
.pv-closing-divider span:last-child {
  background: linear-gradient(90deg, rgba(30,27,107,.2), transparent);
}
.pv-closing-icon { color:#f5921e; font-size:1rem; flex-shrink:0; }

/* Text logo image in closing */
.pv-closing-textlogo {
  width: clamp(220px, 34vw, 420px);
  height: auto;
  object-fit: contain;
  opacity:.88;
}

/* ── Replay hint ── */
.pv-replay-hint {
  position:absolute;
  bottom:18px; left:50%;
  transform:translateX(-50%);
  font-size:.58rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(30,27,107,.22);
  white-space:nowrap;
  z-index:6;
  animation:pvReplay 14s ease-in-out infinite;
}
@keyframes pvReplay {
  0%,94% { opacity:0; }
  97%    { opacity:1; }
  100%   { opacity:0; }
}
[lang="ar"] .pv-replay-hint { font-family:"Cairo",sans-serif; }

/* ── Lang show/hide ── */
html[data-lang="ar"]       .pv-en-only { display:none !important; }
html[data-lang="en"]       .pv-ar-only { display:none !important; }
html:not([data-lang="ar"]) .pv-ar-only { display:none !important; }

/* ── Responsive ── */
@media (max-width:900px) {
  .pv-svc-list { grid-template-columns: repeat(2, 1fr); gap:10px; max-width:560px; }
  .pv-p2       { align-items:center; padding:24px 8%; }
}
@media (max-width:768px) {
  .pv-wrap            { height:600px; }
  .pv-accent-top      { top:72px; }
  .pv-phase           { top:75px; padding:20px 6% 20px; }
  .pv-icon            { width:130px; height:130px; }
  .pv-bottom-textlogo { width:clamp(200px,72vw,340px); }
  .pv-msg             { font-size:clamp(1.8rem,6vw,2.8rem); }
  .pv-closing-textlogo{ width:clamp(180px,62vw,320px); }
}
@media (max-width:480px) {
  .pv-wrap            { height:550px; }
  .pv-icon            { width:100px; height:100px; }
  .pv-bottom-textlogo { width:clamp(170px,80vw,280px); }
  .pv-svc-item span   { font-size:.82rem; }
}

/* ============================================================
   FOOTER — larger text
   ============================================================ */
footer { font-size: 0.97rem; }
footer p.text-white,
footer > div > div > div > p:first-child { font-size: 1.05rem; font-weight: 700; }
footer ul.space-y-3 li { margin-bottom: 2px; }
footer ul.space-y-3 a { font-size: 0.95rem; }
footer ul.space-y-4 li { margin-bottom: 4px; }
footer ul.space-y-4 span { font-size: 0.93rem; }
footer .text-xs { font-size: 0.82rem; }
/* ============================================================
   3-PHASE VIDEO BANNER WITH UNIFIED ANIMATIONS
   Phase 1: Logo + Waves + Faster Text Logo
   Phase 2: Practice Areas Grid
   Phase 3: Justice / Trusted Partner
   ALL phases have smooth corners and unified timing
============================================================ */

/* ── SMOOTH CORNERS FOR ALL ELEMENTS ── */
.pv-wrap,
.pv-phase,
.pv-svc-item,
.pv-svc-more,
.pv-icon,
.pv-bottom-textlogo,
.pv-closing-textlogo {
  border-radius: 32px !important;
}

.pv-icon {
  border-radius: 50% !important;
}

.pv-svc-item {
  border-radius: 18px !important;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.pv-svc-more {
  border-radius: 60px !important;
}

/* ── PHASE 1: Logo + Waves (0% → 33%) ── */
.pv-p1 {
  animation: phase1Timing 15s ease-in-out infinite;
}

@keyframes phase1Timing {
  0%    { opacity: 0; transform: scale(0.98); }
  5%    { opacity: 1; transform: scale(1); }
  31%   { opacity: 1; transform: scale(1); }
  35%   { opacity: 0; transform: scale(1.02); }
  100%  { opacity: 0; transform: scale(1.02); }
}

/* ── FASTER TEXT LOGO ENTRY ── */
@keyframes pvBottomSlideFast {
  0%, 10%  { opacity: 0; transform: translateX(-50%) translateY(35px); }
  15%      { opacity: 1; transform: translateX(-50%) translateY(0); }
  31%      { opacity: 1; transform: translateX(-50%) translateY(0); }
  35%      { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  100%     { opacity: 0; }
}

.pv-bottom-logo {
  animation: pvBottomSlideFast 15s ease-in-out infinite !important;
}

/* ── WAVE RINGS ── */
/* ============================================================
   RESTORE WAVES ONLY - Keep enhanced Phase 1 text
============================================================ */

/* Restore original wave animations */
.pv-wave {
  position: absolute;
  border-radius: 50%;
  width: 112px;
  height: 112px;
  border: 1.8px solid rgba(245,146,30,.58);
  animation: pvWave 2.6s cubic-bezier(.14,.52,.24,1) infinite;
  pointer-events: none;
}

.pv-wave-2 {
  animation-delay: .86s;
  border-color: rgba(30,27,107,.26);
  border-width: 1.4px;
}

.pv-wave-3 {
  animation-delay: 1.72s;
  border-color: rgba(245,146,30,.34);
  border-width: 1px;
}

/* Remove the 4th wave if present */
.pv-wave-4 {
  display: none;
}

@keyframes pvWave {
  0%   { transform: scale(0.08); opacity: 0; }
  14%  { opacity: 0.78; }
  55%  { opacity: 0.38; }
  100% { transform: scale(2.55); opacity: 0; }
}

/* ── ICON ANIMATION ── */
.pv-icon {
  animation: iconScaleSmooth 15s ease-in-out infinite;
}

@keyframes iconScaleSmooth {
  0%, 3%   { transform: scale(0.4); opacity: 0; }
  9%       { transform: scale(1.08); opacity: 1; }
  15%      { transform: scale(1); opacity: 1; }
  31%      { opacity: 1; transform: scale(1); }
  35%      { opacity: 0; transform: scale(0.98); }
  100%     { opacity: 0; transform: scale(0.98); }
}

/* ── PHASE 2: Practice Areas Grid (33% → 66%) ── */
.pv-p2 {
  animation: phase2Timing 15s ease-in-out infinite;
}

@keyframes phase2Timing {
  0%, 32%  { opacity: 0; transform: translateY(15px); }
  38%      { opacity: 1; transform: translateY(0); }
  64%      { opacity: 1; transform: translateY(0); }
  70%      { opacity: 0; transform: translateY(-10px); }
  100%     { opacity: 0; transform: translateY(-10px); }
}

/* ── UNIFIED ITEM ANIMATION (ALL items + "And More" button) ── */
.pv-svc-item {
  opacity: 0;
  transform: translateY(20px);
  animation: unifiedItemEnter 15s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.pv-svc-more {
  opacity: 0;
  transform: translateY(20px);
  animation: unifiedItemEnter 15s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes unifiedItemEnter {
  0%, 36%   { opacity: 0; transform: translateY(20px); }
  42%       { opacity: 1; transform: translateY(0); }
  63%       { opacity: 1; transform: translateY(0); }
  70%       { opacity: 0; transform: translateY(-10px); }
  100%      { opacity: 0; transform: translateY(-10px); }
}

/* ── PHASE 3: Justice / Trusted Partner (66% → 100%) ── */
.pv-p3 {
  animation: phase3Timing 15s ease-in-out infinite;
}

@keyframes phase3Timing {
  0%, 65%  { opacity: 0; transform: scale(0.96); }
  71%      { opacity: 1; transform: scale(1); }
  95%      { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(0.98); }
}

/* ── PHASE 3 TEXT ANIMATIONS ── */
.pv-p3 .pv-ornament {
  opacity: 0;
  transform: translateY(20px);
  animation: phase3TextEnter 15s ease-in-out infinite;
  animation-delay: 0.1s;
}

.pv-p3 .pv-msg {
  opacity: 0;
  transform: translateY(20px);
  animation: phase3TextEnter 15s ease-in-out infinite;
  animation-delay: 0.2s;
}

.pv-p3 .pv-submsg {
  opacity: 0;
  transform: translateY(20px);
  animation: phase3TextEnter 15s ease-in-out infinite;
  animation-delay: 0.3s;
}

.pv-p3 .pv-closing-divider {
  opacity: 0;
  transform: translateY(20px);
  animation: phase3TextEnter 15s ease-in-out infinite;
  animation-delay: 0.4s;
}

.pv-p3 .pv-closing-textlogo {
  opacity: 0;
  transform: translateY(20px);
  animation: phase3TextEnter 15s ease-in-out infinite;
  animation-delay: 0.5s;
}

@keyframes phase3TextEnter {
  0%, 69%  { opacity: 0; transform: translateY(20px); }
  74%      { opacity: 1; transform: translateY(0); }
  95%      { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(-10px); }
}

/* ── ORNAMENT STYLES ── */
.pv-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pv-orn-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f5921e);
}

.pv-orn-line:last-child {
  background: linear-gradient(90deg, #f5921e, transparent);
}

.pv-orn-diamond {
  width: 10px;
  height: 10px;
  background: #f5921e;
  transform: rotate(45deg);
}

.pv-closing-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 300px;
}

.pv-closing-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 27, 107, 0.2));
}

.pv-closing-divider span:last-child {
  background: linear-gradient(90deg, rgba(30, 27, 107, 0.2), transparent);
}

.pv-closing-icon {
  color: #f5921e;
  font-size: 1.1rem;
}

/* ── HOVER EFFECTS ── */
.pv-svc-item:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.98);
  border-color: #f5921e;
  box-shadow: 0 8px 20px rgba(245, 146, 30, 0.2);
}

.pv-svc-more:hover {
  transform: translateY(-2px) scale(1.01);
  background: #f5921e;
}

.pv-svc-more:hover span {
  color: #ffffff !important;
}

/* ── REPLAY HINT ── */
.pv-replay-hint {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(30, 27, 107, 0.3);
  z-index: 10;
  white-space: nowrap;
  animation: hintFade 15s ease-in-out infinite;
}

@keyframes hintFade {
  0%, 93% { opacity: 0; }
  96%     { opacity: 1; }
  100%    { opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .pv-wrap { border-radius: 0 !important; }
  .pv-svc-item { border-radius: 14px !important; }
  .pv-svc-more { border-radius: 40px !important; }
  .pv-orn-line { width: 50px; }
}

@media (max-width: 480px) {
  .pv-orn-line { width: 30px; }
  .pv-closing-divider { max-width: 200px; }
}

/* ── DARK MODE ── */
[data-theme="dark"] .pv-svc-item {
  background: rgba(22, 19, 58, 0.92);
  border-color: rgba(245, 146, 30, 0.25);
}

[data-theme="dark"] .pv-svc-item:hover {
  background: rgba(30, 27, 107, 0.95);
}

[data-theme="dark"] .pv-svc-more {
  background: rgba(22, 19, 58, 0.95);
}

[data-theme="dark"] .pv-svc-more:hover {
  background: #f5921e;
}

[data-theme="dark"] .pv-closing-divider span {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
}

[data-theme="dark"] .pv-closing-divider span:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
}
/* ============================================================
   PHASE 1 FIX: Bottom padding for video top
============================================================ */
.pv-wrap {
  padding-top: 40px;  /* Adds space at the top of the video container */
}

.pv-phase.pv-p1 {
  padding-bottom: 120px;  /* Extra bottom padding for Phase 1 */
  margin-top: -20px;      /* Fine-tune vertical position */
}

/* Ensure logo and waves are properly centered within new padding */
.pv-p1 .pv-icon {
  margin-top: 20px;  /* Push logo slightly down from navbar */
}

.pv-bottom-logo {
  bottom: 80px !important;  /* Move text logo higher from bottom edge */
}

/* ============================================================
   PHASE 2 FIX: Icon leading in both AR/EN (RTL/LTR)
   Icon on LEFT for English, Icon on RIGHT for Arabic
============================================================ */
/* English/LTR - Icon on LEFT, text on RIGHT */
html[dir="ltr"] .pv-svc-item {
  flex-direction: row !important;
  justify-content: flex-start !important;
}
html[dir="ltr"] .pv-svc-item i {
  order: 0;
  margin-right: 12px;
  margin-left: 0;
}
html[dir="ltr"] .pv-svc-item .pv-svc-name {
  order: 1;
  text-align: left;
}

/* Arabic/RTL - Icon on RIGHT, text on LEFT */
html[dir="rtl"] .pv-svc-item {
  flex-direction: row-reverse !important;
  justify-content: flex-start !important;
  text-align: right;
}
html[dir="rtl"] .pv-svc-item i {
  order: 1;
  margin-left: 12px;
  margin-right: 0;
}
html[dir="rtl"] .pv-svc-item .pv-svc-name {
  order: 0;
  text-align: right;
}

/* Force consistent icon positioning */
.pv-svc-item i {
  flex-shrink: 0;
  width: 28px;
  font-size: 1.2rem;
}

.pv-svc-name {
  flex: 1;
  line-height: 1.4;
}
