/* =====================================================================
   vDesign brand + RTL override layer for the Antra template
   Loaded AFTER main.css so it wins the cascade.
   - Brand: Tajawal font + vDesign gold (#B4946E)
   - RTL fixes for the components used across the marketing pages
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ---------- Brand tokens ---------- */
:root{
  --tl-ff-body: 'Tajawal', sans-serif;
  --tl-ff-heading: 'Tajawal', sans-serif;
  --tl-ff-p: 'Tajawal', sans-serif;
  --tl-color-theme-primary: #B4946E;   /* vDesign warm gold */
  --vd-gold: #B4946E;
  --vd-gold-soft: #C9AD8B;
  --vd-dark: #15110d;                   /* deep warm dark */
  --vd-dark-2: #1d1813;
}

body{ font-family: var(--tl-ff-body); }
h1,h2,h3,h4,h5,h6{ font-family: var(--tl-ff-heading); font-weight: 700; }
.section-title{ font-weight: 800; }
.sub-heading{ font-weight: 700; }

/* Arabic: kill letter-spacing / uppercase that break Arabic shaping */
[dir="rtl"] .sub-heading,
[dir="rtl"] .section-title,
[dir="rtl"] .tl-primary-btn,
[dir="rtl"] .header-btn,
[dir="rtl"] .mobile-menu-items ul li a{
  letter-spacing: 0 !important;
  text-transform: none !important;
}
[dir="rtl"] body{ line-height: 1.7; }

/* ---------- Header: solid dark, white nav, gold CTA ---------- */
.header{ background-color: var(--vd-dark); position: fixed; }
.header.sticky-active{
  background-color: var(--vd-dark);
  box-shadow: 0 10px 34px rgba(0,0,0,.32);
}
.primary-header-inner{ padding: 16px 0; }

