/* Creative Idea — Agency Website Styles V2.1 (Hybrid Theme + Latest Updates) */

:root {
  /* === BRAND COLOR SYSTEM === */
  --navy:#1A2B4C;
  --navy-deep:#0F1A30;
  --navy-light:#243B68;
  
  --gold:#D4A857;
  --gold-light:#E8C778;
  --gold-deep:#B88A3D;
  
  --ivory:#F4F1EC;
  --ivory-light:#FAFAF7;
  --ivory-deep:#E8E2D5;
  
  --charcoal:#1A1A1A;
  --gray:#6B7280;
  --gray-light:#9CA3AF;
  
  --white:#FFFFFF;
  
  /* Functional */
  --success:#10B981;
  --error:#EF4444;
  --whatsapp:#25D366;
  --whatsapp-dark:#1ebe5d;
  
  /* Legacy mapping (for compatibility) */
  --bg:var(--ivory-light);
  --bg-2:var(--ivory);
  --bg-card:var(--white);
  --border:rgba(26,43,76,0.1);
  --gold-lt:var(--gold-light);
  --purple:var(--navy);
  --pink:var(--gold);
  --green:var(--success);
  --gray-lt:var(--gray);
  
  /* Typography */
  --font-en:'Inter','Segoe UI','Helvetica Neue',Arial,sans-serif;
  --font-ar:'Cairo','Segoe UI',Tahoma,'Arial Unicode MS',Arial,sans-serif;
  
  /* Other */
  --radius:16px;
  --radius-sm:8px;
  --radius-lg:24px;
  --shadow-sm:0 2px 10px rgba(26,43,76,0.06);
  --shadow:0 8px 30px rgba(26,43,76,0.08);
  --shadow-lg:0 20px 50px rgba(26,43,76,0.12);
  --shadow-dark:0 8px 40px rgba(0,0,0,0.4);
  --transition:0.3s ease;
}

* {box-sizing:border-box;margin:0;padding:0}
*::before,*::after {box-sizing:border-box}

html {scroll-behavior:smooth}

body {
  background:var(--ivory-light);
  color:var(--navy);
  font-family:var(--font-en);
  font-size:16px;
  line-height:1.7;
  overflow-x:hidden;
}

body.lang-ar {
  font-family:var(--font-ar);
  direction:rtl;
}

img {max-width:100%;display:block}
a {color:inherit;text-decoration:none}
ul {list-style:none}

.container {max-width:1200px;margin:0 auto;padding:0 24px}
.section {padding:100px 0}

/* === TYPOGRAPHY === */
h1 {
  font-size:clamp(2.6rem,6vw,5rem);
  font-weight:900;
  line-height:1.05;
  letter-spacing:-0.025em;
  color:var(--navy);
}

h2 {
  font-size:clamp(1.8rem,3.5vw,2.8rem);
  font-weight:800;
  line-height:1.2;
  color:var(--navy);
}

h3 {font-size:1.2rem;font-weight:700;margin-bottom:10px;color:var(--navy)}
h4 {font-size:1.05rem;font-weight:700;color:var(--navy)}
p {color:var(--gray)}

.section-header {text-align:center;max-width:680px;margin:0 auto 64px}
.section-header h2 {margin:12px 0 20px}
.section-header p {color:var(--gray);font-size:1.05rem}

.section-tag {
  display:inline-block;
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold-deep);
  background:rgba(212,168,87,0.12);
  padding:6px 18px;
  border-radius:100px;
  border:1px solid rgba(212,168,87,0.3);
}

.gradient-text {
  background:linear-gradient(135deg,var(--gold),var(--gold-deep));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* "Starting from" Pricing Pill */
.pricing-starting {
  display:inline-block;
  font-size:1.5rem;
  font-weight:800;
  color:var(--gold-deep);
  background:rgba(212,168,87,0.12);
  padding:10px 28px;
  border-radius:100px;
  border:1px solid rgba(212,168,87,0.4);
  margin:8px 0 20px;
  letter-spacing:0.02em;
}

/* === BUTTONS === */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 32px;
  border-radius:100px;
  font-size:0.95rem;
  font-weight:700;
  cursor:pointer;
  transition:all var(--transition);
  border:2px solid transparent;
  white-space:nowrap;
  font-family:inherit;
  letter-spacing:0.02em;
}

.btn-primary {
  background:var(--gold);
  color:var(--navy);
  border-color:var(--gold);
}

.btn-primary:hover {
  background:var(--gold-deep);
  border-color:var(--gold-deep);
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(212,168,87,0.4);
}

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

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

.btn.full-width {width:100%}

/* WhatsApp Button (Hero) */
.btn-whatsapp {
  background:var(--whatsapp);
  color:#fff;
  border:2px solid var(--whatsapp);
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:all .25s ease;
  box-shadow:0 6px 20px rgba(37,211,102,.35);
}

.btn-whatsapp:hover {
  background:var(--whatsapp-dark);
  border-color:var(--whatsapp-dark);
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(37,211,102,.5);
}

.btn-whatsapp svg {flex-shrink:0}

/* === NAVBAR === */
.navbar {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding:16px 0;
  transition:all var(--transition);
  background:transparent;
}

.navbar.scrolled {
  background:rgba(15,26,48,0.95);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:0 1px 0 rgba(255,255,255,0.08);
  padding:10px 0;
}

.nav-inner {display:flex;align-items:center;justify-content:space-between;gap:24px}

.nav-cta.active,
.nav-cta:hover {color:var(--navy) !important}

/* Logo display rules */
.logo .logo-img-en,
.logo .logo-img-ar,
.logo .logo-fallback {display:none !important}

