/* ============================================================
   RAMALLAH DIGITAL — BRAND COLOR SYSTEM
   Primary: Red #C5232D | Dark: #4A5568 | Black: #0A0A0A
   ============================================================ */
:root {
  --brand:       #C5232D;
  --brand-light: #E8404A;
  --brand-dim:   #7A1218;
  --brand-glow:  rgba(197, 35, 45, 0.25);
  --border:      rgba(197, 35, 45, 0.18);

  /* ── Luxury brand-name accent (gold for "Ramallah / رام الله") ── */
  --gold:        #F59E0B;
  --gold-light:  #FCD34D;
  --gold-glow:   rgba(245, 158, 11, 0.22);
}

/* =============================================
   RAMALLAH DIGITAL — HOME CSS
   Cinematic · Editorial · Bold
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@300;400;500;700&display=swap");

/* ============ CSS VARIABLES ============ */
:root {
  --black:      #0a0a0a;
  --deep:       #0d1117;
  --charcoal:   #1a1a2e;
  --brand:      #C5232D;
  --brand-light:#E8404A;
  --brand-dim:  #7A1218;
  --brand-glow: rgba(197, 35, 45, 0.25);
  --red-accent: #e63946;
  --white:      #f8f6f0;
  --muted:      #9a9a9a;
  --card-bg:    #131722;
  --border:     rgba(197, 35, 45, 0.18);
  --transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ RESET ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--deep);
  color: var(--white);
  font-family: "Cairo", "Tajawal", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ LANG TOGGLE BUTTON — GLASSMORPHISM ============ */
#langToggleHome {
  position: fixed;
  top: 1.55rem;
  left: 1rem;
  z-index: 2000;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: "Oxanium", "Cairo", sans-serif;
  background: rgba(10, 10, 12, 0.70);
  border: 1px solid rgba(197, 35, 45, 0.28);
  color: rgba(240, 237, 232, 0.72);
  cursor: pointer;
  transition:
    background 0.38s ease,
    border-color 0.35s ease,
    color 0.25s ease,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.38s ease;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(197, 35, 45, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  position: fixed;
}

/* Pulsing brand dot indicator */
#langToggleHome::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--brand-glow);
  animation: langDotPulse 2.2s ease-in-out infinite;
}

@keyframes langDotPulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.3; transform: scale(0.65); }
}

/* Shimmer sweep */
#langToggleHome::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
#langToggleHome:hover::after { left: 145%; }

#langToggleHome:hover {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dim) 100%);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(197, 35, 45, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
#langToggleHome:active {
  transform: translateY(0) scale(0.97);
}

#langToggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
#langToggle:hover {
  background: var(--brand);
  color: var(--black);
}

/* ============ HERO — Playsoru Split Layout ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;    /* محتوى أسفل الزوايا — الوسط فارغ للفيديو */
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(0.85);  /* أوضح للمشاهدة — task 3 */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  
}

/* Cinematic side bars */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--brand), transparent);
  z-index: 3;
  opacity: 0.35;
}
.hero::before { left: 32px; }
.hero::after  { right: 32px; }

/* ── Two-column content wrapper — أسفل الزوايا ── */
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1320px;
  padding: 0 80px 80px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;      /* كلا العمودين مرتبطان بالحافة السفلى */
  justify-content: space-between;
  gap: 48px;
}

/* ── LEFT col (RTL → visually RIGHT): { label } + giant heading ── */
.hero-left {
  flex: 0 0 auto;         /* لا تمتد — حجم المحتوى فقط */
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* RTL: align to the right side */
[dir="rtl"] .hero-left {
  align-items: flex-end;
  text-align: right;
}

/* { label } — Playsoru brace style */
.hero-ps-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Oxanium", "Cairo", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(248, 246, 240, 0.65);
  letter-spacing: 0.04em;
}
.hero-ps-label .brace {
  color: var(--brand);
  font-size: 1.1em;
  font-weight: 700;
}

/* Giant heading */
.hero-headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.0;
}

.hero-line-1,
.hero-line-2 {
  display: block;
  font-size: clamp(3.8rem, 8.5vw, 8rem);
  font-weight: 900;
  color: var(--white, #f8f6f0);
  letter-spacing: -0.02em;
  line-height: 1.0;
  font-family: "Sora", "Cairo", sans-serif;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}

/* Highlighted word — brand red glow (like "Creative" / "رام الله") */
.hero-hl {
  color: var(--brand, #C5232D);
  text-shadow:
    0 0 60px rgba(197, 35, 45, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.55);
}

/* ── RIGHT col (RTL → visually LEFT): desc + CTA ── */
.hero-right {
  flex: 0 0 auto;         /* لا تمتد — حجم المحتوى فقط */
  max-width: 42%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
[dir="rtl"] .hero-right {
  align-items: flex-end;
  text-align: right;
}

/* ── Award badge — circular Playsoru style ── */
.hero-award {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-award-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 35, 45, 0.45);
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
  box-shadow:
    0 0 0 4px rgba(197, 35, 45, 0.08),
    0 8px 28px rgba(0, 0, 0, 0.45);
  animation: awardPulse 3.5s ease-in-out infinite;
}

@keyframes awardPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(197,35,45,0.08), 0 8px 28px rgba(0,0,0,0.45); }
  50%       { box-shadow: 0 0 0 8px rgba(197,35,45,0.14), 0 12px 36px rgba(0,0,0,0.55); }
}

.hero-award-icon {
  font-size: 1.5rem;
  color: var(--brand, #C5232D);
  filter: drop-shadow(0 0 8px rgba(197,35,45,0.5));
}

.hero-award-text {
  font-size: 0.60rem;
  font-weight: 700;
  color: rgba(248, 246, 240, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  font-family: "Oxanium", "Cairo", sans-serif;
}

/* ── Playsoru-inspired Brand Icon Box ── */
.hero-icon-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 35, 45, 0.20);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 340px;
  transition: border-color 0.38s ease, box-shadow 0.38s ease;
}
.hero-icon-box:hover {
  border-color: rgba(197, 35, 45, 0.48);
  box-shadow: 0 0 32px rgba(197, 35, 45, 0.12);
}
.hero-icon-box-svg {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  color: var(--brand, #C5232D);
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(197, 35, 45, 0.35));
}
.hero-icon-box-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-icon-box-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(248, 246, 240, 0.92);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Oxanium", "Cairo", sans-serif;
}
.hero-icon-box-tagline {
  font-size: 0.82rem;
  color: rgba(248, 246, 240, 0.52);
  line-height: 1.6;
  margin: 0;
}

/* ── "Discover Now" — Playsoru arrow button ── */
.hero-discover-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--brand, #C5232D);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    background 0.32s ease,
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.32s ease;
  white-space: nowrap;
}
.hero-discover-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-discover-text {
  position: relative;
  z-index: 1;
}
.hero-discover-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  flex-shrink: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease;
}
.hero-discover-btn:hover {
  background: var(--brand-light, #E8404A);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(197, 35, 45, 0.42);
  color: #fff;
}
.hero-discover-btn:hover .hero-discover-icon {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.30);
}

/* ── Description ── */
.hero-split-desc {
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  color: rgba(248, 246, 240, 0.60);
  line-height: 1.85;
  max-width: 380px;
  margin: 0;
}
[dir="rtl"] .hero-split-desc {
  text-align: right;
}