.vd-logo-text{
  font-family: var(--tl-ff-heading);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.vd-logo-text .dot{ color: var(--vd-gold); }
.vd-logo-text .vd-badge{
  height: 40px; width: 40px; border-radius: 11px; object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.header .mobile-menu-items > ul > li > a{ color: #ffffff; font-size: 16px; }
.header .mobile-menu-items > ul > li > a:hover,
.header .mobile-menu-items > ul > li.active > a{ color: var(--vd-gold); }
.header .mobile-menu-items ul ul li a{ color: #222; }

.header-btn,
.header-btn:hover{
  background-color: var(--vd-gold);
  color: #fff;
  border-radius: 100px;
  padding: 14px 26px;
  display: inline-flex !important;
}
@media (max-width: 991px){ .header-btn{ display: none !important; } }

/* keep the hero clear of the now-fixed header */
.hero-section-2{ padding-top: 150px; }

/* ---------- Buttons ---------- */
.tl-primary-btn{ font-weight: 600; }

/* ---------- RTL component fixes ---------- */
/* sub-heading pill: dot sits on the start side */
[dir="rtl"] .sub-heading{ padding: 7px 28px 7px 19px; }
[dir="rtl"] .sub-heading:before{ left: auto; right: 15px; }

/* primary button: icon after text on the start side */
[dir="rtl"] .tl-primary-btn{ padding: 10px 25px 10px 15px; }
[dir="rtl"] .tl-primary-btn .icon{ margin-left: 0; margin-right: 10px; }
[dir="rtl"] .tl-primary-btn i{ transform: rotate(45deg); }

/* feature list pulled to the start edge */
[dir="rtl"] .feature-item-list.feature-item-list-1{ margin-left: 0; margin-right: auto; }

/* header contact icon spacing already uses column-gap (RTL-safe) */

/* ---------- vDesign helper sections (how-it-works / roles / app CTA) ---------- */
.vd-section{ padding: 110px 0; }
.vd-dark-section{ background: var(--vd-dark); color: #d8d2c8; }
.vd-dark-section .section-title{ color: #fff; }
.vd-dark-section .section-title span{ color: var(--vd-gold); }

.vd-step{
  background: #fff; border: 1px solid var(--tl-color-border-1);
  border-radius: 18px; padding: 34px 28px; height: 100%;
  transition: all .3s ease;
}
.vd-step:hover{ transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.10); border-color: var(--vd-gold); }
.vd-step .num{
  height: 54px; width: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(180,148,110,.12); color: var(--vd-gold); font-size: 22px; font-weight: 800; margin-bottom: 20px;
}
.vd-step h3{ font-size: 22px; margin-bottom: 10px; }
.vd-step p{ margin-bottom: 0; }

.vd-role-card{
  background: var(--vd-dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
  padding: 34px 28px; height: 100%; color: #cfc8bc; transition: all .3s ease;
}
.vd-role-card:hover{ border-color: var(--vd-gold); transform: translateY(-6px); }
.vd-role-card .ic{ font-size: 30px; color: var(--vd-gold); margin-bottom: 18px; }
.vd-role-card h3{ color: #fff; font-size: 22px; margin-bottom: 10px; }

.vd-app-cta{
  background: linear-gradient(120deg, var(--vd-dark), #2a221a);
  border-radius: 26px; padding: 70px 50px; color: #fff; overflow: hidden; position: relative;
}
.vd-app-cta .section-title{ color: #fff; }
.vd-app-cta .section-title span{ color: var(--vd-gold); }
.vd-store-btn{
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #15110d; border-radius: 14px; padding: 12px 22px; font-weight: 700;
  transition: all .3s ease;
}
.vd-store-btn:hover{ background: var(--vd-gold); color: #fff; }
.vd-store-btn i{ font-size: 26px; }

/* Legal pages */
.vd-legal{ background: #f6f6f6; padding: 60px 0 100px; }
.vd-legal .legal-card{
  background: #fff; border: 1px solid var(--tl-color-border-1); border-radius: 20px;
  padding: 50px; max-width: 920px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,.04);
}
.vd-legal h1{ font-size: 40px; margin-bottom: 8px; }
.vd-legal .updated{ color: var(--vd-gold); font-weight: 700; margin-bottom: 30px; display: block; }
.vd-legal h2{ font-size: 24px; margin: 34px 0 12px; padding-top: 18px; border-top: 1px solid var(--tl-color-border-1); }
.vd-legal h2:first-of-type{ border-top: none; padding-top: 0; }
.vd-legal p, .vd-legal li{ color: #4D4D52; font-size: 16.5px; line-height: 1.9; }
.vd-legal ul{ padding-right: 22px; padding-left: 0; list-style: disc; }
[dir="rtl"] .vd-legal ul{ padding-right: 22px; padding-left: 0; }
.vd-legal .note-box{
  background: rgba(180,148,110,.08); border: 1px solid rgba(180,148,110,.3);
  border-radius: 14px; padding: 20px 24px; margin: 24px 0;
}

/* Simple page-hero (breadcrumb) used by inner pages */
.vd-page-hero{
  background: var(--vd-dark); color: #fff; padding: 170px 0 80px; text-align: center; position: relative;
}
.vd-page-hero h1{ color: #fff; font-size: 56px; margin-bottom: 10px; }
.vd-page-hero .crumb{ color: var(--vd-gold-soft); }
.vd-page-hero .crumb a{ color: #cfc8bc; }

/* Footer brand text */
.footer-text span, .counter-text span, .skill-text, .preloader .site-name span{ text-transform: none; }

/* ---------- Horizontal-overflow guards + mobile typography ---------- */
html, body{ overflow-x: hidden; max-width: 100%; }
#antra-smooth-wrapper, #antra-smooth-content{ overflow-x: clip; max-width: 100%; }
.counter-text, .footer-text, .skill-text{ overflow: hidden; max-width: 100vw; pointer-events: none; }
img{ height: auto; }

@media (max-width: 991px){
  .section-title{ font-size: 44px !important; line-height: 1.25; }
  .hero-section-2 .section-title{ font-size: 46px !important; }
  .vd-page-hero h1{ font-size: 44px !important; }
}
@media (max-width: 767px){
  .section-title{ font-size: 32px !important; line-height: 1.3; }
  .hero-section-2 .section-title{ font-size: 34px !important; }
  .vd-page-hero{ padding: 140px 0 56px; }
  .vd-page-hero h1{ font-size: 32px !important; }
  h1{ font-size: 32px !important; }
  h2{ font-size: 28px !important; }
  .vd-section{ padding: 64px 0; }
  /* desktop-tuned hard breaks hurt on small screens */
  .hero-content-left p br,
  .section-heading p br,
  .section-title br,
  .feature-item-content p br,
  .vd-app-cta p br{ display: none; }
  .vd-app-cta{ padding: 40px 22px; }
  .vd-legal .legal-card{ padding: 28px 20px; }
  .counter-text span, .footer-text span{ font-size: 90px; }
}
