/* =============== IJARPAY LUXURY MODERN BRAND =============== */
/* Palette (from logo-inspired):
   Navy: #0B1633
   Navy-2: #101E42
   Gold: #C9A24A
   Gold-2: #E3C26A
   Ink: #0A1020
   Mist: #F6F7FB
*/

:root{
  --navy:#0B1633;
  --navy2:#101E42;
  --gold:#C9A24A;
  --gold2:#E3C26A;
  --ink:#0A1020;
  --mist:#F6F7FB;
  --white:#ffffff;

  --text: rgba(255,255,255,.86);
  --muted: rgba(255,255,255,.68);

  --shadow: 0 18px 60px rgba(10,16,32,.35);
  --shadow-soft: 0 10px 30px rgba(10,16,32,.18);

  --radius: 18px;
  --radius2: 26px;

  --container: 1160px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --ease2: cubic-bezier(.16,1,.3,1);

  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.10);

  --border: rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.16);

  --focus: rgba(201,162,74,.35);
}


*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(201,162,74,.16), transparent 60%),
              radial-gradient(1000px 500px at 90% 0%, rgba(201,162,74,.10), transparent 55%),
              linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer {
  padding-top: 16px;
}

html, body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

html, body {
  background-attachment: fixed;
}

/* Every section sits transparently on body */
section,
.hero,
.page-header,
.soft-flow,
.site-footer {
  background: transparent !important;
}
header.nav,
section,
.hero {
  flex-shrink: 0;
}

#footer {
  margin-top: auto;
}
section,
.hero {
  padding-bottom: 80px;
}
.card,
.content-box,
.hero-card {
  overflow: hidden;
}

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{ left:20px; top:20px; width:auto; height:auto; padding:10px 14px; background:#fff; color:#000; border-radius:12px; z-index:9999; }

.noise{
  pointer-events:none;
  position:fixed; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  opacity:.18;
  mix-blend-mode:overlay;
  z-index:0;
}

/* Smooth vertical blending between sections */
section::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.015),
    rgba(0,0,0,0)
  );
  z-index: 0;
}

/* =============== NAVBAR =============== */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11,22,51,.78), rgba(11,22,51,.32));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{
  width:128px; height:auto; /* logo reduced size */
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.28));
}
.brand .tag{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(255,255,255,.62);
  display:none;
}

.nav-links{
  display:flex; align-items:center; gap:18px;
}
.nav-links a{
  font-size:14px;
  color: rgba(255,255,255,.82);
  padding:10px 10px;
  border-radius:12px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  position:relative;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:10px; right:10px; bottom:7px;
  height:2px;
  background: linear-gradient(90deg, transparent, rgba(201,162,74,.9), transparent);
  transform: scaleX(0);
  transform-origin:center;
  transition: transform .35s var(--ease2);
  opacity:.9;
}
.nav-links a:hover{
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}
.nav-links a:hover::after{ transform: scaleX(1); }

.nav-cta{
  display:flex; align-items:center; gap:10px;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.flow-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
}

.flow-step {
  font-size: 14px;
  color: #d4af37;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
}


.flow-item h4 {
  margin: 8px 0 8px;
  font-size: 18px;
}

.flow-item p {
  font-size: 14px;
  opacity: 0.85;
}

.lang-switch {
  position: relative;
  z-index: 9999;
}

.lang-btn {
  background: #0f1b2e;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 500;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #0f1b2e;
  border-radius: 12px;
  min-width: 90px;
}

.lang-menu a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.lang-menu a:hover {
  background: #1c2d4a;
}