/* ── CTA row: button + secondary links ── */
.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
[dir="rtl"] .hero-cta-row {
  align-items: flex-end;
}

.hero-cta-links {
  display: flex;
  gap: 12px;
}

/* secondary outline links — keep existing .hero-link-btn styles */
.hero-link-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 4px;
  border: 1px solid rgba(197, 35, 45, 0.38);
  color: rgba(248, 246, 240, 0.75);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--transition, 0.45s cubic-bezier(0.16, 1, 0.3, 1));
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.04);
}
.hero-link-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(197, 35, 45, 0.08);
  transform: translateY(-2px);
}

/* ── Responsive — tablet ── */
@media (max-width: 1024px) {
  .hero-content {
    padding: 0 48px 100px;
    gap: 32px;
  }
  .hero-line-1,
  .hero-line-2 {
    font-size: clamp(3rem, 7.5vw, 6rem);
  }
}

/* ── Responsive — mobile: stack vertically ── */
@media (max-width: 768px) {
  .hero {
    align-items: center;   /* على الموبايل: محتوى في الوسط */
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px 120px;
    gap: 32px;
    text-align: center;
  }
  .hero-left,
  [dir="rtl"] .hero-left {
    align-items: center;
    text-align: center;
    flex: unset;
    width: 100%;
  }
  .hero-right,
  [dir="rtl"] .hero-right {
    align-items: center;
    text-align: center;
    flex: unset;
    width: 100%;
  }
  .hero-split-desc,
  [dir="rtl"] .hero-split-desc {
    text-align: center;
    max-width: 480px;
  }
  .hero-cta-row,
  [dir="rtl"] .hero-cta-row {
    align-items: center;
  }
  .hero-line-1,
  .hero-line-2 {
    font-size: clamp(2.8rem, 11vw, 5rem);
  }
  .hero-award {
    display: none;
  }
  .hero-icon-box {
    display: none; /* hidden on mobile — Playsoru pattern */
  }
}

@media (max-width: 480px) {
  .hero-content { padding: 0 16px 120px; }
  .hero-line-1,
  .hero-line-2 { font-size: clamp(2.4rem, 12vw, 3.8rem); }
  .hero-cta-links { flex-direction: column; align-items: center; }
}

/* Keep old .tagline / .hero-desc for any other page that may use them */
.tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(248, 246, 240, 0.75);
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(248, 246, 240, 0.55);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

/* ============ CTA BUTTON — PREMIUM REDESIGN ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dim) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.6px;
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.38s ease,
    background 0.38s ease,
    color 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 22px var(--brand-glow),
    0 1px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

/* Shimmer sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.20) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
  z-index: 0;
}
.btn:hover::before {
  left: 145%;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 14px 44px rgba(197, 35, 45, 0.48),
    0 4px 14px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: var(--white);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 6px 20px var(--brand-glow);
}

.btn.dark {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  box-shadow: none;
}
.btn.dark::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(197, 35, 45, 0.14) 50%,
    transparent 100%
  );
}
.btn.dark:hover {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 28px var(--brand-glow);
}

/* Hero secondary links */
.hero-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.hero-link-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  border: 1px solid rgba(197, 35, 45, 0.4);
  color: rgba(248, 246, 240, 0.8);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.04);
}
.hero-link-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(197, 35, 45, 0.08);
  transform: translateY(-2px);
}

/* ============ SCROLL HINT — CINEMATIC REDESIGN ============ */
.hero-scroll-hint {
  position: absolute;
  margin-top: 20px;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation:
    scrollReveal 1s 1.8s ease forwards,
    scrollPulse  3s 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scrollReveal {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) translateY(0);   }
  50%       { opacity: 0.85; transform: translateX(-50%) translateY(-4px); }
}

/* Glassmorphism pill label */
.hero-scroll-hint span {
  font-size: 0.60rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.60);
  font-family: "Oxanium", "Cairo", sans-serif;
  font-weight: 400;
  padding: 5px 14px;
  border: 1px solid rgba(197, 35, 45, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 12, 0.50);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* Animated drop-light line */
.hero-scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(
    to bottom,
    transparent       0%,
    rgba(197, 35, 45, 0.85) 40%,
    rgba(197, 35, 45, 0.30) 75%,
    transparent       100%
  );
  background-size: 100% 200%;
  background-position: 0 -100%;
  animation: scrollLineDrop 2s 2.8s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes scrollLineDrop {
  0%   { background-position: 0 -100%; opacity: 0.4; }
  50%  { background-position: 0  60%;  opacity: 1;   }
  100% { background-position: 0 200%;  opacity: 0.4; }
}

/* ============ SECTION BASE ============ */
section {
  padding: 110px 80px;
  text-align: center;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
  font-weight: 400;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.2;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--brand);
  margin: 0 auto 56px;
  position: relative;
}
.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.section-divider::before {
  left: -12px;
}
.section-divider::after {
  right: -12px;
}

/* ============ ABOUT — PPTX EXACT DESIGN ============ */
.about {
  background: #0c0c0c;
  position: relative;
  overflow: hidden;
}

/* Damask texture from PPTX */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Section title — dark box with RED BORDER (matching PPTX screenshot) */
.about .section-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: #0B0B0B;
  color: #F0EDE8;
  padding: 14px 60px;
  border: 1.5px solid rgba(229, 57, 53, 0.7);
  border-radius: 4px;
  letter-spacing: 4px;
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.12);
}

.about .section-divider {
  position: relative;
  z-index: 1;
  background: rgba(229, 57, 53, 0.55);
}
.about .section-divider::before,
.about .section-divider::after {
  background: rgba(229, 57, 53, 0.55);
}

/* Grid — top padding to clear the diamond badge above each card */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 110px 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 110px;
  position: relative;
  z-index: 1;
}

/* Card — dark bg + red border (matching PPTX screenshot exactly) */
.about-card {
  position: relative;
  background: #151920;
  border: 1.5px solid rgba(229, 57, 53, 0.35);
  border-radius: 20px;
  padding: 48px 24px 32px;
  text-align: right;
  overflow: visible;
  cursor: default;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.04);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
}

/* Diamond rotated square decoration (PPTX roundRect rotated 45°) */
.about-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 106px;
  height: 106px;
  background: #1C2128;
  border: 1.5px solid rgba(229, 57, 53, 0.22);
  border-radius: 14px;
  z-index: 2;
  pointer-events: none;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.about-card:hover::before {
  background: #20262F;
  border-color: rgba(229, 57, 53, 0.5);
}

/* Small circle dot at arc-to-card junction (PPTX small circle decoration) */
.about-card::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.3);
  border: 1px solid rgba(229, 57, 53, 0.5);
  z-index: 3;
  pointer-events: none;
}

/* Subtle inner glow */
.about-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(229, 57, 53, 0.10) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
  opacity: 0.5;
}
.about-card:hover .about-card-glow {
  opacity: 1;
}

