/* ============================================================
   Rechar — Kurdish (RTL) layer on top of custom-override.css
   Keeps the dark navy + gold identity, adds RTL + Rechar sections
   Font: Noto Kufi Arabic (Kurdish Sorani)
   ============================================================ */

/* Fonts are linked from includes/header.php (only the ones the current language needs) */

:root {
  --rc-font: 'Noto Kufi Arabic', 'DM Sans', sans-serif;
  --rc-green: #34d399;
  --rc-blue:  #60a5fa;
  --rc-red:   #f87171;
}

/* ---- BASE / FONTS ---- */
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] input, html[dir="rtl"] select, html[dir="rtl"] textarea, html[dir="rtl"] button,
html[dir="rtl"] .ve-stat strong, html[dir="rtl"] .ve-counter-item strong,
html[dir="rtl"] .ve-whyus-badge strong, html[dir="rtl"] .ve-about-ribbon strong,
html[dir="rtl"] .ve-process-num, html[dir="rtl"] .ve-float-card strong,
html[dir="rtl"] .ve-logo-text {
  font-family: var(--rc-font);
}
html[dir="rtl"] body { text-align: right; line-height: 1.8; }

/* Letter-spacing breaks connected Kurdish letters */
html[dir="rtl"] * { letter-spacing: 0 !important; }

html[dir="rtl"] h1, html[dir="rtl"] h2 { line-height: 1.45; }
html[dir="rtl"] .ve-hero-left h1 { font-size: 52px; line-height: 1.4; }
html[dir="rtl"] .ve-section-header h2 { font-size: 38px; }

/* ---- LOGO ---- */
.ve-logo-icon img { width: 22px; height: 22px; filter: brightness(0); }
.ve-logo-text strong { margin-inline-start: 4px; font-size: 13px; opacity: .85; font-weight: 600; }

/* ---- NAV (RTL) ---- */
html[dir="rtl"] .ve-dropdown { left: auto; right: 0; }
html[dir="rtl"] .ve-nav-cta .ve-cta-btn i,
html[dir="rtl"] .ve-btn-primary i { transform: none; }

/* ---- HERO (RTL) ---- */
html[dir="rtl"] .ve-hero-left { padding: 80px 80px 80px 60px; }
html[dir="rtl"] .ve-hero-left p { max-width: 540px; }
.ve-hero-badge { align-self: flex-start; }

/* Hero right: product mockup instead of a photo */
.rc-hero-right {
  flex: 0 0 45%; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 50px;
  background:
    radial-gradient(circle at 30% 30%, rgba(212,160,23,0.18), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(96,165,250,0.12), transparent 50%),
    var(--ve-dark2);
}
.rc-hero-right::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}
.rc-dash {
  position: relative; z-index: 2; width: 100%; max-width: 560px;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45);
  animation: rc-float 6s ease-in-out infinite;
}
@keyframes rc-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.rc-dash-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--ve-light); border-bottom: 1px solid var(--ve-border);
}
.rc-dash-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.rc-dash-bar span { margin-inline-start: auto; font-size: 11px; color: #94a3b8; direction: ltr; }
.rc-dash-body { display: grid; grid-template-columns: 130px 1fr; }
.rc-dash-side { background: var(--ve-dark); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.rc-dash-side div { font-size: 11.5px; color: rgba(255,255,255,0.6); padding: 7px 10px; border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.rc-dash-side div.on { background: rgba(212,160,23,0.18); color: var(--ve-gold); font-weight: 700; }
.rc-dash-main { padding: 14px; }
.rc-dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.rc-dash-stat { background: var(--ve-light); border: 1px solid var(--ve-border); border-radius: 10px; padding: 10px; }
.rc-dash-stat b { display: block; font-size: 17px; color: var(--ve-dark); direction: ltr; text-align: right; }
.rc-dash-stat span { font-size: 10.5px; color: var(--ve-text); display: block; }
.rc-dash-stat em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #10b981; }
.rc-dash-chart { background: var(--ve-light); border: 1px solid var(--ve-border); border-radius: 10px; padding: 10px 12px; }
.rc-dash-chart small { font-size: 10.5px; color: var(--ve-text); font-weight: 600; }
.rc-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 8px; }
.rc-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--ve-gold2), var(--ve-gold)); display: block; }
.rc-bars i:nth-child(even) { background: linear-gradient(180deg, var(--ve-navy), var(--ve-dark)); }