html[lang^="en"] .logo .logo-img-en,
body[lang^="en"] .logo .logo-img-en {display:block !important}

html[lang^="ar"] .logo .logo-img-ar,
body[lang^="ar"] .logo .logo-img-ar,
html[dir="rtl"] .logo .logo-img-ar,
body[dir="rtl"] .logo .logo-img-ar {display:block !important}

.logo .logo-img.is-error {display:none !important}

html[lang^="en"] .logo .logo-fallback-en.is-active,
body[lang^="en"] .logo .logo-fallback-en.is-active {display:flex !important}

html[lang^="ar"] .logo .logo-fallback-ar.is-active,
body[lang^="ar"] .logo .logo-fallback-ar.is-active,
html[dir="rtl"] .logo .logo-fallback-ar.is-active,
body[dir="rtl"] .logo .logo-fallback-ar.is-active {display:flex !important}

.logo {display:flex;align-items:center;gap:10px}

.logo-img {
  height:54px;
  width:auto;
  transition:filter var(--transition);
}

.logo-fallback {display:none;align-items:center;gap:10px}

.logo-ci {
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.95rem;
  font-weight:900;
  color:var(--navy);
  flex-shrink:0;
  position:relative;
}

.logo-ci::after {
  content:'';
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--gold);
  right:8px;
  top:50%;
  transform:translateY(-50%);
}

.logo-text-wrap {display:flex;flex-direction:column;line-height:1.1}

.logo-en {
  font-size:0.95rem;
  font-weight:800;
  color:var(--white);
  letter-spacing:0.02em;
}

.logo-ar {
  font-size:0.78rem;
  color:var(--gold);
  font-family:var(--font-ar);
}

.nav-links {display:flex;align-items:center;gap:8px}

.nav-links a {
  font-size:0.92rem;
  font-weight:600;
  color:rgba(255,255,255,0.85);
  padding:8px 14px;
  border-radius:100px;
  transition:all var(--transition);
}

.nav-links a:hover {color:var(--white);background:rgba(255,255,255,0.08)}
.nav-links a.active {color:var(--gold) !important}

.nav-links a.nav-cta {
  background:var(--gold);
  color:var(--navy);
  font-weight:800;
  padding:10px 22px;
}

.nav-links a.nav-cta:hover {
  background:var(--gold-deep);
  box-shadow:0 6px 20px rgba(212,168,87,0.4);
  transform:translateY(-1px);
}

.nav-controls {display:flex;align-items:center;gap:12px}

.lang-toggle {
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  color:var(--white);
  font-size:0.85rem;
  font-weight:600;
  padding:8px 18px;
  border-radius:100px;
  cursor:pointer;
  transition:all var(--transition);
  font-family:inherit;
}

.lang-toggle:hover {
  background:rgba(212,168,87,0.15);
  border-color:var(--gold);
  color:var(--gold-light);
}

.hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}

.hamburger span {
  display:block;
  width:24px;
  height:2px;
  background:var(--white);
  border-radius:2px;
  transition:all 0.3s;
}

.hamburger.open span:nth-child(1) {transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2) {opacity:0}
.hamburger.open span:nth-child(3) {transform:translateY(-7px) rotate(-45deg)}

/* === HERO (DARK SECTION) === */
.hero {
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding-top:80px;
  background:linear-gradient(135deg,var(--navy-deep) 0%,var(--navy) 100%);
  color:var(--white);
}

.hero-bg {position:absolute;inset:0;pointer-events:none}

.hero-shape {
  position:absolute;
  border-radius:50%;
  filter:blur(100px);
  opacity:0.3;
}

.shape-1 {
  width:600px;
  height:600px;
  background:radial-gradient(circle,var(--gold),transparent 70%);
  top:-150px;
  right:-150px;
  opacity:0.25;
}

.shape-2 {
  width:500px;
  height:500px;
  background:radial-gradient(circle,var(--navy-light),transparent 70%);
  bottom:-100px;
  left:-100px;
  opacity:0.4;
}

.shape-3 {
  width:300px;
  height:300px;
  background:radial-gradient(circle,var(--gold),transparent 70%);
  top:40%;
  left:40%;
  opacity:0.08;
}

.particles {position:absolute;inset:0;overflow:hidden}

.particle {
  position:absolute;
  border-radius:50%;
  background:var(--gold);
  opacity:0;
  animation:particle-float linear infinite;
}

@keyframes particle-float {
  0% {opacity:0;transform:translateY(0) scale(0)}
  10% {opacity:0.6}
  90% {opacity:0.2}
  100% {opacity:0;transform:translateY(-100vh) scale(1.5)}
}

.hero-content {
  position:relative;
  z-index:2;
  padding:60px 0;
  max-width:860px;
}

.hero-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.85rem;
  font-weight:600;
  color:var(--gold-light);
  background:rgba(212,168,87,0.12);
  border:1px solid rgba(212,168,87,0.3);
  padding:8px 18px;
  border-radius:100px;
  margin-bottom:28px;
  animation:fadeInDown 0.8s ease both;
}

.hero-title {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:24px;
  color:var(--white);
}

.hero-title .line-1 {animation:fadeInUp 0.8s 0.1s ease both;color:var(--white)}
.hero-title .line-2 {animation:fadeInUp 0.8s 0.25s ease both}

.hero-sub {
  font-size:1.1rem;
  color:rgba(255,255,255,0.8);
  max-width:620px;
  margin-bottom:36px;
  animation:fadeInUp 0.8s 0.4s ease both;
}

.hero-btns {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:60px;
  animation:fadeInUp 0.8s 0.55s ease both;
}

.hero-stats {
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
  animation:fadeInUp 0.8s 0.7s ease both;
}