/* Title pill — centered at diamond center (PPTX flowChartTerminator overlay) */
.about-card-title {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  background: #1C2128;
  border: 1px solid rgba(229, 57, 53, 0.30);
  color: #F0EDE8;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 8px 50px;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 4;
  text-transform: none;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover .about-card-title {
  background: #232A34;
  border-color: rgba(229, 57, 53, 0.6);
  box-shadow: 0 4px 18px rgba(229, 57, 53, 0.18);
}

/* Icon circle — inside card body (centered, in-flow) */
.about-card-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #252525;
  border: 1.5px solid rgba(180, 180, 180, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.about-card-icon i,
.about-card-icon svg {
  font-size: 1.45rem;
  color: #999;
  stroke: #999;
  width: auto;
  height: auto;
}
.about-card:hover .about-card-icon {
  border-color: rgba(192, 0, 0, 0.5);
  transform: scale(1.08);
}
.about-card:hover .about-card-icon i,
.about-card:hover .about-card-icon svg {
  color: #c00000;
  stroke: #c00000;
}

/* Number watermark at bottom-left */
.about-card-number {
  position: absolute;
  bottom: 10px;
  left: 16px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  font-family: "Playfair Display", serif;
  transition: color 0.4s ease;
  user-select: none;
  z-index: 0;
}
.about-card:hover .about-card-number {
  color: rgba(192, 0, 0, 0.08);
}

/* Divider line */
.about-card-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(to left, rgba(229, 57, 53, 0.8), rgba(229, 57, 53, 0.2));
  border-radius: 2px;
  margin-bottom: 18px;
  margin-right: 0;
  margin-left: auto;
  transform-origin: right;
  position: relative;
  z-index: 1;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-card:hover .about-card-line {
  width: 68px;
}

/* Text */
.about-card-text {
  margin-top: 30px;
  color: rgba(240, 237, 232, 0.65);
  font-size: 0.9rem;
  line-height: 2;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.about-card:hover .about-card-text {
  color: rgba(240, 237, 232, 0.88);
}

/* Hover lift */
.about-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 57, 53, 0.65);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(229, 57, 53, 0.08),
    0 0 40px rgba(229, 57, 53, 0.10);
}

/* Stagger */
.about-card[data-index="0"] { transition-delay: 0.05s; }
.about-card[data-index="1"] { transition-delay: 0.15s; }
.about-card[data-index="2"] { transition-delay: 0.25s; }
.about-card[data-index="3"] { transition-delay: 0.35s; }

/* ============ TEAM GRID — Playsoru Style ============ */

.team-section-subtitle {
  text-align: center;
  color: rgba(240, 237, 232, 0.6);
  font-size: 1.05rem;
  max-width: 600px;
  margin: -8px auto 56px;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-item {
  position: relative;
}

.team-item .thumb {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.team-item .distort {
  pointer-events: none;
  width: 100%;
  height: auto;
  display: block;
}

.team-item .distort__img {
  transition: transform 0.5s ease;
  transform-origin: 50% 50%;
}

.team-item .thumb:hover .distort__img {
  transform: scale(1.08);
}

.team-item .thumb__caption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 30px;
  background: rgba(0, 0, 0, 0.4);
  transform: translate3d(0, 100%, 0);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 16px;
}

.team-item .thumb:hover .thumb__caption {
  transform: translate3d(0, 0, 0);
}

.team-item .thumb__caption-desc {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.team-item .thumb:hover .thumb__caption-desc {
  opacity: 1;
  transform: translateY(0);
}

.team-item__meta {
  padding-top: 18px;
}

.team-item__meta-job {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 6px;
}

.team-item__meta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
/* ============ VALUES ============ */
.values {
  background: linear-gradient(135deg, #0d1117 0%, #131722 50%, #0d1117 100%);
  position: relative;
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(197, 35, 45, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.values-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.value-box {
  background: transparent;
  border: 1px solid var(--border);
  padding: 28px 44px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.value-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197, 35, 45, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-box:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(197, 35, 45, 0.15);
}
.value-box:hover::after {
  opacity: 1;
}

/* ============ SERVICES / TEAM — GLASSMORPHISM REDESIGN ============ */
.Team {
  background: var(--deep);     /* same base as map-section */
  padding: 110px 80px;
  position: relative;
  overflow: hidden;
}

/* Separator beam — mirrors map-section::before */
.Team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.25;
  pointer-events: none;
}

/* Radial ambient — like map's cinematic mood */
.Team::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(197, 35, 45, 0.045) 0%,
    transparent 60%
  );
  pointer-events: none;
}


/* ============ PARTNERS — GLASSMORPHISM REDESIGN ============ */
.partners {
  background: var(--charcoal);     /* alternates from Team (deep) for rhythm */
  padding: 110px 80px;
  position: relative;
  overflow: hidden;
}

/* Radial ambient glow — like map section mood */
.partners::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(197, 35, 45, 0.042) 0%,
    transparent 65%
  );
  pointer-events: none;
}

/* Separator beam at top */
.partners::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 35, 45, 0.32), transparent);
  pointer-events: none;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Glass card — mirrors map-overlay-card DNA */
.partner-card {
  background: rgba(11, 11, 13, 0.74);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  border: 1px solid rgba(197, 35, 45, 0.16);
  border-radius: var(--radius-lg);
  padding: 30px 22px 24px;
  width: 168px;
  text-align: center;
  transition:
    transform    0.42s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow   0.42s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Top accent beam */
.partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.38s ease;
}
.partner-card:hover::before { opacity: 1; }

/* Bottom sweep line */
.partner-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transform: scaleX(0);
  transition: transform 0.45s ease;
}
.partner-card:hover::after { transform: scaleX(1); }