.rc-hero-chip {
  position: absolute; z-index: 3; background: #fff; border-radius: 12px;
  padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35); font-size: 12px; color: var(--ve-dark);
}
.rc-hero-chip i { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.rc-hero-chip strong { display: block; font-size: 13px; }
.rc-hero-chip span { font-size: 11px; color: var(--ve-text); }
.rc-chip-top { top: 70px; left: 40px; }
.rc-chip-top i { background: rgba(42,171,238,0.12); color: #2aabee; }
.rc-chip-bottom { bottom: 60px; right: 40px; }
.rc-chip-bottom i { background: rgba(212,160,23,0.15); color: var(--ve-gold); }

/* ---- TRUST BAR (RTL marquee) ---- */
html[dir="rtl"] .ve-trust-inner { animation-name: rc-marquee-rtl; }
@keyframes rc-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---- SERVICE CARDS (RTL) ---- */
html[dir="rtl"] .ve-service-card::before { transform-origin: right; }
.ve-service-icon .fa { font-size: 24px; }
.rc-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--ve-dark);
  background: rgba(212,160,23,0.14); border: 1px solid rgba(212,160,23,0.3);
  border-radius: 50px; padding: 3px 12px;
}

/* ---- PROBLEM SECTION ---- */
.rc-problem-section { background: #fff; }
.rc-problem-card {
  background: #fff; border: 1px solid var(--ve-border); border-radius: var(--ve-radius);
  padding: 34px 28px; height: 100%; transition: var(--ve-trans); position: relative;
}
.rc-problem-card:hover { transform: translateY(-5px); box-shadow: var(--ve-shadow); }
.rc-problem-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.rc-problem-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.rc-problem-card p { font-size: 14px; line-height: 1.9; margin: 0; }
.rc-ic-red    { background: rgba(239,68,68,0.1);  color: #ef4444; }
.rc-ic-amber  { background: rgba(245,158,11,0.12); color: #f59e0b; }
.rc-ic-blue   { background: rgba(59,130,246,0.1);  color: #3b82f6; }
.rc-ic-green  { background: rgba(16,185,129,0.1);  color: #10b981; }
.rc-ic-gold   { background: rgba(212,160,23,0.14); color: var(--ve-gold); }
.rc-ic-purple { background: rgba(139,92,246,0.1);  color: #8b5cf6; }

/* ---- WHY US (RTL) ---- */
html[dir="rtl"] .ve-whyus-img-wrap { padding-right: 0; padding-left: 40px; }
html[dir="rtl"] .ve-whyus-badge { right: auto; left: 0; }
html[dir="rtl"] .ve-whyus-content { padding-left: 0; padding-right: 40px; }
.ve-check-item > i.fa { font-size: 22px; }

/* ---- COUNTERS (RTL) ---- */
html[dir="rtl"] .ve-counter-item { border-right: none; border-left: 1px solid rgba(255,255,255,0.1); }
html[dir="rtl"] .ve-counter-item:last-child { border-left: none; }
.ve-counter-item .rc-num { direction: ltr; display: inline-block; }

/* ---- OUR WORK ---- */
.rc-work-section { background: var(--ve-light); }
.rc-work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rc-work-card {
  background: #fff; border: 1px solid var(--ve-border); border-radius: var(--ve-radius);
  overflow: hidden; transition: var(--ve-trans);
}
.rc-work-card:hover { transform: translateY(-6px); box-shadow: var(--ve-shadow); }
.rc-work-head {
  height: 120px; display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(135deg, var(--ve-dark), var(--ve-navy));
}
.rc-work-head::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}
.rc-work-head i {
  position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 18px;
  background: rgba(212,160,23,0.16); border: 1px solid rgba(212,160,23,0.35);
  color: var(--ve-gold); font-size: 28px; display: flex; align-items: center; justify-content: center;
}
.rc-work-body { padding: 24px 24px 26px; }
.rc-work-body h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.rc-work-body p { font-size: 14px; line-height: 1.85; margin-bottom: 16px; }

/* ---- PROCESS (RTL) ---- */
.ve-process-section .ve-process-grid { align-items: stretch; }
.ve-process-section .ve-process-arrow { align-self: center; }
.ve-process-section .ve-process-step { max-width: none; }

/* ---- CTA BANNER (RTL) ---- */
html[dir="rtl"] .ve-cta-overlay { background: linear-gradient(270deg, rgba(13,27,42,0.94) 55%, rgba(13,27,42,0.7)); }
html[dir="rtl"] .text-lg-right { text-align: left; }
.rc-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.ve-btn-white i, .ve-btn-ghost i, .ve-btn-primary i { margin-inline-start: 6px; }

/* ---- PRICING ---- */
.rc-pricing-section { background: var(--ve-light); }
.rc-price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.rc-price-card {
  background: #fff; border: 1px solid var(--ve-border); border-radius: 16px;
  padding: 34px 28px; display: flex; flex-direction: column; position: relative;
  transition: var(--ve-trans);
}
.rc-price-card:hover { transform: translateY(-5px); box-shadow: var(--ve-shadow); }
.rc-price-card.pop { background: var(--ve-dark); border-color: var(--ve-gold); box-shadow: 0 25px 60px rgba(13,27,42,0.35); }
.rc-price-card.pop h4, .rc-price-card.pop .rc-price-name { color: #fff; }
.rc-price-card.pop p, .rc-price-card.pop li { color: rgba(255,255,255,0.7); }
.rc-price-card.pop .rc-price-sub { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); }
.rc-price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ve-gold); color: var(--ve-dark); font-size: 12px; font-weight: 800;
  border-radius: 50px; padding: 4px 16px; white-space: nowrap;
}
.rc-price-level { font-size: 13px; font-weight: 700; color: var(--ve-gold); margin-bottom: 6px; }
.rc-price-name { font-size: 24px; font-weight: 900; color: var(--ve-dark); margin-bottom: 6px; }
.rc-price-sub { font-size: 13px; color: var(--ve-text); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--ve-border); }
.rc-price-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rc-price-card li { font-size: 14px; color: var(--ve-text); display: flex; gap: 10px; align-items: flex-start; }
.rc-price-card li i { color: var(--ve-gold); margin-top: 6px; font-size: 13px; }
.rc-price-card .ve-btn-primary, .rc-price-card .ve-btn-outline { text-align: center; }
.ve-btn-outline {
  display: inline-block; border: 2px solid var(--ve-border); color: var(--ve-dark);
  padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: var(--ve-trans);
}
.ve-btn-outline:hover { border-color: var(--ve-gold); color: var(--ve-dark); background: rgba(212,160,23,0.08); }
.rc-price-note { text-align: center; font-size: 14px; color: var(--ve-text); margin-top: 34px; }
.rc-price-note a { color: var(--ve-gold); font-weight: 700; }

/* ---- PAGE HERO / BREADCRUMB (RTL) ---- */
html[dir="rtl"] .ve-page-hero-overlay { background: linear-gradient(180deg, rgba(13,27,42,0.6) 0%, rgba(13,27,42,0.92) 100%); }
html[dir="rtl"] .ve-breadcrumb li:not(:last-child)::after { margin-left: 0; margin-right: 10px; }
.ve-page-hero-content > p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 620px; margin-bottom: 22px; }

/* ---- ABOUT (RTL) ---- */
html[dir="rtl"] .ve-about-img-stack { padding: 0 0 40px 40px; }
html[dir="rtl"] .ve-about-img-2 { right: auto; left: 0; }
html[dir="rtl"] .ve-about-ribbon { left: auto; right: -20px; }
html[dir="rtl"] .ve-about-text { padding-left: 0; padding-right: 40px; }
.rc-why-section { background: #fff; }

/* ---- FAQ / CONTACT / FOOTER (RTL) ---- */
html[dir="rtl"] .ve-contact-aside { padding-left: 0; padding-right: 30px; }
html[dir="rtl"] .ve-footer-links li a::before { content: '‹'; }
/* Hover effects move with transform only, so nothing changes size or pushes neighbours */
.ve-footer-links li a:hover { padding-left: 0; }
html[dir="rtl"] .ve-footer-links li a { transition: color .3s ease, transform .3s ease, border-color .3s ease; }
html[dir="rtl"] .ve-footer-links li a:hover { transform: translateX(-4px); }
.ve-card-link:hover { gap: 6px; }
.ve-card-link i { transition: transform .3s ease; }
html[dir="rtl"] .ve-card-link:hover i { transform: translateX(-4px); }
.ve-form-group label { text-transform: none; }
.rc-form-err {
  display: none; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3);
  color: #dc2626; font-size: 14px; border-radius: 8px; padding: 10px 14px;
}
.rc-form-err.show { display: block; }
.ve-contact-form button.ve-btn-primary { border: none; cursor: pointer; align-self: flex-start; }
.ve-form-row > * { min-width: 0; }
.ve-form-group { margin-bottom: 0; }
.ve-form-group input, .ve-form-group select, .ve-form-group textarea { width: 100%; font-family: var(--rc-font); }
.ve-form-group input[dir="ltr"] { text-align: right; }
.ve-ca-social .ve-social a { background: var(--ve-light); color: var(--ve-dark); border-color: var(--ve-border); }
.ve-ca-social .ve-social a:hover { background: var(--ve-gold); border-color: var(--ve-gold); }
.rc-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ve-ca-list li a { color: inherit; text-decoration: none; }
.ve-ca-list li a:hover { color: var(--ve-gold); }
.ve-footer-contact li a { color: inherit; text-decoration: none; }
.ve-footer-contact li a:hover { color: var(--ve-gold); }

/* ---- FLOATING WHATSAPP ---- */
.rc-wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 9980;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45); text-decoration: none; transition: var(--ve-trans);
}
.rc-wa-float:hover { color: #fff; transform: scale(1.08); }
.rc-wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: rc-pulse 2s infinite;
}
@keyframes rc-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  html[dir="rtl"] .ve-hero-left { padding: 70px 40px; }
  html[dir="rtl"] .ve-hero-left h1 { font-size: 42px; }
  .rc-work-grid, .rc-price-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 991px) {
  html[dir="rtl"] .ve-hero-left { padding: 110px 30px 50px; }
  .rc-hero-right { flex: none; padding: 50px 24px 70px; }
  html[dir="rtl"] .ve-whyus-content, html[dir="rtl"] .ve-about-text { padding-right: 0; }
  html[dir="rtl"] .ve-contact-aside { padding-right: 0; }
  .rc-cta-btns { justify-content: flex-start; margin-top: 20px; }
  .rc-price-grid { gap: 30px; }
  html[dir="rtl"] .ve-process-arrow { transform: rotate(-90deg); }
}
@media (max-width: 767px) {
  html[dir="rtl"] .ve-hero-left h1 { font-size: 32px; }
  html[dir="rtl"] .ve-section-header h2, html[dir="rtl"] .ve-whyus-content h2,
  html[dir="rtl"] .ve-about-text h2 { font-size: 28px; }
  .rc-work-grid, .rc-price-grid { grid-template-columns: 1fr; }
  .rc-dash-body { grid-template-columns: 1fr; }
  .rc-dash-side { display: none; }
  .rc-chip-top { top: 18px; left: 14px; }
  .rc-chip-bottom { bottom: 18px; right: 14px; }
  html[dir="rtl"] .ve-counter-item { border-left: none; }
  html[dir="rtl"] .text-lg-right { text-align: right; }
  .ve-section { padding: 70px 0; }
  .rc-wa-float { width: 52px; height: 52px; font-size: 26px; bottom: 18px; left: 18px; }
}