.stat {padding:0 32px;text-align:center}
.stat:first-child {padding-left:0}

.stat span.stat-num {
  font-size:2.2rem;
  font-weight:900;
  color:var(--gold);
  line-height:1;
}

.stat span:not(.stat-num) {
  font-size:1.8rem;
  font-weight:900;
  color:var(--gold);
}

.stat p {
  font-size:0.78rem;
  color:rgba(255,255,255,0.6);
  margin-top:6px;
  text-transform:uppercase;
  letter-spacing:0.1em;
  font-weight:600;
}

.stat-divider {
  width:1px;
  height:40px;
  background:rgba(255,255,255,0.15);
}

.hero-scroll-hint {
  position:absolute;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  font-size:0.7rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.5);
  animation:fadeIn 1s 1.2s ease both;
}

.scroll-line {
  width:1px;
  height:40px;
  background:linear-gradient(to bottom,rgba(255,255,255,0.5),transparent);
  animation:scroll-pulse 1.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,100% {opacity:0.3;transform:scaleY(1)}
  50% {opacity:1;transform:scaleY(1.2)}
}

/* === ABOUT (LIGHT SECTION) === */
.about {background:var(--white);color:var(--navy)}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.about-visual {position:relative;min-height:380px}

.about-img-block {
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}

.img-placeholder {display:block;width:100%}
.img-placeholder svg {width:100%;height:auto;display:block}

.about-card {
  position:absolute;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:var(--shadow-lg);
}

.about-card .about-icon {font-size:1.4rem;color:var(--gold-deep)}
.about-card p {font-size:0.85rem;font-weight:700;color:var(--navy);margin:0}

.card-float {top:-20px;left:-20px;animation:float 3s ease-in-out infinite}
.card-float-2 {bottom:-20px;right:-20px;animation:float 3s 1.5s ease-in-out infinite}

@keyframes float {
  0%,100% {transform:translateY(0)}
  50% {transform:translateY(-8px)}
}

.about-text span.section-tag {margin-bottom:16px;display:inline-block}
.about-text h2 {color:var(--navy);margin-bottom:20px}
.about-text p {color:var(--gray);margin-bottom:16px}

.about-list {
  margin:24px 0 32px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.about-list li {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:0.95rem;
  color:var(--charcoal);
  font-weight:500;
}

.about-list li::before {
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--gold);
  flex-shrink:0;
}

/* === SERVICES (IVORY) === */
.services {background:var(--ivory)}

.services-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.service-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:36px 28px;
  transition:all var(--transition);
  position:relative;
  overflow:hidden;
}

.service-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,var(--gold),var(--gold-deep));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform var(--transition);
}

.service-card:hover {
  transform:translateY(-6px);
  border-color:rgba(212,168,87,0.4);
  box-shadow:var(--shadow-lg);
}

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

.service-icon {
  width:52px;
  height:52px;
  color:var(--gold-deep);
  margin-bottom:20px;
}

.service-icon svg {width:100%;height:100%}

.service-card h3 {color:var(--navy);margin-bottom:12px}
.service-card p {font-size:0.9rem;color:var(--gray);margin-bottom:20px}

.service-link {
  font-size:0.85rem;
  font-weight:700;
  color:var(--gold-deep);
  transition:gap var(--transition);
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.service-link:hover {gap:8px}

/* === STRATEGY (WHITE) === */
.strategy {background:var(--white)}

.strategy-steps {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px 60px;
}

.strategy-step {
  display:flex;
  gap:24px;
  align-items:flex-start;
}

.step-num {
  font-size:3rem;
  font-weight:900;
  color:var(--gold);
  line-height:1;
  min-width:80px;
  letter-spacing:-0.04em;
  opacity:0.9;
}
/* Arabic strategy cards, number on the right */
html[dir="rtl"] .strat-card,
body.lang-ar .strat-card {
    direction: rtl !important;
    text-align: right !important;
}

    html[dir="rtl"] .strat-card .strat-badge,
    body.lang-ar .strat-card .strat-badge {
        margin-left: 20px !important;
        margin-right: 0 !important;
        float: right !important;
    }
.step-body h3 {color:var(--navy)}
.step-body p {font-size:0.92rem;margin-top:8px;color:var(--gray)}

/* === PRICING (DARK SECTION) === */
.pricing {
  background:linear-gradient(135deg,var(--navy-deep) 0%,var(--navy) 100%);
  color:var(--white);
  position:relative;
  overflow:hidden;
}

.pricing::before {
  content:'';
  position:absolute;
  top:-200px;
  right:-200px;
  width:500px;
  height:500px;
  background:radial-gradient(circle,var(--gold),transparent 70%);
  opacity:0.1;
  filter:blur(80px);
  pointer-events:none;
}

.pricing .section-header h2 {color:var(--white)}
.pricing .section-header p {color:rgba(255,255,255,0.7)}
.pricing .section-tag {color:var(--gold-light);background:rgba(212,168,87,0.15);border-color:rgba(212,168,87,0.3)}

.pricing-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  align-items:start;
  position:relative;
  z-index:1;
}

.pricing-card {
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:var(--radius);
  padding:40px 32px;
  position:relative;
  transition:all var(--transition);
  backdrop-filter:blur(10px);
}

.pricing-card:hover {
  transform:translateY(-4px);
  background:rgba(255,255,255,0.08);
  box-shadow:var(--shadow-dark);
}

.pricing-card.featured {
  background:linear-gradient(160deg,rgba(212,168,87,0.15),rgba(212,168,87,0.05));
  border-color:var(--gold);
  transform:scale(1.03);
  box-shadow:0 0 0 1px var(--gold),0 20px 50px rgba(212,168,87,0.2);
}