.lang-switch.open .lang-menu {
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

.select{
  appearance:none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  padding:10px 12px;
  border-radius:12px;
  outline:none;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.select:focus{ box-shadow: 0 0 0 6px var(--focus); border-color: rgba(201,162,74,.55); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size:14px;
  cursor:pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  user-select:none;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.09);
}
.btn-primary{
  border-color: rgba(201,162,74,.45);
  background: linear-gradient(135deg, rgba(201,162,74,.20), rgba(255,255,255,.06));
}
.btn-primary:hover{
  border-color: rgba(201,162,74,.68);
  background: linear-gradient(135deg, rgba(201,162,74,.28), rgba(255,255,255,.08));
}

.burger{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  position:relative;
}
.burger span{
  position:absolute; left:10px; right:10px; height:2px;
  background: rgba(255,255,255,.84);
  border-radius:2px;
  transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1){ top:14px; }
.burger span:nth-child(2){ top:20px; }
.burger span:nth-child(3){ top:26px; }
.burger.active span:nth-child(1){ top:20px; transform: rotate(45deg); }
.burger.active span:nth-child(2){ opacity:0; }
.burger.active span:nth-child(3){ top:20px; transform: rotate(-45deg); }

.mobile{
  display:none;
  padding:0 0 14px 0;
}
.mobile a{
  display:block;
  padding:12px 10px;
  border-radius:14px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  margin-top:10px;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.mobile a:hover{ transform: translateY(-2px); background: rgba(255,255,255,.07); }

/* =============== HERO =============== */
.hero{
  position:relative;
  padding: 64px 0 40px;
  z-index:1;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items:stretch;
}
.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(201,162,74,.40);
  background: rgba(201,162,74,.10);
  color: rgba(255,255,255,.88);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.h1 .gold{
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  margin:0;
  font-size: 16px;
  line-height:1.65;
  color: rgba(255,255,255,.74);
  max-width: 62ch;
}
.hero-actions{
  margin-top:18px;
  display:flex; flex-wrap:wrap;
  gap:12px;
}

.hero-card{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
  min-height: 270px;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(900px 450px at 30% 0%, rgba(201,162,74,.22), transparent 55%),
              radial-gradient(700px 350px at 90% 30%, rgba(201,162,74,.14), transparent 55%);
  opacity:.85;
}
.hero-card-inner{
  position:relative;
  padding: 20px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
}
.stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.stat{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  padding: 14px;
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}
.stat:hover{
  transform: translateY(-3px);
  border-color: rgba(201,162,74,.45);
  background: rgba(255,255,255,.06);
}
.stat .num{
  font-size:22px;
  letter-spacing:-.02em;
}
.stat .lbl{
  margin-top:6px;
  font-size:12px;
  color: rgba(255,255,255,.72);
}

.badges{
  display:flex; flex-wrap:wrap; gap:10px;
}
.badge{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-size:12px;
  color: rgba(255,255,255,.82);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.badge:hover{
  transform: translateY(-2px);
  border-color: rgba(201,162,74,.40);
}

/* =============== SECTIONS =============== */
section {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:18px;
  margin-bottom: 18px;
}

/* =============== PAGE HEADER SPACER =============== */
.page-header {
  padding-top: 36px;   /* space below navbar */
  padding-bottom: 36px;
}

.page-header {
  padding-top: 48px;
  padding-bottom: 48px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(0,0,0,0)
  );
}


.h2{
  margin:0;
  font-size: 22px;
  letter-spacing:-.01em;
}
.sub{
  margin:0;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  line-height:1.6;
  max-width: 70ch;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  padding: 16px;
  min-height: 150px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  transition: transform .30s var(--ease2), border-color .30s var(--ease), background .30s var(--ease);
  position:relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(700px 280px at 0% 0%, rgba(201,162,74,.18), transparent 55%);
  opacity:.0;
  transition: opacity .30s var(--ease);
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(201,162,74,.42);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
}
.card:hover::before{ opacity:.85; }

.card .title{
  font-size: 15px;
  margin:0 0 8px;
  color: rgba(255,255,255,.92);
}
.card .desc{
  margin:0;
  color: rgba(255,255,255,.70);
  font-size: 13.5px;
  line-height:1.65;
}
/* =============== CONTENT CONTAINERS (ABOUT / STATIC PAGES) =============== */

.content-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03)
  );
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}

.content-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.content-section:last-child {
  border-bottom: none;
}

.content-section h2,
.content-section h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.content-section p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

.content-section ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.content-section li {
  margin: 6px 0;
  color: rgba(255,255,255,.76);
}