/* ============================================================
   FAQ — breathing room inside each item
   ============================================================ */
.ve-faq-list { gap: 12px; }
.ve-faq-item { background: #fff; border: 1px solid var(--ve-border); border-radius: 12px; overflow: hidden; transition: var(--ve-trans); }
.ve-faq-item.open { border-color: rgba(212,160,23,0.45); box-shadow: 0 10px 30px rgba(13,27,42,0.06); }
.ve-faq-q { padding: 18px 24px; }
.ve-faq-q span { line-height: 1.7; }
.ve-faq-q i { width: 30px; height: 30px; border-radius: 8px; background: rgba(212,160,23,0.1); display: flex; align-items: center; justify-content: center; }
.ve-faq-item.open .ve-faq-q { border-bottom: 1px solid var(--ve-border); }
.ve-faq-item.open .ve-faq-q i { transform: none; background: var(--ve-gold); color: var(--ve-dark); }
.ve-faq-q i::before { display: inline-block; transition: transform .3s ease; }
.ve-faq-item.open .ve-faq-q i::before { transform: rotate(45deg); }
.ve-faq-a { padding: 16px 24px 20px; line-height: 1.95; }

/* ============================================================
   CONTACT small-screen fix (long email)
   ============================================================ */
.ve-contact-info-card { min-width: 0; }
.ve-contact-info-card p { overflow-wrap: anywhere; }

/* ============================================================
   MOBILE NAVBAR — slim, glassy, with CTA + animated toggler
   ============================================================ */
.rc-menu-backdrop { display: none; }
.rc-mm-foot { display: none; }

@media (max-width: 991px) {
  .ve-header, .ve-header.scrolled {
    background: rgba(13,27,42,0.88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: none; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .ve-nav-wrap { height: 60px; padding: 0 16px; justify-content: flex-start; gap: 10px; }
  .ve-logo-icon { width: 32px; height: 32px; border-radius: 9px; }
  .ve-logo-icon img { width: 18px; height: 18px; }
  .ve-logo-text { font-size: 18px; }

  .ve-nav-cta { display: block; margin-inline-start: auto; }
  .ve-nav-cta .ve-cta-btn { padding: 7px 14px; font-size: 12.5px; border-radius: 8px; gap: 6px; }
  .ve-nav-cta .ve-cta-btn i { font-size: 11px; }

  .ve-toggler {
    display: flex; justify-content: center; align-items: center; gap: 4px;
    width: 38px; height: 38px; padding: 0; border-radius: 10px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  }
  .ve-toggler span { width: 16px; height: 1.5px; transition: transform .3s ease, opacity .2s ease; }
  .ve-toggler.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .ve-toggler.is-open span:nth-child(2) { opacity: 0; }
  .ve-toggler.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .ve-mobile-menu, .ve-mobile-menu.open {
    display: block; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    background: var(--ve-dark2); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
    padding: 10px; box-shadow: 0 24px 50px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top center;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .ve-mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .ve-mobile-menu ul li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px; border-radius: 10px; border-bottom: none; font-size: 14.5px;
    color: rgba(255,255,255,0.82); transition: background .2s ease, color .2s ease;
  }
  .ve-mobile-menu ul li a i { font-size: 13px; opacity: .4; }
  .ve-mobile-menu ul li a:hover { background: rgba(255,255,255,0.05); color: #fff; }
  .ve-mobile-menu ul li a.active { background: rgba(212,160,23,0.16); color: var(--ve-gold); }
  .ve-mobile-menu ul li a.active i { opacity: 1; }

  .rc-mm-foot { display: flex; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.07); }
  .rc-mm-foot .ve-cta-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px;
    background: var(--ve-gold); color: var(--ve-dark); border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none;
  }
  .ve-toggler:focus { outline: none; }
  .ve-toggler:focus-visible { outline: 2px solid var(--ve-gold); outline-offset: 2px; }
  .rc-mm-wa {
    width: 46px; flex-shrink: 0; border-radius: 8px; background: rgba(37,211,102,0.14); color: #25d366;
    display: flex; align-items: center; justify-content: center; font-size: 20px; text-decoration: none;
  }
  .rc-mm-wa:hover { color: #25d366; background: rgba(37,211,102,0.22); }

  .rc-menu-backdrop {
    display: block; position: fixed; inset: 0; z-index: 9990; background: rgba(5,12,20,0.5);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .rc-menu-backdrop.show { opacity: 1; visibility: visible; }

  .ve-hero { padding-top: 60px; }
  .ve-page-hero { margin-top: 60px; min-height: 300px; padding-bottom: 40px; }
}

@media (max-width: 370px) {
  .ve-nav-wrap { padding: 0 12px; gap: 8px; }
  .ve-nav-cta .ve-cta-btn { padding: 7px 11px; font-size: 12px; }
  .ve-nav-cta .ve-cta-btn i { display: none; }
  .ve-logo-text { font-size: 16px; }
}

/* ============================================================
   SMALL SCREENS — layout polish
   ============================================================ */
@media (max-width: 767px) {
  html[dir="rtl"] .ve-hero-left { padding: 44px 20px 40px; }
  .ve-hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; line-height: 1.7; }
  .ve-hero-left p { font-size: 15px; margin-bottom: 28px; }
  .ve-hero-btns { margin-bottom: 34px; }
  .ve-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
  .ve-stat-divider { display: none; }
  .ve-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 12px 8px; text-align: center; }
  .ve-stat strong { font-size: 20px; }
  .ve-stat span { font-size: 10.5px; line-height: 1.6; display: block; }

  .rc-hero-right { padding: 40px 16px 50px; }
  .rc-hero-chip { display: none; }
  .rc-dash { animation: none; }

  .ve-trust-bar { padding: 11px 0; }
  .ve-trust-inner { gap: 36px; }

  .ve-section-header { margin-bottom: 40px; }
  .ve-section-header p { font-size: 14.5px; }
  .ve-service-card, .rc-problem-card { padding: 28px 22px; }

  html[dir="rtl"] .ve-whyus-img-wrap { padding-left: 24px; padding-bottom: 24px; }
  .ve-whyus-img-main { height: 300px; }
  .ve-whyus-badge { padding: 14px 18px; min-width: 120px; }
  .ve-whyus-badge strong { font-size: 28px; }

  .ve-counter-section { padding: 40px 0; }
  .ve-counter-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .ve-counter-item { padding: 22px 10px; }
  .ve-counter-item strong { font-size: 36px; }
  .ve-counter-item i { font-size: 28px; }
  .ve-counter-item p { font-size: 12.5px; }
  html[dir="rtl"] .ve-counter-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  html[dir="rtl"] .ve-counter-item:nth-child(odd) { border-left: 1px solid rgba(255,255,255,0.08); }
  html[dir="rtl"] .ve-counter-item:nth-last-child(-n+2) { border-bottom: none; }

  .ve-process-section { padding: 60px 0; }
  .ve-process-grid { margin-top: 10px; }
  .ve-process-step { width: 100%; }
  .ve-process-arrow { padding: 8px 0; }

  .ve-cta-banner { padding: 60px 0; }
  .ve-cta-content h2 { font-size: 26px; }
  .rc-cta-btns a { flex: 1; text-align: center; min-width: 0; padding-left: 14px; padding-right: 14px; }

  .ve-page-hero-content h1 { font-size: 30px; }
  .ve-page-hero-content > p { font-size: 14.5px; }

  html[dir="rtl"] .ve-about-img-stack { padding: 0 0 30px 30px; }
  .ve-about-img-1 { height: 300px; }
  html[dir="rtl"] .ve-about-ribbon { right: 12px; top: 12px; padding: 12px 16px; }
  .ve-about-ribbon strong { font-size: 26px; }
  .ve-mvv-grid { gap: 18px; }

  .rc-price-card { padding: 30px 22px; }
  .ve-faq-q { padding: 16px 18px; }
  .ve-faq-q span { font-size: 14px; }
  .ve-faq-a { padding: 14px 18px 18px; }
  .ve-faq-section h2 { font-size: 28px; }

  .ve-contact-cards-section { padding: 40px 0; }
  .ve-contact-cards-grid { gap: 14px; }
  .ve-contact-form-wrap { padding: 26px 20px; }
  .ve-contact-form-wrap h2 { font-size: 26px; }
  .ve-contact-form button.ve-btn-primary { width: 100%; text-align: center; }

  .ve-footer { padding-top: 56px; }
  .ve-footer .mb-50 { margin-bottom: 34px; }
}

@media (max-width: 480px) {
  .ve-hero-btns { flex-direction: column; gap: 10px; }
  .ve-hero-btns a { text-align: center; }
}

/* ============================================================
   BACK-TO-TOP button (restyled template #scrollUp)
   ============================================================ */
#scrollUp {
  width: 44px; height: 44px; padding: 0; right: 24px; bottom: 30px; border-radius: 12px;
  background: var(--ve-dark); color: var(--ve-gold); border: 1px solid rgba(212,160,23,0.35);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(13,27,42,0.3);
}
#scrollUp i { font-size: 20px; }
#scrollUp:hover { background: var(--ve-gold); color: var(--ve-dark); }

@media (max-width: 767px) {
  #scrollUp { width: 40px; height: 40px; right: 18px; bottom: 24px; }
  .rc-cta-btns { flex-direction: column; }
  .rc-cta-btns a { width: 100%; }
  .ve-footer-title { margin-bottom: 14px; }
  .ve-footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
  .ve-footer-links li { margin: 0; }
  .ve-footer-links li a {
    display: inline-block; font-size: 13px; padding: 6px 12px; border-radius: 50px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  }
  .ve-footer-links li a::before { display: none; }
  .ve-footer-links li a:hover, html[dir="rtl"] .ve-footer-links li a:hover { padding: 6px 12px; transform: none; border-color: rgba(212,160,23,0.4); }
  .ve-footer .mb-50 { margin-bottom: 28px; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.ve-nav-cta { display: flex; align-items: center; gap: 10px; }
.rc-lang { position: relative; }
.rc-lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--ve-trans);
}
.rc-lang-btn img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.rc-lang-btn i { font-size: 12px; opacity: .6; transition: transform .25s ease; }
.rc-lang-btn:hover, .rc-lang.open .rc-lang-btn { border-color: rgba(212,160,23,0.5); background: rgba(212,160,23,0.1); }
.rc-lang-btn:focus { outline: none; }
.rc-lang-btn:focus-visible { outline: 2px solid var(--ve-gold); outline-offset: 2px; }
.rc-lang.open .rc-lang-btn i { transform: rotate(180deg); }
.rc-lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: var(--ve-dark2); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.rc-lang:hover .rc-lang-menu, .rc-lang.open .rc-lang-menu { opacity: 1; visibility: visible; transform: none; }
.rc-lang::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 10px; } /* hover bridge */
.rc-lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.rc-lang-menu a img, .rc-mm-langs a img { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }
.rc-lang-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.rc-lang-menu a.active { background: rgba(212,160,23,0.14); color: var(--ve-gold); }
.rc-lang-menu a[lang="ckb"], .rc-lang-menu a[lang="ar"], .rc-mm-langs a[lang="ckb"], .rc-mm-langs a[lang="ar"] { font-family: var(--rc-font); }
.rc-lang-menu a[lang="en"], .rc-mm-langs a[lang="en"] { font-family: 'DM Sans', sans-serif; }