.pricing-card.featured:hover {transform:scale(1.03) translateY(-4px)}

.pricing-ribbon {
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%) translateY(-50%);
  background:var(--gold);
  color:var(--navy);
  font-size:0.72rem;
  font-weight:800;
  letter-spacing:0.12em;
  text-transform:uppercase;
  padding:6px 22px;
  border-radius:100px;
  white-space:nowrap;
}

/* Pricing tag - large centered (new style) */
.pricing-tag {
  display:block;
  text-align:center;
  font-size:1.6rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:24px;
}

.pricing-card.featured .pricing-tag {color:var(--gold-light)}

.pricing-price {
  display:flex;
  align-items:flex-end;
  gap:4px;
  margin-bottom:16px;
  justify-content:center;
}

.currency {
  font-size:1rem;
  font-weight:700;
  color:var(--gold);
  margin-bottom:8px;
}

.amount {
  font-size:3.2rem;
  font-weight:900;
  color:var(--white);
  line-height:1;
}

.period {
  font-size:0.9rem;
  color:rgba(255,255,255,0.6);
  margin-bottom:8px;
}

.pricing-desc {
  font-size:0.88rem;
  color:rgba(255,255,255,0.7);
  margin-bottom:28px;
  text-align:center;
}

.pricing-features {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:32px;
}

.pricing-features li {
  font-size:0.9rem;
  color:rgba(255,255,255,0.85);
  display:flex;
  align-items:center;
  gap:10px;
}

.pricing-features li::before {
  content:'✓';
  color:var(--gold);
  font-weight:800;
  font-size:0.85rem;
  width:18px;
  flex-shrink:0;
}

.pricing-features li.disabled {color:rgba(255,255,255,0.3)}
.pricing-features li.disabled::before {content:'–';color:rgba(255,255,255,0.3)}

/* "Custom add-on" footer in pricing */
.pricing-features div {
  display:block;
  color:var(--gold-light);
  font-size:1.05rem;
  font-weight:700;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(212,168,87,0.25);
  line-height:1.5;
}

.pricing-note {
  text-align:center;
  font-size:0.85rem;
  color:rgba(255,255,255,0.6);
  margin-top:40px;
  position:relative;
  z-index:1;
}

/* === TEAM (LIGHT SECTION) === */
.team {background:var(--ivory)}

.team-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.team-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:36px 20px 28px;
  text-align:center;
  transition:all var(--transition);
}

.team-card:hover {
  transform:translateY(-6px);
  border-color:rgba(212,168,87,0.4);
  box-shadow:var(--shadow-lg);
}

.team-card h4 {color:var(--navy);margin-bottom:6px}
.team-card p {font-size:0.82rem;color:var(--gray)}

/* === TESTIMONIALS (WHITE) === */
.testimonials {background:var(--white)}

.testimonials-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.testimonial-card {
  background:var(--ivory-light);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:36px 28px 28px;
  position:relative;
  transition:all var(--transition);
}

.testimonial-card:hover {
  border-color:rgba(212,168,87,0.4);
  box-shadow:var(--shadow);
}

.quote-mark {
  font-size:5rem;
  line-height:1;
  color:var(--gold);
  opacity:0.25;
  position:absolute;
  top:16px;
  left:24px;
  font-family:Georgia,serif;
  font-weight:900;
  pointer-events:none;
}

body.lang-ar .quote-mark {left:auto;right:24px}

.testimonial-card p {
  font-size:0.92rem;
  color:var(--charcoal);
  margin-bottom:24px;
  font-style:italic;
  line-height:1.7;
}

.testimonial-author {display:flex;align-items:center;gap:14px}

.author-avatar {
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:1rem;
  color:var(--white);
  flex-shrink:0;
  background:var(--navy);
}

.testimonial-author strong {
  display:block;
  font-size:0.88rem;
  color:var(--navy);
  margin-bottom:2px;
}

.testimonial-author span {font-size:0.78rem;color:var(--gray)}

/* === CONTACT (IVORY) === */
.contact {background:var(--ivory)}

.contact-grid {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:80px;
  align-items:start;
}

.contact-info .section-tag {margin-bottom:16px;display:inline-block}
.contact-info h2 {margin-bottom:16px;color:var(--navy)}

.contact-items {
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:32px;
}

.contact-item {display:flex;align-items:flex-start;gap:16px}

.contact-icon {
  font-size:1.4rem;
  width:44px;
  height:44px;
  border-radius:var(--radius-sm);
  background:rgba(212,168,87,0.12);
  border:1px solid rgba(212,168,87,0.25);
  color:var(--gold-deep);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.contact-item strong {
  display:block;
  font-size:0.85rem;
  color:var(--navy);
  margin-bottom:2px;
  font-weight:700;
}

.contact-item span {font-size:0.88rem;color:var(--gray)}

.contact-form {
  display:flex;
  flex-direction:column;
  gap:16px;
  background:var(--white);
  padding:36px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.form-group {display:flex;flex-direction:column;gap:8px}

.form-group label {
  font-size:0.78rem;
  font-weight:700;
  color:var(--navy);
  text-transform:uppercase;
  letter-spacing:0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background:var(--ivory-light);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  color:var(--navy);
  font-size:0.95rem;
  font-family:inherit;
  padding:12px 16px;
  width:100%;
  transition:all var(--transition);
  -webkit-appearance:none;
}

.form-group select {background-color:var(--ivory-light);cursor:pointer}
.form-group select option {background:var(--white)}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none;
  border-color:var(--gold);
  background:var(--white);
  box-shadow:0 0 0 3px rgba(212,168,87,0.15);
}

.form-group textarea {resize:vertical;min-height:120px}

.form-success {
  display:none;
  background:rgba(16,185,129,0.1);
  border:1px solid rgba(16,185,129,0.3);
  border-radius:var(--radius-sm);
  padding:14px 20px;
  font-size:0.9rem;
  color:var(--success);
  text-align:center;
  font-weight:600;
}

.form-success.show {display:block;animation:fadeInUp 0.4s ease}

/* === FOOTER (DARK) === */
.footer {
  background:var(--navy-deep);
  border-top:1px solid rgba(255,255,255,0.08);
  color:var(--white);
}

.footer-inner {
  padding:72px 24px 48px;
  display:grid;
  grid-template-columns:1.4fr 2fr;
  gap:80px;
}

.footer-brand .logo {margin-bottom:16px}

.footer-brand p {
  font-size:0.88rem;
  color:rgba(255,255,255,0.6);
  margin-bottom:24px;
  max-width:280px;
}

.footer-socials {display:flex;gap:10px}

.social-btn {
  width:40px;
  height:40px;
  border-radius:var(--radius-sm);
  border:1px solid rgba(255,255,255,0.1);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,0.6);
  transition:all var(--transition);
}

