/* ─────────────────────────────────────────────
   Language Switcher Styles
───────────────────────────────────────────── */
.lang-switcher {
  display: flex; gap: 4px; align-items: center; margin-left: 16px;
}
.lang-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.6); font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  padding: 5px 10px; cursor: pointer; border-radius: 2px;
  transition: all .2s; text-transform: uppercase;
}
.lang-btn:hover { border-color: #D4A843; color: #D4A843; }
.lang-btn.lang-active {
  background: #B8922A; border-color: #B8922A;
  color: #1A1510; pointer-events: none;
}
nav.scrolled .lang-btn { border-color: rgba(26,21,16,.2); color: rgba(26,21,16,.5); }
nav.scrolled .lang-btn:hover { border-color: #D4A843; color: #D4A843; }
nav.scrolled .lang-btn.lang-active { background: #B8922A; border-color: #B8922A; color: #1A1510; }

/* Mobile language switcher */
.mobile-menu .lang-switcher {
  margin: 16px 0 0; justify-content: center; gap: 8px;
}
.mobile-menu .lang-btn {
  font-size: 14px; padding: 8px 18px;
  border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.6);
}
.mobile-menu .lang-btn.lang-active { background: #B8922A; border-color: #B8922A; color: #1A1510; }

/* Services page nav (always dark bg) */
nav:not(.scrolled) .lang-btn { border-color: rgba(247,243,236,.25); color: rgba(247,243,236,.5); }

/* ─────────────────────────────────────────────
   RTL OVERRIDES — Arabic
───────────────────────────────────────────── */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] nav { flex-direction: row-reverse; }
[dir="rtl"] .nav-logo { letter-spacing: 0; order: 0; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-links a { direction: rtl; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 12px; flex-direction: row-reverse; }
[dir="rtl"] .nav-cta-btn { margin-left: 0; margin-right: 0; }
[dir="rtl"] .nav-deals-btn { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .nav-toggle { order: -1; }

[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .hero-eyebrow-line { margin-left: 16px; margin-right: 0; }
[dir="rtl"] .hero-sub { margin-left: auto; margin-right: 0; }
[dir="rtl"] .hero-buttons { flex-direction: row-reverse; }

[dir="rtl"] .section-label { text-align: right; }
[dir="rtl"] .section-head { text-align: right; }
[dir="rtl"] .lead { text-align: right; margin-left: auto; margin-right: 0; }

[dir="rtl"] .about-split { direction: rtl; }
[dir="rtl"] .intro-strip { flex-direction: row-reverse; }
[dir="rtl"] .intro-strip-label { border-right: none; border-left: 1px solid rgba(184,146,42,.3); padding-right: 0; padding-left: 24px; margin-right: 0; margin-left: 24px; }

[dir="rtl"] .result-quote { border-left: none; border-right: 3px solid #D4A843; padding-left: 0; padding-right: 16px; }
[dir="rtl"] .result-nums { flex-direction: row-reverse; }

[dir="rtl"] .testi-info { flex-direction: row-reverse; }
[dir="rtl"] .testi-meta { text-align: right; }

[dir="rtl"] .footer-top { direction: rtl; }
[dir="rtl"] .footer-links { flex-direction: row-reverse; }

[dir="rtl"] .mobile-menu { text-align: center; }

/* Service cards RTL */
[dir="rtl"] .service-card-body { text-align: right; }
[dir="rtl"] .services-grid { direction: rtl; }
[dir="rtl"] .featured-service { direction: rtl; }
[dir="rtl"] .featured-body { text-align: right; }
[dir="rtl"] .featured-stats { flex-direction: row-reverse; }
[dir="rtl"] .resources-grid { direction: rtl; }
[dir="rtl"] .res-card-body { text-align: right; }

/* Deal cards RTL */
[dir="rtl"] .results-grid { direction: rtl; }

/* GDPR cookie bar RTL */
[dir="rtl"] .cookie-bar { flex-direction: row-reverse; }
[dir="rtl"] .gdpr-cookie-bar { flex-direction: row-reverse; }
[dir="rtl"] .gdpr-cookie-btns { flex-direction: row-reverse; }

/* Hero text readability — darker overlay for Arabic */
[dir="rtl"] .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,21,16,.55) 0%, rgba(26,21,16,.7) 100%);
  z-index: 1;
}
[dir="rtl"] .image-break-content { text-shadow: 0 2px 12px rgba(0,0,0,.6); }

/* Spacing — consistent section padding */
[dir="rtl"] .about-split { gap: 48px; }
[dir="rtl"] .svc { text-align: right; }
[dir="rtl"] .svc-tag { text-align: right; }
[dir="rtl"] .about-badges { flex-direction: row-reverse; }
[dir="rtl"] .about-content { text-align: right; }
[dir="rtl"] .about-img-caption { text-align: right; }

/* Process section RTL */
[dir="rtl"] .process-grid { direction: rtl; }
[dir="rtl"] .process-step { text-align: right; direction: rtl; }

/* Contact form RTL */
[dir="rtl"] .form-group { text-align: right; }
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea { text-align: right; direction: rtl; }

/* Sectors / Markets RTL */
[dir="rtl"] .sector-card { text-align: right; }
[dir="rtl"] .market-card { text-align: right; direction: rtl; }

/* Why-us cards RTL */
[dir="rtl"] .why-item { text-align: right; direction: rtl; }
[dir="rtl"] .why-item-text { text-align: right; }

/* Footer RTL */
[dir="rtl"] .footer-col { text-align: right; }
[dir="rtl"] .footer-desc { text-align: right; }
[dir="rtl"] .footer-info { text-align: right; }
[dir="rtl"] .footer-bottom { text-align: right; direction: rtl; }

/* Intro items RTL fix */
[dir="rtl"] .intro-item { border-right: none; border-left: 1px solid rgba(184,146,42,.15); }
[dir="rtl"] .intro-item:last-child { border-left: none; }

/* FAQ RTL */
[dir="rtl"] .faq-q { text-align: right; direction: rtl; }
[dir="rtl"] .faq-a { text-align: right; direction: rtl; }
[dir="rtl"] .faq-toggle { order: -1; }

/* Testimonial cards RTL */
[dir="rtl"] .testi-card { text-align: right; }
[dir="rtl"] .testi-quote { text-align: right; direction: rtl; }

/* Arabic font stack */
[dir="rtl"] body { font-family: 'Noto Sans Arabic', 'Outfit', sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .nav-logo, [dir="rtl"] .footer-logo {
  font-family: 'Noto Serif Arabic', 'Cormorant Garamond', serif;
}

/* ─────────────────────────────────────────────
   GLOBAL POLISH — All Languages
───────────────────────────────────────────── */

/* Nav buttons — larger, closer together */
.nav-cta-btn {
  font-size: 12px !important; padding: 14px 30px !important;
  letter-spacing: 1.2px !important; margin-left: 6px !important;
}
.nav-deals-btn {
  font-size: 12px !important; padding: 14px 30px !important;
  margin-left: 6px !important; margin-right: 0 !important;
}

/* Hero CTA buttons — bigger + shining gold */
.btn-gold {
  padding: 20px 48px !important; font-size: 14px !important;
  letter-spacing: 2px !important;
  background: linear-gradient(135deg, #D4A843, #B8922A, #D4A843) !important;
  background-size: 200% 200% !important;
  animation: btnGoldShimmer 3s ease infinite, btnGoldPulse 2.5s ease-in-out infinite !important;
  border: 1px solid var(--gold2) !important;
  box-shadow: 0 0 14px rgba(184,146,42,.3), 0 0 28px rgba(184,146,42,.12) !important;
}
.btn-gold:hover {
  animation: none !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 0 22px rgba(184,146,42,.5), 0 10px 36px rgba(184,146,42,.3) !important;
}
.btn-ghost-white {
  padding: 20px 48px !important; font-size: 14px !important;
  letter-spacing: 2px !important;
}
@keyframes btnGoldShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes btnGoldPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(184,146,42,.3), 0 0 28px rgba(184,146,42,.1); }
  50%      { box-shadow: 0 0 22px rgba(212,168,67,.5), 0 0 44px rgba(184,146,42,.25); }
}

/* Icons — remove dark square backgrounds, minimal style */
.why-icon, .why-item-icon {
  background: transparent !important;
  border: none !important;
  width: 44px !important; height: 44px !important;
}
.why-icon svg, .why-item-icon svg {
  width: 32px !important; height: 32px !important;
  stroke-width: 1.2 !important;
}

/* Mobile hero — dual CTA buttons */
@media (max-width: 768px) {
  .hero-buttons { display: flex !important; flex-wrap: wrap; gap: 12px; }
  .hero-buttons a { flex: 1 1 auto; text-align: center; justify-content: center; min-width: 160px; }
  .mobile-deals-bar { display: none !important; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column !important; }
  .hero-buttons a { width: 100%; }
}

/* ─────────────────────────────────────────────
   ARABIC POLISH — RTL Layout & Spacing
───────────────────────────────────────────── */

/* Section spacing — breathing room between sections */
[dir="rtl"] .services-section,
[dir="rtl"] .process-section,
[dir="rtl"] .sectors-section,
[dir="rtl"] .markets-section,
[dir="rtl"] .why-section,
[dir="rtl"] .testimonials-section,
[dir="rtl"] .faq-section,
[dir="rtl"] .results-section {
  padding-top: clamp(80px, 10vw, 120px) !important;
  padding-bottom: clamp(80px, 10vw, 120px) !important;
}

/* Services/deals cards — right-align headings and content */
[dir="rtl"] .services-section .section-label,
[dir="rtl"] .services-section .section-head,
[dir="rtl"] .services-section .lead {
  text-align: right;
}
[dir="rtl"] .svc-num { text-align: right; }
[dir="rtl"] .svc h3 { text-align: right; }
[dir="rtl"] .svc p { text-align: right; }

/* Process section mobile — fix text-align for RTL */
@media (max-width: 768px) {
  [dir="rtl"] .process-week,
  [dir="rtl"] .process-step h3 { text-align: right !important; }
  [dir="rtl"] .process-items li { text-align: right !important; }
}

/* Edge padding — ensure text doesn't touch edges */
[dir="rtl"] .image-break { padding-right: clamp(28px, 5vw, 60px) !important; padding-left: clamp(28px, 5vw, 60px) !important; }
[dir="rtl"] .image-break h2 { text-align: right; }
[dir="rtl"] .image-break p { text-align: right; }
[dir="rtl"] .image-break-content { text-align: right; padding-right: clamp(28px, 5vw, 60px); }

/* Contact section RTL — proper alignment and spacing */
[dir="rtl"] .contact-left h2 { text-align: right; }
[dir="rtl"] .contact-left p { text-align: right; }
[dir="rtl"] .contact-details-list { text-align: right; direction: rtl; }
[dir="rtl"] .contact-detail-row { direction: rtl; text-align: right; }
[dir="rtl"] .contact-promises { text-align: right; direction: rtl; }
[dir="rtl"] .contact-promise { flex-direction: row-reverse; text-align: right; }

/* Image breaks — consistent dark overlays */
[dir="rtl"] .image-break::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(10,8,5,.55) 0%, rgba(10,8,5,.25) 60%);
  z-index: 1; pointer-events: none;
}
[dir="rtl"] .image-break { position: relative; overflow: hidden; }
[dir="rtl"] .image-break > * { position: relative; z-index: 2; }

/* Bookcall section RTL */
[dir="rtl"] .bookcall-text { text-align: right; }
[dir="rtl"] .bookcall-text h2 { text-align: right; }
[dir="rtl"] .bookcall-text p { text-align: right; }
[dir="rtl"] .bookcall-list { text-align: right; direction: rtl; }
[dir="rtl"] .bookcall-list li { direction: rtl; }

/* Hero stats RTL — left side, bigger, closer together */
[dir="rtl"] .hero-stats {
  right: auto !important; left: var(--gutter) !important;
  gap: 0 !important;
}
[dir="rtl"] .hero-stat {
  text-align: center; padding: 24px 40px !important;
}
[dir="rtl"] .hero-stat-n {
  font-size: 48px !important;
}
[dir="rtl"] .hero-stat-l {
  font-size: 12px !important; margin-top: 6px !important;
}

/* AR hero layout — text stacked vertically on right (RTL = visual left) */
[dir="rtl"] .hero-content {
  display: flex !important; flex-direction: column !important;
  align-items: flex-end !important; text-align: right !important;
}
[dir="rtl"] .hero-buttons {
  justify-content: flex-end !important;
}

/* CTA/banner bars RTL */
[dir="rtl"] .gold-bar,
[dir="rtl"] .cta-bar { text-align: right; direction: rtl; }

/* Mobile menu RTL */
@media (max-width: 768px) {
  [dir="rtl"] .hero-content { text-align: right !important; }
  [dir="rtl"] .hero-buttons { justify-content: flex-end; }
}

/* Final CTA spacing */
[dir="rtl"] .contact-section { gap: 0; }
[dir="rtl"] .contact-right h3 { text-align: right; margin-bottom: 24px; }
[dir="rtl"] .form-submit { width: 100%; }

/* ─────────────────────────────────────────────
   VISUAL POLISH ROUND 2
───────────────────────────────────────────── */

/* #2 — AR hero buttons align with text (flush right = visual left in RTL) */
[dir="rtl"] .hero-buttons {
  justify-content: flex-start !important;
  flex-direction: row-reverse !important;
}

/* #3 — AR image-break CTA centered */
[dir="rtl"] .image-break-content {
  text-align: center !important;
  margin: 0 auto !important;
  padding: 0 clamp(28px, 5vw, 60px) !important;
}
[dir="rtl"] .image-break-content .btn-gold {
  margin: 0 auto !important; display: inline-flex !important;
}

/* #4 — AR deals hero H1 push down */
[dir="rtl"] .hero-text-plate {
  padding-top: clamp(40px, 6vw, 80px) !important;
}

/* #5 — AR deals image-break text: more edge padding */
[dir="rtl"] .image-break-content h2 { text-align: center !important; }
[dir="rtl"] .image-break-content p { text-align: center !important; }

/* #6 — AR investor/resources section: taller image */
[dir="rtl"] .why-image {
  min-height: 600px !important;
}
[dir="rtl"] .why-image img {
  height: 100% !important; object-fit: cover !important;
  position: absolute !important; inset: 0 !important;
}
[dir="rtl"] .why-section {
  direction: rtl !important;
}

/* #7 — AR bookcall section: nicer layout */
[dir="rtl"] .bookcall-section {
  overflow: hidden !important;
}
[dir="rtl"] .bookcall-bg {
  opacity: .25 !important;
}
[dir="rtl"] .bookcall-grid {
  direction: rtl !important;
}
[dir="rtl"] .bookcall-section h2 {
  text-align: right !important;
  font-size: clamp(32px, 5vw, 52px) !important;
}
[dir="rtl"] .bookcall-section p {
  text-align: right !important;
}
[dir="rtl"] .bookcall-list li {
  padding-left: 0 !important; padding-right: 28px !important;
}
[dir="rtl"] .bookcall-list li:before {
  left: auto !important; right: 0 !important;
}
[dir="rtl"] .bookcall-btn-wrap {
  justify-content: flex-start !important;
}
[dir="rtl"] .bookcall-btn {
  font-size: 16px !important; padding: 22px 48px !important;
  background: linear-gradient(135deg, #D4A843, #B8922A, #D4A843) !important;
  background-size: 200% 200% !important;
  animation: btnGoldShimmer 3s ease infinite !important;
  box-shadow: 0 0 14px rgba(184,146,42,.3), 0 4px 20px rgba(184,146,42,.2) !important;
  border-radius: 4px !important;
}