.rc-mm-langs { display: none; }

@media (max-width: 991px) {
  .rc-lang { display: none; }
  .rc-mm-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.07); }
  .rc-mm-langs a {
    display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 6px; border-radius: 10px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 600; text-decoration: none;
  }
  .rc-mm-langs a.active { border-color: rgba(212,160,23,0.5); background: rgba(212,160,23,0.12); color: var(--ve-gold); }
  .rc-mm-langs a img { width: 18px; height: 12px; }
}

/* FAQ section heading (services page) */
.rc-faq-title { font-size: 38px; font-weight: 900; margin-bottom: 14px; }
.rc-faq-title span, .rc-faq-text a { color: var(--ve-gold); }

/* ============================================================
   LTR (English) — mirror the RTL-only fixes above
   ============================================================ */
html[dir="ltr"] .rc-dash-stat b { text-align: left; }
html[dir="rtl"] .rc-dash-stat b { text-align: right; }
html[dir="ltr"] .ve-form-group input[dir="ltr"] { text-align: left; }
html[dir="ltr"] .ve-hero-left h1 { font-size: 54px; line-height: 1.15; }
html[dir="ltr"] .ve-section-header h2 { font-size: 40px; }
html[dir="ltr"] .ve-footer-links li a { transition: color .3s ease, transform .3s ease, border-color .3s ease; }
html[dir="ltr"] .ve-footer-links li a:hover { transform: translateX(4px); }
html[dir="ltr"] .ve-card-link:hover i { transform: translateX(4px); }
html[dir="ltr"] .rc-chip-top { left: auto; right: 40px; }
html[dir="ltr"] .rc-chip-bottom { right: auto; left: 40px; }
html[dir="ltr"] .ve-cta-overlay { background: linear-gradient(90deg, rgba(13,27,42,0.94) 55%, rgba(13,27,42,0.7)); }