.social-btn svg {width:16px;height:16px}

.social-btn:hover {
  color:var(--gold);
  border-color:var(--gold);
  background:rgba(212,168,87,0.1);
  transform:translateY(-2px);
}

.fsoc {width:40px;height:40px}

.footer-links {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.footer-col {display:flex;flex-direction:column;gap:12px}

.footer-col h5 {
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.15em;
  text-transform:uppercase;
  color:var(--gold-light);
  margin-bottom:8px;
}

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

.footer-col a:hover {color:var(--gold-light)}

.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08);
  padding:20px 24px;
  text-align:center;
}

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

/* === FLOATING WHATSAPP BUTTON === */
.whatsapp-float {
  position:fixed;
  bottom:24px;
  left:24px;
  right:auto;
  width:60px;
  height:60px;
  background:var(--whatsapp);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  box-shadow:0 6px 24px rgba(37,211,102,.5),0 2px 8px rgba(0,0,0,.2);
  text-decoration:none;
  transition:transform .25s ease,box-shadow .25s ease;
  animation:whatsapp-pulse 2.4s infinite;
}

html[dir="rtl"] .whatsapp-float,
body[dir="rtl"] .whatsapp-float {right:auto;left:24px}

.whatsapp-float svg {width:32px;height:32px}

.whatsapp-float:hover {
  transform:scale(1.08);
  box-shadow:0 10px 32px rgba(37,211,102,.65);
  animation:none;
}

.whatsapp-tip {
  position:absolute;
  right:72px;
  background:var(--navy);
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  font-size:.85rem;
  font-weight:600;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
  transform:translateX(8px);
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}

html[dir="rtl"] .whatsapp-float .whatsapp-tip,
body[dir="rtl"] .whatsapp-float .whatsapp-tip {
  right:auto;
  left:72px;
  transform:translateX(-8px);
}

.whatsapp-float:hover .whatsapp-tip {opacity:1;transform:translateX(0)}

@keyframes whatsapp-pulse {
  0%,100% {box-shadow:0 6px 24px rgba(37,211,102,.5),0 0 0 0 rgba(37,211,102,.6)}
  50% {box-shadow:0 6px 24px rgba(37,211,102,.5),0 0 0 14px rgba(37,211,102,0)}
}

/* === ANIMATIONS === */
.reveal {
  opacity:0;
  transform:translateY(30px);
  transition:opacity 0.7s ease,transform 0.7s ease;
}

.reveal.visible {opacity:1;transform:translateY(0)}
.reveal:nth-child(2) {transition-delay:0.1s}
.reveal:nth-child(3) {transition-delay:0.2s}
.reveal:nth-child(4) {transition-delay:0.3s}
.reveal:nth-child(5) {transition-delay:0.15s}
.reveal:nth-child(6) {transition-delay:0.25s}

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

@keyframes fadeInUp {
  from {opacity:0;transform:translateY(24px)}
  to {opacity:1;transform:translateY(0)}
}

@keyframes fadeIn {
  from {opacity:0}
  to {opacity:1}
}

/* === RTL ADJUSTMENTS === */
body.lang-ar .hero-content {text-align:right}
body.lang-ar .hero-btns {justify-content:flex-start}
body.lang-ar .about-list li {flex-direction:row-reverse;justify-content:flex-end}
body.lang-ar .step-body {text-align:right}
body.lang-ar .service-card {text-align:right}
body.lang-ar .contact-info {text-align:right}
body.lang-ar .contact-item {flex-direction:row-reverse;text-align:right}
body.lang-ar .testimonial-author {flex-direction:row-reverse}
body.lang-ar .pricing-features li {flex-direction:row-reverse}
body.lang-ar .footer-brand p {text-align:right}
body.lang-ar .footer-col {text-align:right}
body.lang-ar .form-group label {text-align:right}

