/* ==========================================================================
   صفحات صيانة الماركات — تحسينات فوق قالب الصفحة الأصلي
   كل صفحة بتحتفظ بلون الماركة الخاص بيها من خلال --primary (معرّف جوه الصفحة)
   ========================================================================== */
@font-face {
  font-family: 'Cairo';
  src: url(../fonts/cairo-var.woff2) format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-family-base: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-family-title: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --bp-ease: cubic-bezier(.22, .61, .36, 1);
  --bp-wa: #128C4A;
  --bp-shadow: 0 8px 20px rgba(17, 19, 26, .16);
  --bp-shadow-hover: 0 12px 26px rgba(17, 19, 26, .22);
}
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, .title, .sub-title, .btn { font-family: var(--font-family-base) !important; }
body { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.dialog-open { overflow: hidden; }
::selection { background: var(--rgba-primary-2); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ---------- زرار الكبسولة: نفس الشكل في كل مكان (تحت الهيرو، العائم، شريط الموبايل، الفورم) ---------- */
.bp-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap;
  color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: var(--bp-shadow);
  transition: transform .25s var(--bp-ease), box-shadow .25s var(--bp-ease), filter .2s;
}
.bp-pill i { font-size: 18px; }
.bp-pill:hover, .bp-pill:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: var(--bp-shadow-hover); filter: brightness(1.06); }
.bp-pill:active { transform: none; }
.bp-pill--call { background: var(--primary); }
.bp-pill--wa { background: var(--bp-wa); }
.bp-pill--light { background: #fff; color: var(--primary); }
.bp-pill--light:hover, .bp-pill--light:focus-visible { color: var(--primary); }
.bp-pill--submit { min-width: 260px; }

/* ---------- Header: اسم الماركة كنص (من غير لوجو الشركة المصنعة) ---------- */
.logo-header.bp-logo { width: auto; min-width: 150px; max-width: 300px; }
.logo-header.mostion.bp-logo { display: flex; align-items: center; }
@media (min-width: 992px) { .header-nav .logo-header.bp-logo { display: none; } }
.logo-header .bp-wordmark { display: flex; flex-direction: column; justify-content: center; text-decoration: none; line-height: 1.15; padding-block: 6px; letter-spacing: normal; word-spacing: normal; }
.logo-header .bp-wordmark span { letter-spacing: normal; white-space: nowrap; }
.bp-wordmark .bp-name { font-family: Arial, 'Segoe UI', sans-serif; font-weight: 700; font-size: 25px; color: var(--primary); letter-spacing: .2px; }
.bp-wordmark .bp-sub { font-size: 13.5px; font-weight: 700; color: #1f2430; margin-top: 3px; }
.bp-wordmark .bp-by { font-size: 11.5px; color: #6b7280; margin-top: 2px; }
.header-nav .logo-header.bp-logo { min-width: 0; padding: 18px 20px 6px; }
/* الهيدر بيتثبت فوق أثناء التمرير: نحجز مكانه علشان الصفحة متتنططش والروابط الداخلية توصل صح */
.site-header .sticky-header.main-bar-wraper { min-height: 90px; }
@media (max-width: 991px) { .site-header .sticky-header.main-bar-wraper { min-height: 80px; } }
@media (max-width: 575.98px) { .bp-wordmark .bp-name { font-size: 21px; } .bp-wordmark .bp-sub { font-size: 12.5px; } }
.top-bar .bp-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; }
.top-bar .bp-topline a { color: inherit; font-weight: 700; text-decoration: none; }
.top-bar .bp-topline a:hover { color: var(--primary); }

/* زرار الاتصال في الهيدر: كبسولة صغيرة بالرقم بدل المربع الكبير */
.site-header.style-2 .extra-nav { display: flex; align-items: center; }
.site-header.style-2 .extra-nav .btn-quote.bp-call {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px;
  border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1;
  box-shadow: 0 6px 16px var(--rgba-primary-3);
}
.site-header.style-2 .extra-nav .btn-quote.bp-call i { display: inline-block; font-size: 16px; }
.site-header.style-2 .extra-nav .btn-quote.bp-call span { display: inline-block; }
.navbar-toggler.navicon { border-radius: 12px; }
@media (max-width: 991px) {
  .site-header.style-2 .extra-nav .btn-quote.bp-call { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 12px; }
  .site-header.style-2 .extra-nav .btn-quote.bp-call span { display: none; }
  .site-header.style-2 .extra-nav .btn-quote.bp-call i { font-size: 18px; }
}

/* دايرة الاتصال: صغيرة وجوه ركن السلايدر بدل ما تطلع فوق الزراير اللي تحته */
.slider-3 .down-side {
  top: auto !important; bottom: 24px !important; left: 24px !important; right: auto !important; transform: none !important;
  width: 56px !important; height: 56px !important; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px !important; color: #fff; background: var(--primary);
  box-shadow: 0 10px 24px var(--rgba-primary-4);
}
.slider-3 .down-side i { animation: none !important; }
.slider-3 .down-side::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--primary); animation: bp-ring 2.4s var(--bp-ease) infinite;
}
@keyframes bp-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 767.98px) { .slider-3 .down-side { width: 48px !important; height: 48px !important; font-size: 19px !important; bottom: 16px !important; left: 16px !important; } }