@media (max-width: 1199px) {
  html[dir="ltr"] .ve-hero-left { padding: 70px 40px; }
  html[dir="ltr"] .ve-hero-left h1 { font-size: 44px; }
}
@media (max-width: 991px) {
  html[dir="ltr"] .ve-hero-left { padding: 110px 30px 50px; }
  html[dir="ltr"] .ve-whyus-content, html[dir="ltr"] .ve-about-text { padding-left: 0; }
  html[dir="ltr"] .ve-contact-aside { padding-left: 0; }
}
@media (max-width: 767px) {
  html[dir="ltr"] .ve-hero-left { padding: 44px 20px 40px; }
  html[dir="ltr"] .ve-hero-left h1 { font-size: 34px; }
  html[dir="ltr"] .ve-section-header h2, html[dir="ltr"] .ve-whyus-content h2,
  html[dir="ltr"] .ve-about-text h2, .rc-faq-title { font-size: 28px; }
  html[dir="ltr"] .ve-whyus-img-wrap { padding-right: 24px; padding-bottom: 24px; }
  html[dir="ltr"] .ve-counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  html[dir="ltr"] .ve-counter-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  html[dir="ltr"] .ve-counter-item:nth-last-child(-n+2) { border-bottom: none; }
  html[dir="ltr"] .ve-about-img-stack { padding: 0 30px 30px 0; }
  html[dir="ltr"] .ve-about-ribbon { left: 12px; top: 12px; padding: 12px 16px; }
  html[dir="ltr"] .ve-footer-links li a:hover { transform: none; }
}

/* ============================================================
   LAZY BACKGROUND IMAGES (see js/vaultedge.js)
   ============================================================ */
.rc-lazy-bg { background-color: var(--ve-navy); }