/* === RESPONSIVE === */
@media (max-width:968px) {
  .nav-links {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--navy-deep);
    flex-direction:column;
    padding:24px;
    gap:8px;
    border-top:1px solid rgba(255,255,255,0.08);
  }
  
  .nav-links.open {display:flex}
  .nav-links a {width:100%;text-align:center}
  
  .hamburger {display:flex}
  
  .about-grid,
  .contact-grid {grid-template-columns:1fr;gap:48px}
  
  .services-grid,
  .pricing-grid,
  .testimonials-grid {grid-template-columns:1fr}
  
  .team-grid {grid-template-columns:repeat(2,1fr)}
  .strategy-steps {grid-template-columns:1fr}
  .form-row {grid-template-columns:1fr}
  
  .footer-inner {grid-template-columns:1fr;gap:48px}
  .footer-links {grid-template-columns:repeat(2,1fr)}
  
  .pricing-card.featured {transform:none}
  .pricing-card.featured:hover {transform:translateY(-4px)}
  
  .section {padding:64px 0}
  
  .hero-stats {gap:24px}
  .stat {padding:0 16px}
  .stat-divider {display:none}
  
  /* Bigger logo on tablets & mobiles (kept from your update) */
  .logo-img {height:64px}
  
  /* Space between logo/navbar and hero content */
  .hero {padding-top:40px}
  
  .hero-badge {margin-top:20px}
  
  .fsoc {width:44px;height:44px}
}

@media (max-width:560px) {
  .footer-links {grid-template-columns:1fr}
  .hero-btns {flex-direction:column;width:100%}
  .hero-btns .btn {width:100%}
  
  .logo-img {height:56px}
  .hero {padding-top:30px}
  .hero-badge {margin-top:16px}
}

@media (max-width:540px) {
  .whatsapp-float {
    width:56px;
    height:56px;
    bottom:18px;
    left:18px;
    right:auto;
  }
  
  html[dir="rtl"] .whatsapp-float,
  body[dir="rtl"] .whatsapp-float {left:auto;right:18px}
  
  .whatsapp-float svg {width:28px;height:28px}
  .whatsapp-tip {display:none}
}

/* === FOUNDER / TEAM SECTION (REWORKED) === */
.team .founder-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:48px 40px;
  max-width:880px;
  margin:0 auto;
  box-shadow:var(--shadow);
  position:relative;
}

.team .founder-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,var(--gold),var(--gold-deep));
  border-radius:var(--radius) var(--radius) 0 0;
}

.team .founder-card h3 {
  font-size:1.8rem;
  font-weight:900;
  color:var(--navy);
  margin-bottom:6px;
}

.team .founder-role {
  font-size:0.9rem;
  font-weight:700;
  color:var(--gold-deep);
  letter-spacing:0.1em;
  text-transform:uppercase;
  margin-bottom:24px;
  padding-bottom:24px;
  border-bottom:1px solid var(--border);
}

.team .founder-card p {
  font-size:1rem;
  color:var(--charcoal);
  margin-bottom:18px;
  line-height:1.75;
}

.team .achievements-title {
  font-size:1.1rem;
  font-weight:800;
  color:var(--navy);
  margin-top:32px;
  margin-bottom:16px;
}

.team .achievements-list {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.team .achievements-list li {
  display:flex;
  align-items:flex-start;
  gap:14px;
  font-size:0.95rem;
  color:var(--charcoal);
  line-height:1.65;
  padding-left:0;
}

.team .achievements-list li::before {
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--gold);
  flex-shrink:0;
  margin-top:8px;
}



@media (max-width:768px) {
  .team .founder-card {padding:32px 24px}
  .team .founder-card h3 {font-size:1.5rem}
}

/* === VALUE PROMISE BOX === */
.pricing .value-promise {
  background:rgba(212,168,87,0.1);
  border:1px solid rgba(212,168,87,0.3);
  border-radius:var(--radius-sm);
  padding:14px 18px;
  font-size:0.88rem;
  font-weight:600;
  color:var(--gold-light);
  margin-bottom:24px;
  line-height:1.55;
}

body.lang-ar .pricing .value-promise {text-align:right}



/* Footer layout only, matched to styles1 */
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 80px;
    align-items: start;
    padding: 80px 24px 56px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Social icons movement only */
.social-btn,
.fsoc {
    transition: transform var(--transition), color var(--transition), border-color var(--transition), background var(--transition);
}

    .social-btn:hover,
    .fsoc:hover {
        transform: translateY(-2px);
    }

    .social-btn svg,
    .fsoc svg {
        transition: transform var(--transition);
    }

    .social-btn:hover svg,
    .fsoc:hover svg {
        transform: scale(1.08);
    }

/* Arabic footer alignment */
body.lang-ar .footer-brand,
body.lang-ar .footer-col,
body.lang-ar .fn-col {
    text-align: right;
}

/* Tablet */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .footer-inner {
        padding: 36px 14px 24px;
        gap: 28px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        padding: 12px 14px;
    }
}

/* Footer order only, same layout as styles1 */
.footer-inner,
.footer-body {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 80px;
    align-items: start;
    padding: 80px 24px 56px;
}

/* Keep brand text on the right in Arabic */
body.lang-ar .footer-inner,
body.lang-ar .footer-body,
html[dir="rtl"] .footer-inner,
html[dir="rtl"] .footer-body {
    direction: rtl;
}

/* Links columns layout */
.footer-links,
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    direction: rtl;
}

    /* Column order like styles1 screenshot */
    .footer-links .footer-col:nth-child(1),
    .footer-nav .fn-col:nth-child(1) {
        order: 1;
    }

    .footer-links .footer-col:nth-child(2),
    .footer-nav .fn-col:nth-child(2) {
        order: 2;
    }

    .footer-links .footer-col:nth-child(3),
    .footer-nav .fn-col:nth-child(3) {
        order: 3;
    }

/* Text alignment only */
.footer-brand,
.footer-col,
.fn-col {
    text-align: right;
}

    .footer-brand p {
        max-width: 280px;
    }

/* Social icons movement only */
.footer-socials {
    display: flex;
    gap: 10px;
}

.social-btn,
.fsoc {
    transition: transform var(--transition), color var(--transition), border-color var(--transition), background var(--transition);
}

    .social-btn:hover,
    .fsoc:hover {
        transform: translateY(-2px);
    }

    .social-btn svg,
    .fsoc svg {
        transition: transform var(--transition);
    }

    .social-btn:hover svg,
    .fsoc:hover svg {
        transform: scale(1.08);
    }