/* =============== FEATURE STRIP =============== */
.strip{
  margin-top: 18px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(201,162,74,.16), rgba(255,255,255,.05));
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.strip .left{
  display:flex; flex-direction:column; gap:6px;
}
.strip .t{
  margin:0; font-size: 16px;
}
.strip .p{
  margin:0; color: rgba(255,255,255,.72); font-size: 13.5px; line-height:1.6;
}

/* =============== FORMS =============== */
.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{
  display:flex; flex-direction:column; gap:8px;
}
.field label{
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.input, .textarea{
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.90);
  padding: 12px 12px;
  outline:none;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.input:focus, .textarea:focus{ box-shadow: 0 0 0 6px var(--focus); border-color: rgba(201,162,74,.55); }
.textarea{ grid-column: 1 / -1; min-height: 120px; resize: vertical; }

/* =============== FOOTER =============== */
.footer{
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:start;
}
.footer small{ color: rgba(255,255,255,.62); }
.footer a{
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(201,162,74,.0);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.footer a:hover{ color: rgba(255,255,255,.92); border-color: rgba(201,162,74,.55); }

.legal{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

footer,
.site-footer {
  margin-top: 0;
}

/* =============== SCROLL REVEAL ANIMATIONS =============== */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease2), transform .9s var(--ease2);
  will-change: opacity, transform;
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}
.reveal-left{ transform: translateX(-18px); }
.reveal-right{ transform: translateX(18px); }
.reveal-left.in, .reveal-right.in{ transform: translateX(0); }

.parallax{
  transform: translateY(var(--py, 0px));
  transition: transform .08s linear;
}

/* =============== PRICING TABLE =============== */

.pricing-table {
  margin-top: 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  column-gap: 12px;
  padding: 16px 18px;
  align-items: center;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-header {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.10),
    rgba(255,255,255,.04)
  );
  font-weight: 600;
}

.pricing-head span {
  font-size: 12px;
  color: rgba(201,162,74,.9);
}

.pricing-row div {
  color: rgba(255,255,255,.80);
}

.pricing-row div:first-child {
  color: rgba(255,255,255,.95);
}

.pricing-row .highlight {
  color: #c9a24a;
  font-weight: 600;
}

.pricing-row .yes {
  color: #5fe0a1;
  font-size: 16px;
}

.pricing-row .no {
  color: #ff6b6b;
  font-size: 16px;
}

.pricing-cta {
  margin-top: 24px;
}

.pricing-hero .pricing-hero-head{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0 6px;
}
.pricing-hero .pricing-hero-head .h2{
  font-size: 34px;
  margin-bottom: 10px;
}
.pricing-hero .pricing-hero-head .sub{
  max-width: 70ch;
  margin: 0 auto;
}

.section-title{
  max-width: 900px;
  margin: 0 auto 18px;
  text-align: center;
}
.section-title .h2{
  font-size: 30px;
  margin-bottom: 10px;
}
.section-title .sub{
  max-width: 70ch;
  margin: 0 auto;
}

.advantages .cards{
  gap: 18px;
  margin-top: 18px;
}
.advantages .card{
  min-height: 170px;
  padding: 18px;
}
.advantages .card .title{
  font-size: 16px;
  margin-bottom: 10px;
}
.advantages .card .desc{
  font-size: 14px;
  line-height: 1.7;
}

.center {
  text-align: center;
}
/* MOBILE ONLY: space between pricing cards and advantages */
@media (max-width: 1023px) {
  .pricing-advantages {
    margin-top: 56px;
  }
}

.pricing-advantages {
  margin-top: 48px;
}

@media (max-width: 768px) {
  .pricing-advantages {
    margin-top: 32px;
  }
}
.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .strip {
    flex-direction: column;
    text-align: center;
  }
}