/* ---------- تحت السلايدر: العنوان + زرارين بنفس شكل الأزرار الثابتة ---------- */
.bp-intro { background: #fff; border-bottom: 1px solid #eceef3; }
.bp-intro .container { display: grid; gap: 16px; padding-block: 24px; align-items: center; }
@media (min-width: 992px) { .bp-intro .container { grid-template-columns: 1fr auto; gap: 32px; padding-block: 28px; } }
.bp-intro h1 { font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 6px; color: #11131a; line-height: 1.35; }
.bp-intro h1 span { color: var(--primary); }
.bp-intro p { margin: 0; color: #4b5160; font-size: 16px; line-height: 1.7; }
.bp-intro .bp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 575.98px) { .bp-intro .bp-actions .bp-pill { flex: 1; padding: 0 16px; } }

/* ---------- كروت وحركة ناعمة ---------- */
.btn { transition: transform .25s var(--bp-ease), box-shadow .25s var(--bp-ease), background-color .2s, color .2s !important; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.dz-card.blog-grid { transition: transform .35s var(--bp-ease), box-shadow .35s var(--bp-ease); border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.dz-card.blog-grid:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(17, 19, 26, .12); }
.dz-card.blog-grid .dz-media { aspect-ratio: 16 / 10; overflow: hidden; }
.dz-card.blog-grid .dz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bp-ease); }
.dz-card.blog-grid:hover .dz-media img { transform: scale(1.05); }
.dz-card.blog-grid .dz-info { display: flex; flex-direction: column; flex: 1; }
.dz-card.blog-grid .btn-link { margin-top: auto; }
.blog-area1 > [class*="col-"] { display: flex; }
.blog-area1 > [class*="col-"] > .dz-card { width: 100%; }
.blogd { height: auto !important; overflow: visible !important; font-size: 15px; line-height: 1.8; }
.dz-card .dz-title { line-height: 1.45; }
.icon-bx-wraper.style-11 { transition: transform .35s var(--bp-ease); }
.icon-bx-wraper.style-11:hover { transform: translateY(-4px); }
.call-action .bp-pill--light { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ---------- قسم "إزاي بنشتغل" ---------- */
.about-media .year-exp .year { font-size: 22px; letter-spacing: 0; }

/* ---------- شريط الأرقام (من غير عدّاد علشان الرقم يفضل بالصفر) ---------- */
.bp-facts .icon-bx-wraper.style-12 { flex-direction: column; align-items: flex-start; gap: 4px; }
.bp-facts .bp-fact { margin: 0; font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; color: #fff; }
.bp-facts .bp-fact a { color: inherit; text-decoration: none; }
.bp-facts .bp-fact a:hover { opacity: .85; }
.bp-facts .icon-bx-wraper.style-12 .title { padding: 0; font-size: 15px; opacity: .85; color: #fff; }
.bp-facts .icon-bx-wraper.style-12::after { display: none; }

/* ---------- الفورم ---------- */
.bp-form .form-control { min-height: 50px; font-size: 16px; }
.bp-form textarea.form-control { min-height: 110px; }
.bp-form label { display: block; font-weight: 700; margin-bottom: 6px; color: #1f2430; font-size: 15px; }
.bp-form label .opt { font-weight: 400; color: #6b7280; font-size: 13px; }
.bp-form [aria-invalid="true"] { border-color: #C62828 !important; box-shadow: 0 0 0 3px rgba(198, 40, 40, .12) !important; }
.field-error { color: #B71C1C; font-size: 14px; margin: 6px 0 0; width: 100%; }
.form-note { font-size: 14px; color: #4b5160; margin: 12px 0 0; text-align: center; }
.link-button { font: inherit; color: var(--primary); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #E8F5EE; color: #0D5A30; border: 1px solid #BFE3CD; font-size: 15px; text-align: start; }

/* ---------- الفوتر ---------- */
.bp-footer-ue { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bp-footer-ue img { width: 64px; height: auto; }
.bp-footer-ue strong { color: #fff; font-size: 18px; display: block; line-height: 1.2; }
.bp-footer-ue small { color: #c9ccd4; font-size: 13px; }
.site-footer .widget_categories ul li a { display: inline-block; }
.site-footer .widget_categories ul li small { color: #9ea3ad; font-size: 12.5px; }
.footer-bottom .footer-link li .link-button { color: inherit; text-decoration: none; }
.footer-bottom .footer-link li .link-button:hover { color: #fff; }
/* التنويه: موجود وواضح لجوجل، بس هادي ومش بيشد العين */
.bp-disclaimer { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, .5); text-align: center; }

/* ---------- الأزرار الثابتة: على الكمبيوتر عائمة، وعلى الموبايل شريط تحت ---------- */
.bp-float { display: none; }
@media (min-width: 768px) {
  .bp-float {
    position: fixed; left: 20px; bottom: 20px; z-index: 999;
    display: flex; flex-direction: column; gap: 10px;
    transition: opacity .35s var(--bp-ease), transform .35s var(--bp-ease), visibility 0s;
  }
  .js .bp-float:not(.is-shown) { opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none; transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .bp-float .bp-pill { min-height: 48px; padding: 0 20px; font-size: 15px; }
  html[dir="rtl"] button.scroltop { left: auto !important; right: 20px !important; bottom: 20px !important; border-radius: 12px; }
}
@keyframes bp-float-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bp-action-bar { display: none; }
@media (max-width: 767.98px) {
  button.scroltop { display: none !important; }
  body.has-action-bar { padding-bottom: 76px; }
  .bp-action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid #e6e8ee; box-shadow: 0 -8px 24px rgba(17, 19, 26, .1);
    transition: transform .35s var(--bp-ease), visibility 0s;
  }
  .js .bp-action-bar:not(.is-shown) { transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .bp-action-bar .bp-pill { width: 100%; box-shadow: none; }
}
@keyframes bp-bar-in { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- نوافذ السياسات ---------- */
dialog.policy { width: min(680px, calc(100% - 24px)); max-height: min(86vh, 760px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); color: #3c3f47; }
dialog.policy::backdrop { background: rgba(10, 12, 20, .55); }
dialog.policy[open] { animation: bp-dlg-in .3s var(--bp-ease); }
@keyframes bp-dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.policy-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #fff; border-bottom: 1px solid #eceef3; z-index: 1; }
.policy-head h2 { font-size: 20px; margin: 0; }
.policy-body { padding: 18px 20px 24px; font-size: 15px; line-height: 1.8; }
.policy-body h3 { font-size: 17px; margin: 1.2em 0 .4em; }
.policy-body p, .policy-body li { font-size: 15px; }
.policy-body ul { list-style: disc; padding-inline-start: 1.3em; margin: 0 0 1em; }
.policy-body li { margin-bottom: .35em; }
.policy-body a { color: var(--primary); }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #e3e6ee; background: #fff; color: #1f2430; cursor: pointer; font-size: 22px; line-height: 1; }

/* المحتوى يفضل ظاهر لو السكربت متحملش، وبدون حركة لمن يفضّل تقليلها */
html:not(.js) [data-aos] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dz-card.blog-grid, .dz-card.blog-grid .dz-media img, .btn, .bp-pill, .icon-bx-wraper.style-11 { transition: none !important; }
  .bp-action-bar, .bp-float { transition: none !important; }
  dialog.policy[open], .slider-3 .down-side::after { animation: none; }
}

/* ==========================================================================
   الهيرو المرسوم: خلفية بلون الماركة + رسمة الجهاز (SVG حادة على أي شاشة)
   ========================================================================== */
.silder-three .dz-slide-item.bp-art {
  position: relative; overflow: hidden; display: flex; align-items: center;
  height: clamp(540px, 76vh, 680px); padding: 40px 0; background: var(--primary);
}
.bp-art-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 75% at 24% 72%, rgba(255, 255, 255, .20), transparent 62%),
    radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.7px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
  background:
    radial-gradient(55% 75% at 24% 72%, rgba(255, 255, 255, .20), transparent 62%),
    radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.7px) 0 0 / 22px 22px,
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 62%, #000) 0%, var(--primary) 58%, color-mix(in srgb, var(--primary) 84%, #fff) 100%);
}
.bp-art-bg::after {
  content: ''; position: absolute; left: -140px; bottom: -260px; width: 680px; height: 680px;
  border-radius: 50%; border: 80px solid rgba(255, 255, 255, .06);
}
.bp-art .container { position: relative; z-index: 2; }
.bp-art-stage {
  position: absolute; z-index: 1; left: 7%; top: 36px; bottom: 0; width: 42%;
  display: flex; align-items: flex-end; justify-content: center; pointer-events: none;
}
.bp-art-stage::after {
  content: ''; position: absolute; bottom: 14px; left: 18%; right: 18%; height: 34px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .38), transparent); z-index: -1;
}
.bp-art-img {
  position: relative; width: auto; max-width: 100%; max-height: 86%; margin-bottom: 26px;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .28));
}
.bp-art--ac .bp-art-stage { align-items: center; }
.bp-art--ac .bp-art-stage::after { display: none; }
.bp-art--ac .bp-art-img { max-height: 70%; margin-bottom: 0; }
.swiper-slide-active .bp-art-img { animation: bp-art-in 1s var(--bp-ease) both; }
@keyframes bp-art-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
.bp-chip {
  position: absolute; top: 46%; left: 2%; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: #1f2430;
  font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
  animation: bp-chip-float 5s ease-in-out infinite;
}
.bp-chip i { color: var(--primary); font-size: 15px; }
.bp-art--ac .bp-chip { top: auto; bottom: 18%; left: 10%; }
@keyframes bp-chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.bp-art .silder-content { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; width: min(560px, 48%); margin: 0; }
.bp-art .silder-content .title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.2; margin-bottom: 26px; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .18); }
.bp-art .silder-content .sub-title { color: rgba(255, 255, 255, .88) !important; font-size: 17px; margin-bottom: 12px; }
.bp-art .bp-pill--light { min-height: 54px; padding: 0 28px; }
/* دايرة الاتصال: ركن السلايدر اليمين على الكمبيوتر (الرسمة على الشمال) */
@media (min-width: 768px) { .slider-3 .down-side { left: auto !important; right: 24px !important; background: #fff; color: var(--primary); } .slider-3 .down-side::after { border-color: #fff; } }

@media (min-width: 768px) and (max-width: 991.98px) {
  .silder-three .dz-slide-item.bp-art { height: 520px; }
  .bp-art-stage { left: 3%; width: 44%; }
  .bp-art .silder-content { width: 52%; }
  .bp-chip { font-size: 13px; padding: 8px 12px; }
}
@media (max-width: 767.98px) {
  .silder-three .dz-slide-item.bp-art { display: block; height: 600px; padding: 34px 0 0; }
  .bp-art .silder-content { width: 100%; margin: 0; }
  .bp-art .silder-content .title { font-size: 30px; margin-bottom: 18px; }
  .bp-art .silder-content .sub-title { font-size: 14px; }
  .bp-art-stage { left: 0; right: 0; top: auto; bottom: 0; width: 100%; height: 47%; }
  .bp-art-img { max-height: 84%; margin-bottom: 18px; }
  .bp-art--ac .bp-art-stage { height: 40%; align-items: center; }
  .bp-art--ac .bp-art-img { max-width: 82%; max-height: 80%; }
  .bp-chip { top: 4%; left: 16px; font-size: 13px; padding: 7px 12px; }
  .bp-art--ac .bp-chip { bottom: auto; top: -4%; left: 16px; }
  .silder-three .btn-prev, .silder-three .btn-next { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .swiper-slide-active .bp-art-img, .bp-chip { animation: none !important; }
}