.partner-card:hover {
  border-color: rgba(197, 35, 45, 0.30);
  transform: translateY(-8px);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(197, 35, 45, 0.08) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.partner-card img {
  max-width: 80%;
  max-height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: grayscale(0.45) brightness(0.80);
  transition: filter 0.42s ease, transform 0.42s ease;
}
.partner-card:hover img {
  filter: grayscale(0) brightness(1.08) drop-shadow(0 2px 12px rgba(255,255,255,0.18));
  transform: scale(1.08);
}

.partner-card .lang-switch {
  font-size: 0.82rem;
  color: rgba(240, 237, 232, 0.50);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.30s ease;
}
.partner-card:hover .lang-switch {
  color: rgba(240, 237, 232, 0.88);
}

/* ============ CTA ============ */
.cta {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 120px 80px 0;
}

/* Diagonal gold line decoration */
.cta::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.4;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(197, 35, 45, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta .section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta .btn {
  position: relative;
  z-index: 1;
  margin-bottom: 80px;
}

/* CTA Social Icons */
.cta-social {
  position: absolute;
  top: 28px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.cta-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.15rem;
  color: rgba(248, 246, 240, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  text-decoration: none;
}
.cta-social a:hover {
  background: var(--brand);
  color: var(--black);
  border-color: var(--brand);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 24px rgba(197, 35, 45, 0.35);
}

/* ============ FOOTER COMMUNICATIONS ============ */
.footer-communications {
  border-top: 1px solid rgba(197, 35, 45, 0.15);
  padding: 64px 0 0;
  font-family: "Cairo", "Tajawal", sans-serif;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 48px;
}

.footer-col {
  min-width: 220px;
  flex: 1 1 260px;
}

.footer-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-dot {
  color: var(--brand);
  font-size: 2rem;
}

.footer-address {
  font-size: 0.95rem;
  color: rgba(248, 246, 240, 0.45);
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer-label {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  margin-top: 20px;
  font-weight: 400;
}

.footer-phones span,
.footer-emails span {
  display: block;
  font-size: 0.95rem;
  color: rgba(248, 246, 240, 0.65);
  margin-bottom: 4px;
}

.footer-section-title {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  font-weight: 400;
}

/* ==== Enhanced Footer Services List ==== */
.footer-col.services {
  padding-top: 10px;
}

.footer-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-align: right;
}

/* ============ FOOTER SERVICES LIST — LUXURY REDESIGN ============ */
.footer-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-services-list li {
  font-size: 0.92rem;
  color: rgba(248, 246, 240, 0.55);
  position: relative;
  line-height: 1;
  font-weight: 500;
  padding-right: 0;
}

/* Remove old bullet dot */
.footer-services-list li::before {
  display: none;
}

.footer-services-list a {
  display: inline-block;
  color: rgba(240, 237, 232, 0.62);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.2px;
  position: relative;
  padding: 6px 0 7px;
  transition:
    color 0.30s ease,
    letter-spacing 0.30s ease;
}

/* Luxury underline — thin line grows from right (RTL natural start) */
.footer-services-list a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-services-list a:hover {
  color: var(--white);
  letter-spacing: 0.45px;
  text-decoration: none;
}
.footer-services-list a:hover::after {
  transform: scaleX(1);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  color: rgba(248, 246, 240, 0.35);
  padding: 24px 40px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(197, 35, 45, 0.1);
}

/* ============ ANIMATION ============ */
.animate {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.about-grid .card:nth-child(1) {
  transition-delay: 0.05s;
}
.about-grid .card:nth-child(2) {
  transition-delay: 0.15s;
}
.about-grid .card:nth-child(3) {
  transition-delay: 0.25s;
}
.about-grid .card:nth-child(4) {
  transition-delay: 0.35s;
}

.values-grid .value-box:nth-child(1) {
  transition-delay: 0.1s;
}
.values-grid .value-box:nth-child(2) {
  transition-delay: 0.2s;
}
.values-grid .value-box:nth-child(3) {
  transition-delay: 0.3s;
}

/* ============ DARK MODE COMPAT ============ */
body.dark-mode {
  background: var(--black) !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  section {
    padding: 90px 50px;
  }
  .Team {
    padding: 90px 50px;
  }
  .partners {
    padding: 90px 50px;
  }
  .cta {
    padding: 100px 50px 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 28px;
  }
  .Team {
    padding: 80px 28px;
  }
  .partners {
    padding: 80px 28px;
  }
  .cta {
    padding: 90px 28px 0;
  }

  .hero-content {
    padding-bottom: 160px; /* more clearance when links stack vertically */
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-links {
    flex-direction: column;
    gap: 10px;
  }
  .hero-link-btn {
    padding: 12px 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 126px;
    padding-top: 110px;
  }

  .footer-container {
    flex-direction: column;
    gap: 32px;
    padding: 0 24px 40px;
  }

  .cta-social {
    top: 16px;
    right: 16px;
  }
  .cta-social a {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .hero-desc {
    font-size: 0.9rem;
  }
  .btn {
    padding: 13px 32px;
    font-size: 0.95rem;
  }
  .hero-link-btn {
    font-size: 0.9rem;
    padding: 11px 20px;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .partner-card {
    width: calc(50% - 10px);
  }
}

html[lang="ar"] .about .about-card-title {
  direction: rtl !important;
  text-align: center !important;
  font-family: "Cairo", "Tajawal", "Almarai", Arial, sans-serif !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

html[lang="en"] .about .about-card-title {
  direction: ltr !important;
  text-align: center !important;
  font-family: "Inter", "Montserrat", "Poppins", Arial, sans-serif !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
html[lang="en"] .about .about-card-line {
  direction: ltr !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* ============================================================
   MAP SECTION — PREMIUM INTERACTIVE LOCATION
   ============================================================ */
.map-section {
  background: var(--deep);
  padding: 110px 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle top separator beam */
.map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.3;
}

/* Map container with rounded card */
.map-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(197, 35, 45, 0.12);
  border: 1px solid rgba(197, 35, 45, 0.18);
  transition: box-shadow 0.4s ease;
}
.map-wrapper:hover {
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.70),
    0 0 0 1px rgba(197, 35, 45, 0.22);
}

/* Wraps iframe + pin bubble so bubble always references the map, not the card */
.map-iframe-wrap {
  position: relative;
  flex-shrink: 0;
}

/* Google Maps iframe */
#rdp-map {
  width: 100%;
  height: 500px;
  display: block;
  z-index: 1;
  background: var(--deep);
  border: 0;
}

/* Glassmorphism overlay info card */
.map-overlay-card {
  position: absolute;
  top: 50%;
  right: 36px;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(197, 35, 45, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  min-width: 210px;
  max-width: 270px;
  text-align: center;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(197, 35, 45, 0.08);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s ease;
}
.map-overlay-card:hover {
  transform: translateY(calc(-50% - 5px));
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(197, 35, 45, 0.18) inset;
}

/* Brand monogram circle */
/* Brand monogram circle with pulse ring */
@keyframes rdp-logo-pulse {
  0%   { box-shadow: 0 4px 18px rgba(197,35,45,0.40), 0 0 0 3px rgba(197,35,45,0.12); }
  50%  { box-shadow: 0 6px 28px rgba(197,35,45,0.60), 0 0 0 6px rgba(197,35,45,0.08); }
  100% { box-shadow: 0 4px 18px rgba(197,35,45,0.40), 0 0 0 3px rgba(197,35,45,0.12); }
}
.map-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: "Oxanium", "Cairo", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  animation: rdp-logo-pulse 3s ease-in-out infinite;
  direction: ltr; /* lock order: always R → DP regardless of RTL page dir */
}
.map-logo-r {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}
.map-logo-dp {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
}

/* Company name — gradient text */
.map-card-name {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  line-height: 1.25;
  background: linear-gradient(120deg, #ffffff 30%, var(--brand-light, #e8404a) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.map-name-en {
  font-weight: 700;
}
.map-name-highlight {
  font-weight: 900;
}

/* Arabic tagline under name */
.map-card-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(197, 35, 45, 0.75);
  margin-bottom: 14px;
  font-family: "Oxanium", "Cairo", sans-serif;
}

/* Thin decorative separator */
.map-card-sep {
  width: 40px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  margin: 0 auto 14px;
  border-radius: 2px;
}

.map-card-address {
  font-size: 0.78rem;
  color: rgba(248, 246, 240, 0.50);
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Directions CTA button inside card */
.map-directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dim) 100%);
  color: var(--white);
  font-family: "Cairo", "Tajawal", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition:
    transform 0.30s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.30s ease,
    background 0.30s ease;
  box-shadow: 0 4px 16px rgba(197, 35, 45, 0.32);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.map-directions-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 0.50s ease;
  pointer-events: none;
}
.map-directions-btn:hover::before {
  left: 145%;
}
.map-directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(197, 35, 45, 0.48);
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  color: var(--white);
}

/* ── Leaflet overrides for dark theme ── */
.leaflet-container {
  background: var(--deep) !important;
  font-family: "Cairo", "Tajawal", sans-serif !important;
}
.leaflet-control-zoom a {
  background: rgba(13, 17, 23, 0.90) !important;
  color: var(--white) !important;
  border-color: rgba(197, 35, 45, 0.25) !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 1rem !important;
  transition: background 0.25s ease, color 0.25s ease !important;
}
.leaflet-control-zoom a:hover {
  background: var(--brand) !important;
  color: var(--white) !important;
  border-color: var(--brand) !important;
}
.leaflet-control-attribution {
  background: rgba(10, 10, 12, 0.78) !important;
  color: rgba(248, 246, 240, 0.38) !important;
  font-size: 0.67rem !important;
  backdrop-filter: blur(6px) !important;
}

/* ── Pin label bubble — hovers above the Google Maps red marker ── */
.map-pin-bubble {
  position: absolute;
  /* pin sits at 50% x / 50% y of the iframe */
  left: 50%;
  top: 50%;
  /* move up: 100% of own height + 44px for the pin drop itself */
  transform: translate(-50%, calc(-100% - 44px));
  z-index: 6;
  pointer-events: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;

  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(197, 35, 45, 0.45);
  border-radius: 10px;
  padding: 7px 14px 6px;
  white-space: nowrap;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(197, 35, 45, 0.10) inset;
}

/* Downward triangle pointer aligned to the pin */
.map-pin-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top: 8px solid rgba(197, 35, 45, 0.45);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.map-pin-bubble::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top: 7px solid rgba(10, 10, 12, 0.90);
  z-index: 1;
}

.map-pin-bubble-en {
  font-family: "Oxanium", "Cairo", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: linear-gradient(120deg, #ffffff 20%, var(--brand-light, #e8404a) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.map-pin-bubble-ar {
  font-family: "Cairo", "Tajawal", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(197, 35, 45, 0.80);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* ── Map responsive ── */
@media (max-width: 1024px) {
  .map-section {
    padding: 90px 50px;
  }
}
@media (max-width: 768px) {
  .map-section {
    padding: 80px 20px;
  }
  .map-overlay-card {
    position: static;
    transform: none;
    max-width: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: 1px solid rgba(197, 35, 45, 0.20);
    border-left: none;
    border-right: none;
  }
  .map-overlay-card:hover {
    transform: none;
  }
  .map-wrapper {
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .map-iframe-wrap {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
  }
  #rdp-map {
    height: 320px;
  }
  .map-pin-bubble {
    padding: 5px 10px 4px;
  }
  .map-pin-bubble-en { font-size: 0.72rem; }
  .map-pin-bubble-ar { font-size: 0.60rem; }
}

/* ═══════════════════════════════════════════════════════════
   27-INCH  ≥ 1920px
   يشمل: 1080p 27" بـ 100%، و 1440p 27" بـ 150% أو 125% scaling
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1920px) {

  /* ── مساحة التنفس العامة للأقسام ── */
  section,
  .Team,
  .partners,
  .map-section { padding: 130px 80px; }
  .cta          { padding: 140px 80px 0; }

  /* ── توسيع جميع الحاويات ── */
  .about-grid,
  .team-grid,
  .partners-grid,
  .values-grid,
  .footer-container,
  .map-wrapper   { max-width: 1520px; }

  /* ── Hero ── */
  .hero-content  { max-width: 1020px; }
  .hero h1       { font-size: 5.8rem; }
  .tagline       { font-size: 1.65rem; }
  .hero-desc     { font-size: 1.18rem; max-width: 760px; }
  .hero::before  { left: 80px; }
  .hero::after   { right: 80px; }

  /* ── CTA button ── */
  .btn           { padding: 17px 52px; font-size: 1.08rem; }

  /* ── عناوين الأقسام ── */
  .section-title { font-size: 2.85rem; }
  .section-label { font-size: 0.75rem; letter-spacing: 5px; }

  /* ── الخريطة ── */
  #rdp-map       { height: 620px; }

  /* ── شريط بطاقات القيم ── */
  .values-grid   { gap: 32px; }
  .value-box     { padding: 32px 52px; }
}

/* ═══════════════════════════════════════════════════════════
   2K أصلي  ≥ 2200px
   يشمل: 1440p 27" بـ 100–115% scaling
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 2200px) {

  section,
  .Team,
  .partners,
  .map-section   { padding: 150px 80px; }
  .cta            { padding: 160px 80px 0; }

  .about-grid,
  .team-grid,
  .partners-grid,
  .values-grid,
  .footer-container,
  .map-wrapper   { max-width: 1820px; }

  .hero-content  { max-width: 1180px; }
  .hero h1       { font-size: 6.6rem; }
  .tagline       { font-size: 1.85rem; }
  .hero-desc     { font-size: 1.28rem; max-width: 880px; }
  .hero::before  { left: 100px; }
  .hero::after   { right: 100px; }

  .btn           { padding: 19px 60px; font-size: 1.12rem; }

  .section-title { font-size: 3.4rem; }
  .section-label { letter-spacing: 6px; }

  #rdp-map       { height: 720px; }

  .value-box     { padding: 36px 60px; }
}

/* ================================================================
   SERVICES-NEW — خدماتنا (4-column cinematic grid)
   ================================================================ */
.services-new-section {
  background: var(--black, #0a0a0a);
  padding: 80px 40px;
  
  text-align: center;
}

.services-new-section .section-title {
  display: block;
  width: 100%;
  text-align: center;
}

.services-new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1440px;
  margin: 50px auto 0;
  direction: rtl;
}

/* ── Column ── */
.sn-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sn-col-number {
  font-family: 'Oxanium', 'Cairo', monospace;
  font-size: 3.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  letter-spacing: 3px;
  margin-bottom: 4px;
  user-select: none;
}

/* ── Card ── */
.sn-card {
  border: 1.5px solid var(--brand, #C5232D);
  border-radius: 8px;
  padding: 18px 16px 16px;
  background: rgba(197, 35, 45, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  flex: 1 0 auto;
}

.sn-card:hover {
  background: rgba(197, 35, 45, 0.09);
  box-shadow: 0 0 24px rgba(197, 35, 45, 0.18);
  transform: translateY(-3px);
}

/* ── Card heading ── */
.sn-card-title {
  color: var(--brand, #C5232D);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197, 35, 45, 0.22);
  line-height: 1.5;
}

/* ── List ── */
.sn-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sn-list li {
  color: rgba(255, 255, 255, 0.80);
  font-family: 'Cairo', sans-serif;
  font-size: 0.80rem;
  line-height: 1.65;
  padding-right: 18px;
  position: relative;
  text-align: right;
}

.sn-list li::before {
  content: '✓';
  color: var(--brand, #C5232D);
  position: absolute;
  right: 0;
  font-weight: 700;
  font-size: 0.82rem;
  top: 2px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .services-new-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sn-col-number { font-size: 2.8rem; }
}

@media (max-width: 600px) {
  .services-new-section { padding: 60px 20px; }
  .services-new-grid { grid-template-columns: 1fr; gap: 16px; }
  .sn-col-number { font-size: 2.2rem; }
  .sn-card { padding: 14px 13px 13px; }
  .sn-card-title { font-size: 0.88rem; }
}

/* ============================================================
   ABOUT STATS — Playsoru-Inspired Counters
   ============================================================ */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3.5rem;
  margin-top: 3.5rem;
  padding: 2rem 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 130px;
}


.stat-item .stat-brace,
.stat-item .stat-number,
.stat-item .stat-suffix {
  display: inline;
  font-size: 2.6rem;
  font-weight: 900;
  font-family: "Cairo", "Tajawal", sans-serif;
  line-height: 1;
}

.stat-item .stat-brace {
  color: var(--brand, #C5232D);
  opacity: 0.85;
}

.stat-item .stat-number {
  color: var(--white, #f8f6f0);
}

.stat-item .stat-suffix {
  color: var(--brand, #C5232D);
}

.stat-item .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted, #9a9a9a);
  text-align: center;
  margin-top: 0.3rem;
}

@media (max-width: 600px) {
  .about-stats {
    gap: 1.5rem 2rem;
  }
  .stat-item .stat-brace,
  .stat-item .stat-number,
  .stat-item .stat-suffix {
    font-size: 2rem;
  }
}

/* ================================================================
   SERVICES ICON GRID — ps-services-icons
   Playsoru-inspired, DB-driven icon showcase
   ================================================================ */

.ps-services-icons {
  background: var(--deep, #0d1117);
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture */
.ps-services-icons::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 35, 45, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 35, 45, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.ps-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Individual card */
.ps-icon-card {
  position: relative;
  background: var(--card-bg, #131722);
  border: 1px solid var(--border, rgba(197,35,45,0.18));
  border-radius: var(--radius-lg, 16px);
  padding: 32px 16px 24px;
  text-align: center;
  cursor: default;
  overflow: hidden;
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.38s ease;
  animation-delay: var(--card-delay, 0s);
}

.ps-icon-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 35, 45, 0.55);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(197, 35, 45, 0.12) inset,
    0 0 24px rgba(197, 35, 45, 0.08);
}

/* Radial glow on hover */
.ps-icon-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(197,35,45,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.ps-icon-card:hover .ps-icon-card-glow { opacity: 1; }

/* Image wrapper */
.ps-icon-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 35, 45, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
  transition: border-color 0.35s ease;
}
.ps-icon-card:hover .ps-icon-img-wrap {
  border-color: rgba(197, 35, 45, 0.45);
}
.ps-icon-img-wrap img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.35s ease, transform 0.4s ease;
}
.ps-icon-card:hover .ps-icon-img-wrap img {
  filter: brightness(1.1);
  transform: scale(1.08);
}

/* Service name label */
.ps-icon-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white, #f8f6f0);
  line-height: 1.4;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}
.ps-icon-card:hover .ps-icon-card-name {
  color: var(--brand-light, #E8404A);
}

/* Bottom accent line */
.ps-icon-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand, #C5232D), transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-icon-card:hover .ps-icon-card-line {
  transform: scaleX(1);
}

/* Empty state */
.ps-no-data {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted, #9a9a9a);
  font-size: 0.95rem;
  padding: 40px 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ps-icon-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .ps-icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .ps-icon-card {
    padding: 20px 10px 16px;
  }
  .ps-icon-img-wrap {
    width: 52px;
    height: 52px;
  }
  .ps-icon-img-wrap img {
    width: 36px;
    height: 36px;
  }
  .ps-icon-card-name {
    font-size: 0.75rem;
  }
}


/* ================================================================
   PARTNERS — Auto-scroll brand ticker (CSS-only infinite loop)
   ================================================================ */

.ps-brands-section {
  background: #0c0c0c;
  overflow: hidden;
}

.ps-brands-ticker-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Edge fade masks */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

/* Pause on hover/focus */
.ps-brands-ticker-wrap:hover .ps-brands-track {
  animation-play-state: paused;
}

.ps-brands-ticker {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.ps-brands-track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: brandScroll 30s linear infinite;
  will-change: transform;
}

/* RTL direction: scroll right-to-left visually */
[dir="rtl"] .ps-brands-track {
  animation-name: brandScrollRTL;
}

@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes brandScrollRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* Individual brand item */
.ps-brand-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 16px 24px;
  border: 1px solid rgba(197, 35, 45, 0.12);
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.35s ease;
  cursor: default;
}
.ps-brand-item:hover {
  border-color: rgba(197, 35, 45, 0.40);
  background: rgba(197, 35, 45, 0.04);
  transform: translateY(-3px);
}

.ps-brand-item img {
  width: 90px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(60%) brightness(0.85);
  transition: filter 0.35s ease;
}
.ps-brand-item:hover img {
  filter: grayscale(0%) brightness(1.1);
}

.ps-brand-name {
  font-size: 0.72rem;
  color: var(--muted, #9a9a9a);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}
.ps-brand-item:hover .ps-brand-name {
  color: var(--brand-light, #E8404A);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .ps-brands-track { gap: 28px; }
  .ps-brand-item { padding: 12px 16px; }
  .ps-brand-item img { width: 70px; height: 36px; }
}


/* ================================================================
   PORTFOLIO PREVIEW — ps-portfolio-section
   Playsoru "Featured works" style grid
   ================================================================ */

.ps-portfolio-section {
  background: var(--background-deep, #0d1117);
  position: relative;
  overflow: hidden;
}

/* Background texture dots */
.ps-portfolio-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197,35,45,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.ps-portfolio-section > * { position: relative; z-index: 1; }

/* ── Grid ── */
.ps-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

/* Individual item */
.ps-portfolio-item {
  animation-delay: var(--item-delay, 0s);
}

.ps-portfolio-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border, rgba(197,35,45,0.18));
  aspect-ratio: 16 / 9;
  background: var(--background-card, #151920);
  text-decoration: none;
  transition: border-color 0.35s ease, box-shadow 0.38s ease;
}
.ps-portfolio-thumb:hover {
  border-color: rgba(197, 35, 45, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.60);
}

.ps-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.ps-portfolio-thumb:hover img {
  transform: scale(1.06);
  filter: brightness(0.75);
}

/* ── Play button — YouTube-style, always visible, pulsing ── */
@keyframes playPulseRing {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.55; }
  70%  { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
}

.ps-portfolio-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  /* حلقة خارجية شفافة للنبض */
  background: transparent;
  border: 2.5px solid rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  opacity: 0.72;           /* دائماً مرئية — معبرة أكثر */
  transition:
    opacity 0.32s ease,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.32s ease;
  pointer-events: none;
}

/* الدائرة الداخلية المملوءة بالأحمر */
.ps-portfolio-play::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(197, 35, 45, 0.88);
  transition: background 0.30s ease, inset 0.32s ease;
}

/* حلقة النبض */
.ps-portfolio-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(197, 35, 45, 0.6);
  animation: playPulseRing 2.2s ease-out infinite;
}

/* أيقونة التشغيل فوق الدائرة */
.ps-portfolio-play i {
  position: relative;
  z-index: 1;
  margin-right: -3px;       /* توسيط بصري لمثلث الـ play */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

/* عند الـ hover */
.ps-portfolio-thumb:hover .ps-portfolio-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12);
  border-color: rgba(255, 255, 255, 0.95);
}
.ps-portfolio-thumb:hover .ps-portfolio-play::before {
  background: rgba(197, 35, 45, 1);
  inset: 4px;
}

/* Video/film fallback thumb */
.ps-portfolio-video-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background-card, #151920) 0%, #0a0a14 100%);
  color: rgba(197, 35, 45, 0.35);
  font-size: 2.5rem;
}

/* Hover overlay */
.ps-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,14,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ps-portfolio-thumb:hover .ps-portfolio-overlay { opacity: 1; }

.ps-portfolio-caption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white, #f8f6f0);
  line-height: 1.4;
  margin-bottom: 4px;
}

.ps-portfolio-cat {
  font-size: 0.72rem;
  color: var(--brand-light, #E8404A);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Empty state */
.ps-portfolio-empty {
  color: var(--muted, #9a9a9a);
  font-size: 1rem;
  margin: 24px 0 40px;
}

/* CTA button — reuse ps-cta-btn style */
.ps-portfolio-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ps-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .ps-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ps-portfolio-thumb {
    aspect-ratio: 16 / 9;
  }
}


/* ================================================================
   PLAYSORU DESIGN SYSTEM — HOME SECTIONS
   Shared components: ps-label · ps-section-heading · brace
   ps-service-card · ps-cta · ps-footer
   ================================================================ */

/* ── Shared: { label } ── */
.ps-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(248, 246, 240, 0.55);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  font-family: "Oxanium", "Cairo", sans-serif;
}
.ps-label .brace,
.brace {
  color: var(--brand, #C5232D);
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1;
}

/* ── Shared: big section heading ── */
.ps-section-heading {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  color: var(--white, #f8f6f0);
  line-height: 1.15;
  margin-bottom: 16px;
  font-family: "Sora", "Cairo", sans-serif;
}

/* ── Animate helper — used across all sections ── */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate.show {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================================
   SERVICES DETAIL SECTION — ps-services-section
   Playsoru accordion-list style with side media
   ================================================================ */

.ps-services-section {
  background: #0a0a0a;
  text-align: start;
  padding-bottom: 4rem;
}

.ps-services-grid {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 0 0 100px;
  gap: 0;
}

/* ── Individual service card ── */
.ps-service-card {
  border-top: 1px solid rgba(197, 35, 45, 0.18);
  padding: 44px 48px;
  transition:
    background 0.35s ease,
    padding 0.3s ease,
    box-shadow 0.35s ease;
  /* ── Sticky scroll stack (Playsoru style) ── */
  position: sticky;
  top: 72px;
  background: #0a0a0a;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.55);
}
.ps-service-card:last-child {
  border-bottom: 1px solid rgba(197, 35, 45, 0.18);
}
.ps-service-card:hover {
  background: rgba(14, 10, 10, 0.98);
  padding-inline-start: 12px;
  box-shadow: 0 -10px 48px rgba(197, 35, 45, 0.12);
}

/* ── z-index stacking: last card on top ── */
.ps-service-card:nth-child(1) { z-index: 1; }
.ps-service-card:nth-child(2) { z-index: 2; }
.ps-service-card:nth-child(3) { z-index: 3; }
.ps-service-card:nth-child(4) { z-index: 4; }
.ps-service-card:nth-child(5) { z-index: 5; }
.ps-service-card:nth-child(6) { z-index: 6; }
.ps-service-card:nth-child(7) { z-index: 7; }
.ps-service-card:nth-child(8) { z-index: 8; }
.ps-service-card:nth-child(9) { z-index: 9; }

/* Header row: index + Learn More button */
.ps-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ps-service-index {
  font-size: 0.82rem;
  color: var(--brand, #C5232D);
  font-family: "Oxanium", monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
}
.ps-service-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(248, 246, 240, 0.60);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, gap 0.25s ease;
}
.ps-service-btn i {
  font-size: 0.75em;
  transition: transform 0.3s ease;
}
.ps-service-btn:hover {
  color: var(--brand, #C5232D);
}
.ps-service-btn:hover i {
  transform: translate(2px, -2px);
}

/* Service title */
.ps-service-title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--white, #f8f6f0);
  line-height: 1.1;
  margin-bottom: 28px;
  font-family: "Sora", "Cairo", sans-serif;
  transition: color 0.25s ease;
}
.ps-service-card:hover .ps-service-title {
  color: rgba(248, 246, 240, 0.88);
}

/* ── Main body: media + accent line + list ── */
.ps-service-main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 20px;
}

/* ── SIDE MEDIA — image/video ── */
.ps-service-media {
  flex: 0 0 300px;
  width: 300px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(197, 35, 45, 0.18);
  background: var(--background-card, #151920);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.50);
  transition:
    border-color 0.35s ease,
    box-shadow 0.38s ease;
}
.ps-service-card:hover .ps-service-media {
  border-color: rgba(197, 35, 45, 0.42);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.65);
}

/* Image inside media */
.ps-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease;
  filter: brightness(0.88) saturate(0.9);
}
.ps-service-card:hover .ps-service-media img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1);
}

/* Gradient overlay on media */
.ps-service-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(197, 35, 45, 0.10) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* Fallback when no image */
.ps-service-media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #151920 0%, #0a0a14 100%);
  color: rgba(197, 35, 45, 0.25);
  font-size: 3rem;
}

/* ── Accent vertical line ── */
.ps-service-accent {
  flex: 0 0 3px;
  width: 3px;
  align-self: stretch;
  min-height: 120px;
  background: linear-gradient(
    to bottom,
    var(--brand, #C5232D) 0%,
    rgba(197, 35, 45, 0.15) 70%,
    transparent 100%
  );
  border-radius: 3px;
  transition: opacity 0.3s ease;
}

/* ── Bullet list ── */
.ps-service-list {
  flex: 1;
  min-width: 0;
}
.ps-service-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ps-service-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  color: rgba(248, 246, 240, 0.68);
  font-size: 0.93rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}
.ps-service-list li:last-child { border-bottom: none; }
.ps-service-list li:hover { color: rgba(248, 246, 240, 0.90); }
.ps-bullet {
  color: var(--brand, #C5232D);
  font-size: 0.65em;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Excerpt text ── */
.ps-service-excerpt {
  font-size: 0.88rem;
  color: rgba(248, 246, 240, 0.40);
  line-height: 1.85;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ps-service-media { flex: 0 0 240px; width: 240px; }
  .ps-service-title { font-size: clamp(1.4rem, 3vw, 2rem); }
}
@media (max-width: 768px) {
  .ps-service-main {
    flex-direction: column;
    gap: 20px;
  }
  .ps-service-media {
    flex: unset;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
  }
  .ps-service-accent {
    width: 100%;
    height: 3px;
    min-height: unset;
    align-self: auto;
    background: linear-gradient(to right, var(--brand) 0%, transparent 100%);
  }
}
@media (max-width: 480px) {
  .ps-service-card { padding: 28px 0; }
  .ps-service-media { max-width: 100%; }
}

/* ================================================================
   SERVICES — Playsoru Scroll Animation (Task 5)
   بطاقة كل خدمة تدخل بشكل درامي عند التمرير
   ================================================================ */

/* ── كل البطاقة: تصغير + انزلاق للأسفل + شفافية ── */
.ps-service-card.animate {
  opacity: 0;
  transform: translateY(56px) scale(0.97);
  transition:
    opacity 0.80s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.80s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-service-card.animate.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── الصورة الجانبية: تدخل من جانب RTL مع تأخير ── */
.ps-service-card.animate .ps-service-media {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.70s 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.70s 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-service-card.animate.show .ps-service-media {
  opacity: 1;
  transform: translateX(0);
}

/* RTL: الصورة تدخل من اليمين */
[dir="rtl"] .ps-service-card.animate .ps-service-media {
  transform: translateX(-48px);
}
[dir="rtl"] .ps-service-card.animate.show .ps-service-media {
  transform: translateX(0);
}

/* ── العنوان: ينزل من الأعلى ── */
.ps-service-card.animate .ps-service-title {
  opacity: 0;
  transform: translateY(-18px);
  transition:
    opacity 0.60s 0.12s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.60s 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-service-card.animate.show .ps-service-title {
  opacity: 1;
  transform: translateY(0);
}

/* ── قائمة الخدمات: كل عنصر بتأخير متتابع ── */
.ps-service-card.animate .ps-service-list li {
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.50s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.50s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-service-card.animate.show .ps-service-list li:nth-child(1) { opacity:1; transform:translateX(0); transition-delay: 0.30s; }
.ps-service-card.animate.show .ps-service-list li:nth-child(2) { opacity:1; transform:translateX(0); transition-delay: 0.38s; }
.ps-service-card.animate.show .ps-service-list li:nth-child(3) { opacity:1; transform:translateX(0); transition-delay: 0.46s; }
.ps-service-card.animate.show .ps-service-list li:nth-child(4) { opacity:1; transform:translateX(0); transition-delay: 0.54s; }
.ps-service-card.animate.show .ps-service-list li:nth-child(5) { opacity:1; transform:translateX(0); transition-delay: 0.62s; }

[dir="rtl"] .ps-service-card.animate .ps-service-list li {
  transform: translateX(-24px);
}
[dir="rtl"] .ps-service-card.animate.show .ps-service-list li { transform: translateX(0); }

/* ── الخط العمودي: يطول تدريجياً ── */
.ps-service-card.animate .ps-service-accent {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition:
    opacity 0.55s 0.35s ease,
    transform 0.55s 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-service-card.animate.show .ps-service-accent {
  opacity: 1;
  transform: scaleY(1);
}

/* ── الملخص السفلي: يظهر أخيراً ── */
.ps-service-card.animate .ps-service-excerpt {
  opacity: 0;
  transition: opacity 0.50s 0.65s ease;
}
.ps-service-card.animate.show .ps-service-excerpt {
  opacity: 1;
}

/* ── عنوان القسم ورمز {} ── */
.ps-services-section .ps-label.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.60s ease, transform 0.60s ease;
}
.ps-services-section .ps-label.animate.show {
  opacity: 1;
  transform: translateY(0);
}
.ps-services-section .ps-section-heading.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.70s 0.12s cubic-bezier(0.16, 1, 0.3, 1), transform 0.70s 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-services-section .ps-section-heading.animate.show {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================================
   CTA SECTION — ps-cta
   Playsoru full-width CTA + footer grid
   ================================================================ */

.ps-cta {
  background: #0a0a0a;
  padding: 100px 80px 60px;
  text-align: center;
  border-top: 1px solid rgba(197, 35, 45, 0.12);
}

/* Social icons row */
.cta-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}
.cta-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(197, 35, 45, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 246, 240, 0.65);
  font-size: 1.15rem;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.35s ease;
}
.cta-social a:hover {
  background: var(--brand, #C5232D);
  border-color: var(--brand, #C5232D);
  color: #fff;
  transform: translateY(-3px);
}

/* CTA heading */
.ps-cta-content { margin-bottom: 72px; }
.ps-cta-heading {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white, #f8f6f0);
  line-height: 1.15;
  margin-bottom: 36px;
  font-family: "Sora", "Cairo", sans-serif;
}

/* CTA button */
.ps-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 42px;
  border-radius: var(--radius-pill, 999px);
  background: linear-gradient(135deg, var(--brand, #C5232D) 0%, var(--brand-dim, #7A1218) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.38s ease;
  box-shadow: 0 6px 28px rgba(197, 35, 45, 0.38);
}
.ps-cta-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.ps-cta-btn:hover::before { left: 145%; }
.ps-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 44px rgba(197, 35, 45, 0.50);
  color: #fff;
}
.ps-cta-btn i { font-size: 0.85em; }

/* Footer columns grid */
.ps-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  max-width: 1200px;
  margin: 0 auto 60px;
}
.ps-footer-col {
  min-width: 0;
  text-align: center;
}
.ps-footer-col-label {
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand, #C5232D);
  font-weight: 700;
  margin-bottom: 16px;
  font-family: "Oxanium", "Cairo", sans-serif;
}
.ps-footer-col-val {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.90rem;
  color: rgba(248, 246, 240, 0.60);
  line-height: 1.7;
}

/* Footer services list */
.ps-footer-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ps-footer-services li a {
  font-size: 0.88rem;
  color: rgba(248, 246, 240, 0.58);
  text-decoration: none;
  transition: color 0.25s ease, padding-inline-start 0.25s ease;
  display: block;
}
.ps-footer-services li a:hover {
  color: var(--brand, #C5232D);
  padding-inline-start: 6px;
}

/* Footer bottom bar */
.ps-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.80rem;
  color: rgba(248, 246, 240, 0.38);
  flex-wrap: wrap;
  gap: 12px;
}
.ps-footer-links {
  display: flex;
  gap: 24px;
}
.ps-footer-links a {
  color: rgba(248, 246, 240, 0.45);
  text-decoration: none;
  font-size: 0.80rem;
  transition: color 0.25s ease;
}
.ps-footer-links a:hover { color: var(--brand, #C5232D); }

/* ── Marquee shared style ── */
.rdp-marquee {
  overflow: hidden;
  background: rgba(197, 35, 45, 0.06);
  border-top: 1px solid rgba(197, 35, 45, 0.12);
  border-bottom: 1px solid rgba(197, 35, 45, 0.12);
  padding: 14px 0;
  white-space: nowrap;
}
.rdp-marquee-inner {
  display: inline-flex;
  gap: 32px;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
}
.rdp-marquee-inner span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 246, 240, 0.50);
  font-family: "Oxanium", "Cairo", sans-serif;
}
.rdp-marquee-inner .sep {
  color: var(--brand, #C5232D);
  opacity: 0.6;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.rdp-marquee-footer {
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(197, 35, 45, 0.10);
  border-bottom: none;
}

/* ── CTA Responsive ── */
@media (max-width: 900px) {
  .ps-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-cta { padding: 80px 40px 48px; }
}
@media (max-width: 540px) {
  .ps-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ps-cta { padding: 60px 20px 40px; }
  .ps-cta-heading { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .ps-footer-bar { flex-direction: column; align-items: center; text-align: center; }
}

/* ── About section shared Playsoru styles ── */
.stat-item .stat-desc {
  font-size: 0.72rem;
  color: rgba(248,246,240,0.35);
  line-height: 1.5;
  text-align: center;
  margin-top: 0.25rem;
}