/* =============== RTL SUPPORT =============== */
html[dir="rtl"] body{ font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Arial, sans-serif; }
html[dir="rtl"] .nav-inner{ direction:rtl; }
html[dir="rtl"] .nav-links a::after{ left:10px; right:10px; }
html[dir="rtl"] .hero-grid{ direction:rtl; }
html[dir="rtl"] .strip{ direction:rtl; }
html[dir="rtl"] .form{ direction:rtl; }

/* =============== RESPONSIVE =============== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .form{ grid-template-columns: 1fr; }
  .brand .tag{ display:none; }
}

@media (max-width: 860px){
  .nav-links, .nav-cta .btn-primary{ display:none; }
  .burger{ display:inline-block; }
  .mobile.show{ display:block; }
}

/* ================= HOW IT WORKS ================= */

.how-hero{
  padding: 80px 0 60px;
}

.how-hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items:center;
}

.how-hero-visual{
  display:flex;
  justify-content:center;
}

/* Phone mock */
.phone-mock{
  width: 260px;
  height: 520px;
  border-radius: 36px;
  background: linear-gradient(180deg,#111,#000);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  padding: 16px;
}

.phone-screen{
  height:100%;
  border-radius: 28px;
  background: linear-gradient(180deg,#0b1633,#050b1a);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:white;
}

.phone-screen .check{
  width:64px;
  height:64px;
  border-radius:50%;
  background: rgba(201,162,74,.2);
  border:1px solid rgba(201,162,74,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin-bottom:12px;
}

/* Steps grid */
.steps-grid{
  margin-top: 32px;
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.step-card{
  background: linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 26px;
  text-align:left;
  transition: transform .3s ease, border-color .3s ease;
}

.step-card:hover{
  transform: translateY(-6px);
  border-color: rgba(201,162,74,.5);
}

.step-icon{
  font-size:26px;
  margin-bottom:12px;
}

/* Flow section */
.soft-flow{
  background: linear-gradient(180deg,rgba(255,255,255,.03),transparent);
}

.flow-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items:center;
}

.flow-list{
  margin-top:16px;
  padding-left:18px;
}

.flow-list li{
  margin:10px 0;
  color: rgba(255,255,255,.82);
}

.flow-icons{
  display:flex;
  gap:14px;
}

.flow-icon{
  width:64px;
  height:64px;
  border-radius:18px;
  background: rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  border:1px solid rgba(255,255,255,.14);
}

.hero-cta {
  margin-top: 32px;
}

.section-subtitle.center {
  text-align: center;
  max-width: 720px;
  margin: 16px auto 48px;
}

/* Responsive */
@media(max-width: 900px){
  .how-hero-grid,
  .flow-grid{
    grid-template-columns: 1fr;
    text-align:center;
  }

  .steps-grid{
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 14px 0; 
  background: linear-gradient(180deg, #0b1220, #0a1020);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  min-height: 72px;            
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;         
}


.footer-col {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  color: #fff;
  font-size: 16px;
}

.footer-text {
  margin: 4px 0 0;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e3b34b;
}

.footer-contact {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.footer-contact:hover {
  color: #e3b34b;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    align-items: center;
    text-align: center;
  }
}


/* ===== FAQ ACCORDION FIX ===== */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: rgba(255,255,255,0.85);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  margin-top: 12px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg); /* + becomes × */
}

@media (max-width: 768px) {
  .comparison-mobile {
    margin-top: 24px;
  }
}


@media (max-width: 768px) {
  .card,
  .step-card {
    height: auto;
    min-height: unset;
    padding: 20px;
  }

  .card p {
    line-height: 1.5;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  header {
    overflow: visible;
  }

  .nav-right {
    display: flex;
    gap: 10px;
  }

  .lang-btn {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 768px) {
  section,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  button,
  .btn {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    display: none; /* desktop menu hidden */
  }

  .menu-toggle {
    display: block; /* hamburger */
  }
}


/* ================= VISIBILITY CONTROL ================= */

/* Default: DESKTOP */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Mobile + Tablet */
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* ===== MOBILE PRICING CARDS FIX ===== */

.mobile-only .compare-card {
  padding: 20px;
}

.mobile-only .compare-card h3 {
  margin-bottom: 12px;
}

/* Align label + value */
.mobile-only .compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mobile-only .compare-row span:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--gold);
  font-weight: 600;
}

.mobile-compare-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin-bottom: 16px;
}

.mobile-compare-card h3 {
  margin-bottom: 8px;
}


/* Mobile cards */
.comparison-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
}

.compare-card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.compare-card h3 {
  margin-bottom: 8px;
}

.compare-card p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}