/* Tablet */
@media (max-width: 900px) {
    .footer-inner,
    .footer-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links,
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-links,
    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .footer-inner,
    .footer-body {
        padding: 36px 14px 24px;
        gap: 28px;
    }

    .footer-brand p {
        max-width: 100%;
    }
}
/* Footer social icons, gold hover with movement */
.footer-socials {
    display: flex;
    gap: 10px;
}

.fsoc {
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.12);
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .fsoc svg {
        transition: transform 0.3s ease;
    }

    .fsoc:hover {
        color: var(--gold);
        border-color: var(--gold);
        background: rgba(212,168,87,0.10);
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(212,168,87,0.22);
    }

        .fsoc:hover svg {
            transform: scale(1.12);
        }
/* Fix footer columns spacing and stacked links */
.footer-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
    gap: 32px 64px !important;
    align-items: start !important;
}

.fn-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    min-width: 0 !important;
}

    .fn-col h5,
    .fn-col a,
    .fn-col span {
        display: block !important;
        width: 100% !important;
        line-height: 1.7 !important;
        white-space: normal !important;
    }

    .fn-col h5 {
        margin-bottom: 4px !important;
    }

/* English alignment */
html[dir="ltr"] .fn-col {
    text-align: left !important;
    align-items: flex-start !important;
}

/* Arabic alignment */
html[dir="rtl"] .fn-col,
body.lang-ar .fn-col {
    text-align: right !important;
    align-items: flex-end !important;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .fn-col {
        text-align: center !important;
        align-items: center !important;
    }
}
/* Force footer brand text to read left to right */
.footer-brand {
    direction: ltr !important;
    text-align: left !important;
    align-items: flex-start !important;
}

    .footer-brand p {
        direction: ltr !important;
        text-align: left !important;
        max-width: 330px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        line-height: 1.8 !important;
    }

/* Keep social icons starting from left */
.footer-socials {
    justify-content: flex-start !important;
}
/* Footer brand text direction by language */

/* English version */
html[dir="ltr"] .footer-brand,
html[dir="ltr"] .footer-brand p {
    direction: ltr !important;
    text-align: left !important;
}

    html[dir="ltr"] .footer-brand p {
        max-width: 330px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        line-height: 1.8 !important;
    }

html[dir="ltr"] .footer-socials {
    justify-content: flex-start !important;
}

/* Arabic version */
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-brand p,
body.lang-ar .footer-brand,
body.lang-ar .footer-brand p {
    direction: rtl !important;
    text-align: right !important;
}

    html[dir="rtl"] .footer-brand p,
    body.lang-ar .footer-brand p {
        max-width: 330px !important;
        margin-right: 0 !important;
        margin-left: auto !important;
        line-height: 1.8 !important;
    }