.compare-card .yes {
  color: #3ddc97;
  font-weight: 600;
}

.compare-card .no {
  color: #ff5c5c;
  font-weight: 600;
}

.compare-card .gold {
  color: #e3b65c;
}

.compare-card.highlight {
  border: 1px solid rgba(227,182,92,0.6);
  box-shadow: 0 0 0 1px rgba(227,182,92,0.2);
}
/* Footer must always stay LTR */
footer,
.site-footer,
#footer {
  direction: ltr !important;
  text-align: left !important;
}

/* Ensure numbers render correctly */
#footer * {
  unicode-bidi: plaintext;
}
/* ===== PRICING PAGE HERO (clean) ===== */
.page-hero{
  padding: 48px 0 32px;     /* was too big */
  text-align:center;
}

.page-hero h1{
  font-size: 36px;
  margin: 0 0 10px;
}

.page-hero p{
  max-width: 780px;
  margin: 0 auto;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* ===== PRICING ADVANTAGES ===== */
.pricing-advantages{
  padding: 54px 0 24px;
}

.pricing-advantages h2{
  text-align:center;
  margin: 0 0 10px;
  font-size: 26px;
}

.pricing-advantages .section-sub{
  text-align:center;
  max-width: 820px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,.72);
}

.adv-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.adv-grid > div{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  padding: 16px;
}

.adv-grid h4{
  margin: 0 0 8px;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}

.adv-grid p{
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 980px){
  .adv-grid{ grid-template-columns: 1fr; }
}
/* ===== FOOTER FIX ===== */
.site-footer .footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.site-footer img{
  width: 120px;     /* IMPORTANT: prevents giant logo */
  height: auto;
  display:block;
}
.pricing-cards-mobile{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding: 0 16px;
}

/* DESKTOP: hide mobile comparison cards */
@media (min-width: 1024px) {
  .compare-card,
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .pricing-cards-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 1023px) {
  .pricing-section {
    margin-bottom: 0;
    padding-bottom: 12px;
  }

  .pricing-advantages {
    margin-top: 16px;
  }
}
.hero-small {
  padding-top: 48px;
}
.hero-small .sub {
  margin-left: auto;
  margin-right: auto;
}
.pricing-section {
  padding-bottom: 0 !important;
}

.pricing-advantages {
  margin-top: 24px !important;
}

/* =========================
   BOARD & MANAGEMENT PAGE
   ========================= */

/* Page container */
.board-page {
  padding: 56px 0 40px;
}

.board-hero {
  text-align: center;
  margin-bottom: 26px;
}

.board-hero h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0 0 10px;
}

.board-hero p {
  max-width: 820px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Section headings */
.board-section {
  margin-top: 34px;
}

.board-section h2 {
  font-size: 18px;
  letter-spacing: 0.2px;
  margin: 0 0 14px;
  opacity: 0.95;
}

/* Grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Card */
.bm-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 14px 14px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Image wrapper: keep image modest + consistent */
.bm-photo {
  width: 150px;              /* small but not tiny */
  aspect-ratio: 1 / 1;       /* perfect square */
  border-radius: 14px;       /* soft radius */
  overflow: hidden;
  margin: 0 auto 12px;

  /* Gold border */
  border: 2px solid rgba(201, 162, 77, 0.95);  /* #C9A24D */
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.10);
}

.bm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* crop cleanly */
  object-position: 50% 20%;  /* keeps face higher */
  display: block;
}

/* Text */
.bm-name {
  font-weight: 700;
  font-size: 16px;
  margin: 2px 0 4px;
  text-align: center;
}

.bm-title {
  font-size: 13px;
  opacity: 0.9;
  margin: 0 0 10px;
  text-align: center;
}