/* Arabic contact section only */
html[dir="rtl"] .contact-info,
body.lang-ar .contact-info {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .contact-items,
body.lang-ar .contact-items {
    direction: rtl !important;
    align-items: flex-end !important;
}

html[dir="rtl"] .contact-item,
body.lang-ar .contact-item {
    direction: rtl !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: right !important;
}

html[dir="rtl"] .contact-icon,
body.lang-ar .contact-icon {
    order: 1 !important;
    margin-left: 16px !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .contact-item div:not(.contact-icon),
body.lang-ar .contact-item div:not(.contact-icon) {
    order: 2 !important;
    text-align: right !important;
}

html[dir="rtl"] .contact-item strong,
html[dir="rtl"] .contact-item span,
body.lang-ar .contact-item strong,
body.lang-ar .contact-item span {
    text-align: right !important;
    direction: rtl !important;
}
html[dir="rtl"] .contact-item span,
body.lang-ar .contact-item span {
    unicode-bidi: plaintext !important;
}
/* Arabic contact info, icon on the right, text aligned right */
html[dir="rtl"] .contact-info,
body.lang-ar .contact-info {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .contact-items,
body.lang-ar .contact-items {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

html[dir="rtl"] .contact-item,
body.lang-ar .contact-item {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, auto) 44px !important;
    column-gap: 16px !important;
    align-items: start !important;
    justify-content: end !important;
    direction: ltr !important;
    text-align: right !important;
}

    html[dir="rtl"] .contact-item .contact-icon,
    body.lang-ar .contact-item .contact-icon {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin: 0 !important;
    }

    html[dir="rtl"] .contact-item > div:not(.contact-icon),
    body.lang-ar .contact-item > div:not(.contact-icon) {
        grid-column: 1 !important;
        grid-row: 1 !important;
        text-align: right !important;
        direction: rtl !important;
    }

    html[dir="rtl"] .contact-item strong,
    body.lang-ar .contact-item strong {
        display: block !important;
        text-align: right !important;
        direction: rtl !important;
    }

    html[dir="rtl"] .contact-item span,
    body.lang-ar .contact-item span {
        display: block !important;
        text-align: right !important;
        unicode-bidi: plaintext !important;
    }
/* Footer contact column, keep icon and text on one line */
.footer-nav {
    grid-template-columns: minmax(260px, 1.25fr) minmax(180px, 1fr) minmax(220px, 1fr) !important;
    gap: 40px !important;
}

    /* Contact column is the first column */
    .footer-nav .fn-col:first-child span {
        display: block !important;
        white-space: nowrap !important;
        line-height: 1.9 !important;
        word-break: keep-all !important;
    }

/* English footer contact, icon on the left */
html[dir="ltr"] .footer-nav .fn-col:first-child {
    direction: ltr !important;
    text-align: left !important;
    align-items: flex-start !important;
}

    html[dir="ltr"] .footer-nav .fn-col:first-child span {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: isolate !important;
    }

/* Arabic footer contact, icon stays with text on same line */
html[dir="rtl"] .footer-nav .fn-col:first-child,
body.lang-ar .footer-nav .fn-col:first-child {
    direction: rtl !important;
    text-align: right !important;
    align-items: flex-end !important;
}

    html[dir="rtl"] .footer-nav .fn-col:first-child span,
    body.lang-ar .footer-nav .fn-col:first-child span {
        direction: rtl !important;
        text-align: right !important;
        white-space: nowrap !important;
        unicode-bidi: plaintext !important;
    }

/* Mobile, allow safe wrapping only on small screens */
@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr !important;
    }

        .footer-nav .fn-col:first-child span {
            white-space: normal !important;
        }
}
/* Footer contact lines, icon with text in one line */
.footer-nav {
    grid-template-columns: minmax(260px, 1.25fr) minmax(190px, 1fr) minmax(230px, 1fr) !important;
    gap: 40px !important;
    align-items: start !important;
}

.footer-contact-col {
    min-width: 260px !important;
}

    .footer-contact-col .f-contact-line {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        white-space: nowrap !important;
        line-height: 1.9 !important;
    }

/* English, icon on the left */
html[dir="ltr"] .footer-contact-col,
html[dir="ltr"] .footer-contact-col .f-contact-line {
    direction: ltr !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

/* Arabic, icon on the right */
html[dir="rtl"] .footer-contact-col,
body.lang-ar .footer-contact-col,
html[dir="rtl"] .footer-contact-col .f-contact-line,
body.lang-ar .footer-contact-col .f-contact-line {
    direction: rtl !important;
    text-align: right !important;
    justify-content: flex-start !important;
}

.footer-contact-col .ficon {
    flex: 0 0 auto !important;
    display: inline-block !important;
}

.footer-contact-col .ftext {
    flex: 0 0 auto !important;
    unicode-bidi: plaintext !important;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr !important;
    }

    .footer-contact-col {
        min-width: 0 !important;
    }

        .footer-contact-col .f-contact-line {
            justify-content: center !important;
            white-space: nowrap !important;
        }
}
/* Arabic lists, bullets on the right */
html[dir="rtl"] ul,
body.lang-ar ul {
    direction: rtl !important;
    text-align: right !important;
    padding-right: 22px !important;
    padding-left: 0 !important;
}

html[dir="rtl"] li,
body.lang-ar li {
    direction: rtl !important;
    text-align: right !important;
}

    html[dir="rtl"] li::marker,
    body.lang-ar li::marker {
        color: var(--gold);
    }
/* Arabic custom bullet lists */
html[dir="rtl"] .about-list,
body.lang-ar .about-list {
    direction: rtl !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

    html[dir="rtl"] .about-list li,
    body.lang-ar .about-list li {
        direction: rtl !important;
        text-align: right !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
    }

        html[dir="rtl"] .about-list li::before,
        body.lang-ar .about-list li::before {
            margin-left: 12px !important;
            margin-right: 0 !important;
        }
/* Arabic achievements bullets, dot on the right */
html[dir="rtl"] .team .achievements-list,
body.lang-ar .team .achievements-list {
    direction: rtl !important;
    text-align: right !important;
    padding: 0 !important;
    margin: 0 !important;
}

    html[dir="rtl"] .team .achievements-list li,
    body.lang-ar .team .achievements-list li {
        direction: rtl !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: right !important;
        gap: 14px !important;
    }

        html[dir="rtl"] .team .achievements-list li::before,
        body.lang-ar .team .achievements-list li::before {
            order: 0 !important;
            margin-top: 8px !important;
            margin-left: 14px !important;
            margin-right: 0 !important;
            flex-shrink: 0 !important;
        }

    html[dir="rtl"] .team .achievements-list li,
    body.lang-ar .team .achievements-list li {
        unicode-bidi: plaintext !important;
    }
/* Arabic strategy numbers, move numbers to the right */
html[dir="rtl"] .strategy-step,
body.lang-ar .strategy-step {
    direction: rtl !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: right !important;
}

    html[dir="rtl"] .strategy-step .step-num,
    body.lang-ar .strategy-step .step-num {
        order: 0 !important;
        margin-left: 24px !important;
        margin-right: 0 !important;
        text-align: right !important;
    }

    html[dir="rtl"] .strategy-step .step-body,
    body.lang-ar .strategy-step .step-body {
        order: 1 !important;
        text-align: right !important;
    }
/* Arabic footer social icons on the right only */
html[dir="rtl"] .footer-brand,
body.lang-ar .footer-brand {
    text-align: right !important;
    align-items: flex-end !important;
}

html[dir="rtl"] .footer-socials,
body.lang-ar .footer-socials {
    width: 100% !important;
    max-width: 330px !important;
    display: flex !important;
    justify-content: flex-end !important;
    direction: rtl !important;
    margin-right: 0 !important;
    margin-left: auto !important;
}
/* Arabic footer social icons, align to the right under Arabic text */
html[dir="rtl"] .footer-brand,
body.lang-ar .footer-brand {
    direction: rtl !important;
    text-align: right !important;
    align-items: flex-end !important;
}

    html[dir="rtl"] .footer-brand p,
    body.lang-ar .footer-brand p {
        direction: rtl !important;
        text-align: right !important;
        margin-right: 0 !important;
        margin-left: auto !important;
    }

html[dir="rtl"] .footer-socials,
body.lang-ar .footer-socials {
    direction: rtl !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
}