.bm-bio {
  font-size: 13.5px;
  line-height: 1.7;
  opacity: 0.92;
  margin: 0;
}

/* Optional: subtle hover */
.bm-card:hover {
  border-color: rgba(201, 162, 77, 0.35);
  transform: translateY(-2px);
  transition: 180ms ease;
}

/* RTL support (Arabic) */
[dir="rtl"] .bm-bio,
[dir="rtl"] .bm-title,
[dir="rtl"] .bm-name {
  text-align: center; /* keep consistent like DirectDebit style */
}

/* Responsive */
@media (max-width: 980px) {
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bm-photo {
    width: 140px;
  }
}

@media (max-width: 560px) {
  .board-page {
    padding: 44px 0 30px;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .bm-photo {
    width: 132px;
    border-radius: 12px;
  }
  .bm-card {
    padding: 14px;
  }
}
/* ===============================
   FIX: Board profile image sizing
   =============================== */

/* Hard stop any global image rules */
.board-page img {
  width: auto;
  max-width: none;
}

/* Image container */
.bm-photo {
  width: 140px;              /* control size here */
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto 12px;

  /* Gold border */
  border: 2px solid #C9A24D;
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.12);

  flex-shrink: 0;
}

/* Image itself */
.bm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* crops nicely */
  object-position: 50% 20%;  /* keeps faces centered */
  display: block;
}

/* Prevent cards from stretching vertically */
.bm-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* =========================================================
   FORCE: Board & Management image sizing (final override)
   Put this at the VERY BOTTOM of styles.css
   ========================================================= */

/* If your page has a wrapper like .board-page, great.
   If not, these selectors still catch common layouts. */
.board-page img,
.board-grid img,
.bm-card img,
.board-section img {
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  object-fit: cover !important;
  object-position: 50% 20% !important; /* keeps face higher */
  border-radius: 14px !important;      /* soft radius */
  display: block !important;
  margin: 0 auto 12px !important;
}

/* Gold border “frame” directly on the image (works even without wrapper) */
.board-page img,
.board-grid img,
.bm-card img,
.board-section img {
  border: 2px solid #C9A24D !important;
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.12) !important;
}

/* Ensure cards don’t stretch and images don’t become full-width */
.bm-card,
.board-card,
.member-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* Responsive: slightly smaller on phones */
@media (max-width: 560px) {
  .board-page img,
  .board-grid img,
  .bm-card img,
  .board-section img {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    border-radius: 12px !important;
  }
}

/* =====================================================
   Board & Management – Horizontal Bio Layout
   ===================================================== */

.bm-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 56px;
  max-width: 1100px;
}

/* LEFT: Image */
.bm-photo img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 14px;
  border: 2px solid #C9A24D;
  box-shadow: 0 0 0 4px rgba(201,162,77,0.12);
  flex-shrink: 0;
}

/* RIGHT: Text */
.bm-content h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.bm-title {
  margin: 0 0 14px;
  font-size: 14px;
  color: #C9A24D;
}

.bm-bio {
  font-size: 14.5px;
  line-height: 1.65;
  color: #d6dbe6;
  max-width: 760px;
}

/* Section spacing */
.board-section {
  margin-top: 48px;
}

/* Mobile stack */
@media (max-width: 768px) {
  .bm-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bm-content {
    max-width: 100%;
  }

  .bm-bio {
    max-width: 100%;
  }
}

/* ===== BOARD & MANAGEMENT ===== */

.bm-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 80px;
}

/* TEXT BLOCK */
.bm-text {
  flex: 1;
  max-width: 720px;
}

.bm-text h4 {
  font-size: 22px;
  margin-bottom: 6px;
}

.bm-text .role {
  color: #C9A24D;
  font-weight: 500;
  margin-bottom: 16px;
}

.bm-text p {
  line-height: 1.7;
  color: #E5E7EB;
}

/* IMAGE BLOCK */
.bm-image {
  flex-shrink: 0;
}

/* IMAGE ITSELF */
.bm-image img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #C9A24D;
  background: #0B1F3A;
}

/* SECTION SPACING */
.board-page h3 {
  margin: 64px 0 40px;
}

/* MOBILE */
@media (max-width: 768px) {
  .bm-row {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .bm-image img {
    width: 120px;
    height: 120px;
  }
}

/* ============================= */
/* FORCE PROFILE IMAGE SIZE */
/* ============================= */

.profile-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin: 48px 0;
}

.profile-text {
  flex: 1;
  max-width: 65%;
}

.profile-image {
  flex-shrink: 0;
  width: 180px;          /* locks image column */
}

.profile-image img {
  width: 160px !important;
  height: 160px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #C9A24D;
  display: block;
}

/* Mobile stack */
@media (max-width: 768px) {
  .profile-row {
    flex-direction: column;
  }

  .profile-text {
    max-width: 100%;
  }

  .profile-image {
    width: auto;
  }

  .profile-image img {
    width: 140px !important;
    height: 140px !important;
  }
}

/* ===============================
   BOARD & MANAGEMENT – MOBILE FIX
=============================== */

@media (max-width: 768px) {

  .profile-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .profile-image {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .profile-image img {
    display: block;
    margin: 0 auto;
  }

}

/* HERO text contrast fix */
.tuts-title {
  color: #FFFFFF;   /* pure white */
}

.tuts-lead {
  color: rgba(255, 255, 255, 0.85);  /* slightly softer white */
}


/* Tutorials page layout – matches DD tutorial structure */

/* HERO */
.tuts-hero {
  padding: 70px 0 30px;
  background: #ffffff;
}

.tuts-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.tuts-title {
  margin: 0 0 14px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #0B1F3A;
}

.tuts-lead {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
  color: #1F2937;
}

.tuts-hero-right {
  display: flex;
  justify-content: center;
}

.tuts-hero-ill {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

/* MAIN SECTION */
.tuts-section {
  padding: 50px 0 80px;
  background: #F7F8FA;
}

.tuts-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: start;
}

/* LEFT SIDEBAR */
.tuts-sidebar-inner {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.tuts-sidebar-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #0B1F3A;
}

.tuts-link {
  display: block;
  padding: 12px 10px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  color: #0B1F3A;
  border-top: 1px solid #E5E7EB;
}

.tuts-link:first-of-type {
  border-top: 0;
}

.tuts-link:hover {
  color: #4A6FA5;
}

.tuts-link.active {
  color: #4A6FA5;
  font-weight: 800;
}

/* RIGHT PLAYER */
.tuts-player {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.tuts-player-bar {
  background: #4A6FA5;
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 800;
}

.tuts-player-inner {
  padding: 18px;
}

.tuts-video {
  width: 100%;
  display: block;
  border-radius: 12px;
  background: #000;
}

/* RTL support */
[dir="rtl"] .tuts-hero-grid {
  direction: rtl;
}

[dir="rtl"] .tuts-link {
  text-align: right;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .tuts-hero-grid {
    grid-template-columns: 1fr;
  }

  .tuts-grid {
    grid-template-columns: 1fr;
  }

  .tuts-title {
    font-size: 38px;
  }
}

/* ===== Tutorials page FINAL overrides (put at very bottom) ===== */

/* Keep tutorials hero on dark theme like the rest of site */
section.tuts-hero { background: transparent !important; }

/* Force readable hero text */
.tuts-hero .tuts-title { 
  color: #ffffff !important;
  opacity: 1 !important;
}

.tuts-hero .tuts-lead { 
  color: rgba(255,255,255,0.85) !important;
  opacity: 1 !important;
}

/* If you want the tutorials content section to be light (like DD page) */
section.tuts-section { 
  background: #F7F8FA !important;
}

/* And keep sidebar/player text dark on light background */
.tuts-section .tuts-sidebar-title,
.tuts-section .tuts-link,
.tuts-section .tuts-player { 
  color: #0B1F3A;
}
.tuts-hero-ill{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Remove white background from tutorials section */
section.tuts-section {
  background: transparent !important;
}
