/* =========================================================
   Montasser — Main Stylesheet
   ثيم مبرمج من الصفر • Bootstrap 5 + Font Awesome + Cairo
   ========================================================= */

:root {
  --mt-bg:        #0a0c12;
  --mt-surface:   #10141c;
  --mt-surface-2: #151a24;
  --mt-border:    #232a38;
  --mt-accent:    #d9a93a;
  --mt-accent-2:  #f0c766;
  --mt-text:      #FFFFFF;
  --mt-muted:     #A0A0A0;
  --mt-muted-2:   #D5D5D5;
  --mt-radius:    16px;
  --mt-gradient:  linear-gradient(135deg, #f0c766 0%, #d9a93a 55%, #a67c1f 100%);
  --mt-container: 1200px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mt-bg);
  color: var(--mt-text);
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  direction: rtl;
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--mt-accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { font-family: "Cairo", sans-serif; font-weight: 800; margin: 0; }

.container { max-width: var(--mt-container); }

.mt-accent { color: var(--mt-accent); }

.skip-link {
  position: absolute; top: 8px; right: 8px; z-index: 100000;
  background: var(--mt-accent); color: #fff; padding: 8px 16px; border-radius: 8px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: var(--mt-border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--mt-accent); }

/* ---------- Buttons ---------- */
.mt-btn {
  --bs-btn-focus-shadow-rgb: 217 169 58;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 12px 30px; border-radius: 8px; border: 1px solid transparent;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
  cursor: pointer;
}
.mt-btn-lg { padding: 16px 34px; font-size: 16px; }

.mt-btn-primary { background: linear-gradient(135deg,#f0c766,#d9a93a 55%,#a67c1f); color: #1a1204; font-weight: 800; }
.mt-btn-primary:hover {
  background: var(--mt-accent); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(217, 169, 58, .35);
}

.mt-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.mt-btn-outline:hover { background: #fff; color: #0a0c12; border-color: #fff; transform: translateY(-2px); }

.mt-btn-outline-accent { background: transparent; color: var(--mt-accent); border-color: var(--mt-accent); }
.mt-btn-outline-accent:hover { background: var(--mt-accent); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.mt-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.mt-header.is-scrolled {
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.mt-navbar { padding: 18px 0; }
.mt-header.is-scrolled .mt-navbar { padding: 12px 0; }

.mt-brand { display: inline-flex; align-items: center; }
.mt-logo-img, .mt-brand .custom-logo { height: 44px; width: auto; }

.mt-collapse { align-items: center; }
.mt-navbar .nav-link {
  color: var(--mt-muted-2); font-weight: 600; font-size: 15px;
  padding: 8px 16px; border-radius: 6px;
}
.mt-navbar .nav-link:hover,
.mt-navbar .nav-item.active > .nav-link,
.mt-navbar .nav-link.active { color: #fff; }

.mt-navbar .dropdown-menu {
  background: var(--mt-surface); border: 1px solid var(--mt-border); border-radius: 10px;
}
.mt-navbar .dropdown-item { color: var(--mt-muted-2); }
.mt-navbar .dropdown-item:hover { background: var(--mt-surface-2); color: #fff; }

.mt-header-cta { margin-inline-start: 18px; padding: 10px 24px; font-size: 14px; }

.mt-toggler {
  border: 1px solid var(--mt-border); padding: 6px 10px;
}
.mt-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.mt-toggler:focus { box-shadow: 0 0 0 .2rem rgba(217, 169, 58, .35); }

@media (max-width: 991.98px) {
  .mt-collapse {
    background: rgba(10, 10, 10, .97);
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    margin-top: 14px; padding: 18px;
  }
  .mt-navbar .navbar-nav { width: 100%; }
  .mt-header-cta { margin: 14px 0 0; width: 100%; }
}

/* ---------- Section head ---------- */
.mt-section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.mt-eyebrow {
  display: inline-block; color: var(--mt-accent); font-weight: 700;
  font-size: 14px; letter-spacing: .5px; margin-bottom: 14px;
}
.mt-section-title { font-size: 40px; line-height: 1.25; margin-bottom: 16px; }
.mt-section-sub { color: var(--mt-muted); font-size: 16px; margin-bottom: 26px; }

/* ---------- Hero ---------- */
.mt-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 160px 0 90px;
  overflow: hidden; background: #060606;
}
.mt-hero-video { position: absolute; inset: 0; z-index: 0; }
.mt-hero-video video { width: 100%; height: 100%; object-fit: cover; }
.mt-hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(10,10,10,0) 0%, rgba(10,10,10,.55) 70%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 45%, rgba(10,10,10,.95) 100%);
}
.mt-hero .container { position: relative; z-index: 2; }
.mt-hero-inner { max-width: 620px; margin-inline-start: auto; text-align: right; }
.mt-hero-title { font-size: 56px; line-height: 1.15; margin-bottom: 22px; }
.mt-hero-lead { color: var(--mt-muted-2); font-size: 18px; margin-bottom: 34px; max-width: 30em; }
.mt-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Stats ---------- */
.mt-stats { background: var(--mt-bg); padding: 70px 0; border-block: 1px solid var(--mt-border); }
.mt-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px; }
.mt-stat-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; border: 1px solid rgba(217,169,58,.5); background: rgba(217,169,58,.08); color: var(--mt-accent); font-size: 22px; line-height: 1; }
.mt-stat-num { display: block; font-size: 36px; font-weight: 800; color: #fff; }
.mt-stat-label { display: block; color: var(--mt-muted); font-size: 15px; margin-top: 4px; }

/* ---------- Services ---------- */
.mt-services { background: var(--mt-bg); padding: 110px 0; }
.mt-service-card {
  height: 100%; background: var(--mt-surface);
  border: 1px solid var(--mt-border); border-radius: var(--mt-radius);
  padding: 36px 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.mt-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--mt-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.mt-service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(217, 169, 58, .1); color: var(--mt-accent);
  font-size: 22px; margin-bottom: 20px;
}
.mt-service-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.mt-service-desc { color: var(--mt-muted); font-size: 15px; margin-bottom: 18px; }
.mt-service-link { color: var(--mt-accent); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.mt-service-link i { transition: transform .25s ease; }
.mt-service-link:hover i { transform: translateX(-4px); }

/* ---------- Testimonial ---------- */
.mt-testimonial { background: var(--mt-bg); padding: 100px 0; }
.mt-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.mt-quote-mark { color: var(--mt-accent); font-size: 34px; margin-bottom: 22px; display: block; }
.mt-quote blockquote {
  font-size: 28px; font-weight: 700; line-height: 1.6; color: #fff; margin: 0 0 24px;
}
.mt-quote-name { display: block; font-weight: 700; color: #fff; }
.mt-quote-role { display: block; color: var(--mt-muted); font-size: 14px; margin-top: 4px; }

/* ---------- Work carousel ---------- */
.mt-work { background: var(--mt-bg); padding: 110px 0; }
.mt-carousel { position: relative; }
.mt-track-viewport { overflow: hidden; }
.mt-track { display: flex; gap: 24px; transition: transform .5s ease; will-change: transform; }
.mt-slide {
  flex: 0 0 calc(33.333% - 16px); min-width: calc(33.333% - 16px);
  position: relative; border-radius: var(--mt-radius); overflow: hidden;
  border: 1px solid var(--mt-border); aspect-ratio: 4 / 3; background: var(--mt-surface);
  margin: 0;
}
.mt-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mt-slide:hover img { transform: scale(1.08); }
.mt-slide-overlay {
  position: absolute; inset: auto 0 0 0; padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}
.mt-slide-overlay h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.mt-slide-overlay p { color: var(--mt-muted); font-size: 13px; margin: 0; }

.mt-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mt-surface); border: 1px solid var(--mt-border); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  z-index: 3; font-size: 16px; transition: background .25s ease, border-color .25s ease;
}
.mt-arrow:hover { background: var(--mt-accent); border-color: var(--mt-accent); }
.mt-arrow-prev { right: -10px; }
.mt-arrow-next { left: -10px; }
@media (max-width: 700px) { .mt-arrow { display: none; } }

/* ---------- CTA ---------- */
.mt-cta { background: var(--mt-bg); padding: 40px 0 110px; }
.mt-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.mt-cta-rocket {
  font-size: 64px; display: inline-block; margin-bottom: 18px;
  animation: mt-float 3s ease-in-out infinite;
}
@keyframes mt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.mt-cta-title { font-size: 38px; margin-bottom: 14px; }
.mt-cta-sub { color: var(--mt-muted); font-size: 17px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.mt-footer { background: #060606; border-top: 1px solid var(--mt-border); }
.mt-footer-top { padding: 70px 0 40px; }
.mt-footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.mt-footer-brand p { color: var(--mt-muted); font-size: 14px; max-width: 320px; }
.mt-social { display: flex; gap: 10px; margin-top: 18px; }
.mt-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--mt-surface-2); border: 1px solid var(--mt-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mt-muted); font-size: 15px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.mt-social a:hover { background: var(--mt-accent); color: #fff; transform: translateY(-3px); }

.mt-footer-title { font-size: 16px; font-weight: 700; margin-bottom: 18px; color: #fff; }
.mt-footer-links, .mt-footer-contact { list-style: none; margin: 0; padding: 0; }
.mt-footer-links li, .mt-footer-contact li { margin-bottom: 10px; }
.mt-footer-links a, .mt-footer-contact a { color: var(--mt-muted); font-size: 14px; }
.mt-footer-links a:hover, .mt-footer-contact a:hover { color: var(--mt-accent); }
.mt-footer-contact li { color: var(--mt-muted); font-size: 14px; }
.mt-footer-contact i { color: var(--mt-accent); margin-inline-end: 8px; }

.mt-footer-bottom {
  border-top: 1px solid var(--mt-border); padding: 22px 0; text-align: center;
}
.mt-footer-bottom p { margin: 0; color: var(--mt-muted); font-size: 13px; }

/* ---------- To top ---------- */
#mt-to-top {
  position: fixed; inset: auto 24px 24px auto; z-index: 1020;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--mt-accent); color: #fff; font-size: 16px; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
#mt-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#mt-to-top:hover { background: var(--mt-accent-2); }

/* ---------- Blog / pages ---------- */
.mt-page { padding: 150px 0 100px; }
.mt-content { max-width: 780px; margin: 0 auto; color: var(--mt-muted-2); }
.mt-content a { color: var(--mt-accent); }
.mt-content h2, .mt-content h3 { color: #fff; margin: 32px 0 14px; }
.mt-content img { border-radius: 12px; margin: 20px 0; }
.mt-single-thumb img { border-radius: var(--mt-radius); margin: 0 auto 34px; }

.mt-post-card {
  height: 100%; background: var(--mt-surface); border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius); overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.mt-post-card:hover { transform: translateY(-6px); border-color: var(--mt-accent); }
.mt-post-thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.mt-post-body { padding: 24px; }
.mt-post-meta { color: var(--mt-accent); font-size: 13px; font-weight: 700; }
.mt-post-title { font-size: 19px; margin: 8px 0 10px; }
.mt-post-title a:hover { color: var(--mt-accent); }
.mt-post-excerpt { color: var(--mt-muted); font-size: 14px; margin-bottom: 14px; }

.mt-pagination { display: flex; justify-content: center; margin-top: 50px; }
.mt-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 10px; margin: 0 4px;
  border: 1px solid var(--mt-border); border-radius: 8px; color: var(--mt-muted-2);
}
.mt-pagination .page-numbers.current,
.mt-pagination .page-numbers:hover { background: var(--mt-accent); border-color: var(--mt-accent); color: #fff; }

.mt-empty { text-align: center; color: var(--mt-muted); padding: 40px 0; }

.mt-single-footer { max-width: 780px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--mt-border); }
.mt-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 14px; }

/* ---------- Comments ---------- */
.mt-comments { max-width: 780px; margin: 60px auto 0; }
.mt-comments-title { font-size: 22px; margin-bottom: 24px; }
.mt-comment-list { list-style: none; padding: 0; }
.mt-comment-list .comment-body { border: 1px solid var(--mt-border); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.mt-comments input[type="text"],
.mt-comments input[type="email"],
.mt-comments input[type="url"],
.mt-comments textarea {
  width: 100%; background: var(--mt-bg); border: 1px solid var(--mt-border);
  border-radius: 10px; color: #fff; padding: 12px 14px; margin-bottom: 14px;
}
.mt-comments input:focus, .mt-comments textarea:focus { outline: none; border-color: var(--mt-accent); }

/* =========================================================
   Inner pages : /services/ /about/ /contact/
   ========================================================= */

/* ---------- Page hero ---------- */
.mt-page-hero {
  padding: 170px 0 70px;
  text-align: center;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(217, 169, 58, .12) 0%, rgba(10, 10, 10, 0) 70%),
    var(--mt-bg);
  border-bottom: 1px solid var(--mt-border);
}
.mt-page-hero-title { font-size: 44px; line-height: 1.2; margin: 6px auto 16px; max-width: 24ch; text-wrap: balance; }
.mt-page-hero-lead { color: var(--mt-muted); font-size: 17px; max-width: 620px; margin: 0 auto 28px; }

/* ---------- Numbered service cards ---------- */
.mt-service-card--num { position: relative; padding-top: 44px; }
.mt-service-num {
  position: absolute; top: 20px; inset-inline-start: 24px;
  font-size: 14px; font-weight: 800; color: var(--mt-accent);
  letter-spacing: 1px; opacity: .8;
}

/* ---------- Methodology ---------- */
.mt-method { background: var(--mt-bg); padding: 100px 0; border-top: 1px solid var(--mt-border); }
.mt-step {
  height: 100%; text-align: center; padding: 32px 20px;
  border: 1px solid var(--mt-border); border-radius: var(--mt-radius);
  background: var(--mt-surface); position: relative;
}
.mt-step-num {
  position: absolute; top: 14px; inset-inline-end: 18px;
  font-size: 30px; font-weight: 800; color: rgba(255, 255, 255, .06);
}
.mt-step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px;
  background: rgba(217, 169, 58, .1); color: var(--mt-accent); font-size: 20px;
}
.mt-step-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.mt-step-desc { color: var(--mt-muted); font-size: 14px; }

/* ---------- Vision / Mission ---------- */
.mt-vm { background: var(--mt-bg); padding: 100px 0; }
.mt-vm-card {
  height: 100%; padding: 40px 34px;
  border: 1px solid var(--mt-border); border-radius: var(--mt-radius);
  background: linear-gradient(160deg, var(--mt-surface) 0%, #0c0c0c 100%);
}
.mt-vm-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 18px;
  background: var(--mt-accent); color: #fff; font-size: 22px;
}
.mt-vm-title { font-size: 24px; margin-bottom: 12px; }
.mt-vm-card p { color: var(--mt-muted); font-size: 15px; margin: 0; }

/* ---------- Why us ---------- */
.mt-why { background: var(--mt-bg); padding: 90px 0; border-top: 1px solid var(--mt-border); }
.mt-why .mt-section-title { margin-bottom: 16px; }
.mt-why-lead { color: var(--mt-muted); font-size: 16px; }
.mt-check-list { list-style: none; margin: 0; padding: 0; }
.mt-check-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; margin-bottom: 12px;
  border: 1px solid var(--mt-border); border-radius: 12px;
  background: var(--mt-surface); color: var(--mt-muted-2); font-size: 15px;
}
.mt-check-list i { color: var(--mt-accent); font-size: 18px; }

/* ---------- Team ---------- */
.mt-team { background: var(--mt-bg); padding: 100px 0; }
.mt-member { text-align: center; }
.mt-member-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%; margin-bottom: 14px;
  background: var(--mt-surface-2); border: 1px solid var(--mt-border);
  color: var(--mt-muted); font-size: 32px;
}
.mt-member-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.mt-member-role { color: var(--mt-muted); font-size: 12px; }

/* ---------- Contact ---------- */
.mt-contact { background: var(--mt-bg); padding: 90px 0 110px; }
.mt-contact-cards { display: flex; flex-direction: column; gap: 14px; }
.mt-contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border: 1px solid var(--mt-border);
  border-radius: 14px; background: var(--mt-surface);
}
.mt-contact-card-icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(217, 169, 58, .1); color: var(--mt-accent); font-size: 18px;
}
.mt-contact-card-label { display: block; color: var(--mt-muted); font-size: 13px; margin-bottom: 2px; }
.mt-contact-card-value { display: block; color: #fff; font-size: 15px; font-weight: 600; }
a.mt-contact-card-value:hover { color: var(--mt-accent); }
.mt-contact-social { display: flex; gap: 10px; margin-top: 6px; }
.mt-contact-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--mt-surface); border: 1px solid var(--mt-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mt-muted); font-size: 16px; transition: background .25s, color .25s;
}
.mt-contact-social a:hover { background: var(--mt-accent); color: #fff; }

/* ---------- Contact form ---------- */
.mt-form-wrap {
  padding: 36px; border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius); background: var(--mt-surface);
}
.mt-contact-form .mt-field { position: relative; margin-bottom: 16px; }
.mt-contact-form .mt-field-row { gap: 0; margin-bottom: 0; }
.mt-contact-form .mt-field-row > [class^="col-"] { padding: 0; }
.mt-contact-form input,
.mt-contact-form textarea,
.mt-contact-form select {
  width: 100%; background: var(--mt-bg);
  border: 1px solid var(--mt-border); border-radius: 10px;
  color: #fff; font-family: "Cairo", sans-serif; font-size: 14px;
  padding: 14px 46px 14px 16px; outline: none;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.mt-contact-form textarea { min-height: 120px; resize: vertical; }
.mt-contact-form input::placeholder,
.mt-contact-form textarea::placeholder { color: var(--mt-muted); }
.mt-contact-form input:focus,
.mt-contact-form textarea:focus,
.mt-contact-form select:focus { border-color: var(--mt-accent); }
.mt-contact-form select { color: var(--mt-muted); cursor: pointer; padding-inline-start: 42px; }
.mt-contact-form select option { color: #fff; background: #10141c; }
.mt-field-icon {
  position: absolute; top: 15px; inset-inline-end: 16px;
  color: var(--mt-accent); font-size: 15px; pointer-events: none;
}
.mt-field-caret {
  position: absolute; top: 16px; inset-inline-start: 16px;
  color: var(--mt-muted); font-size: 12px; pointer-events: none;
}
.mt-submit {
  width: 100%; border: none; border-radius: 10px; padding: 15px;
  font-family: "Cairo", sans-serif; font-size: 15px; font-weight: 700; color: #fff;
  cursor: pointer; background: var(--mt-gradient);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .3s, box-shadow .3s;
}
.mt-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(217, 169, 58, .3); }
.mt-hp { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

.mt-alert {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px;
}
.mt-alert--ok  { background: rgba(45, 200, 120, .12); color: #48d18a; border: 1px solid rgba(45, 200, 120, .3); }
.mt-alert--err { background: rgba(217, 169, 58, .12); color: var(--mt-accent); border: 1px solid rgba(217, 169, 58, .3); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .mt-page-hero-title { font-size: 34px; }
  .mt-method, .mt-vm, .mt-team, .mt-why { padding: 64px 0; }
  .mt-hero-title { font-size: 44px; }
  .mt-section-title { font-size: 32px; }
  .mt-cta-title { font-size: 30px; }
  .mt-quote blockquote { font-size: 22px; }
}
@media (max-width: 767.98px) {
  .mt-hero { min-height: auto; padding: 130px 0 70px; text-align: center; }
  .mt-hero-inner { text-align: center; margin: 0 auto; }
  .mt-hero-actions { justify-content: center; }
  .mt-services, .mt-work, .mt-testimonial { padding: 70px 0; }
  .mt-slide { flex: 0 0 100%; min-width: 100%; }
  .mt-footer-top { padding: 50px 0 30px; }
}


/* =========================================================
   Montasser — التصميم الجديد للصفحة الرئيسية (hm-*)
   ألوان الموقع الأصلي: أسود + ذهبي • خط العناوين Expo Arabic Bold
   ========================================================= */
@font-face{font-family:'Expo Arabic';font-weight:700;font-display:swap;
  src:local('Expo Arabic Bold'),local('ExpoArabic-Bold'),
      url('../fonts/ExpoArabic-Bold.woff2') format('woff2'),url('../fonts/ExpoArabic-Bold.ttf') format('truetype')}
:root{--mt-display:'Expo Arabic','Cairo',sans-serif;--hm-gold:#d9a93a;--hm-gold2:#f0c766;--hm-gold-d:#a67c1f;--hm-card:#10141c;--hm-alt:#0d1017;--hm-line:rgba(255,255,255,.08)}
h1,h2,h3,h4,h5,.hm-hero-title,.hm-title,.hm-script{font-family:var(--mt-display);font-weight:700}

/* dark text on gold surfaces (overrides scope7 white) */
.mt-btn-primary,.mt-btn-primary:hover{color:#1a1204}
.mt-btn-outline-accent:hover,.mt-social a:hover,.mt-contact-social a:hover,.mt-pagination .page-numbers:hover,.skip-link{color:#1a1204}
#mt-to-top{background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold));color:#1a1204}
.mt-submit{background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold) 55%,var(--hm-gold-d));color:#1a1204}
.mt-contact-card-icon,.mt-service-icon,.mt-step-icon{color:var(--hm-gold)}
.mt-vm-icon{background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold) 55%,var(--hm-gold-d));color:#1a1204;box-shadow:0 8px 24px rgba(217,169,58,.25)}
.mt-btn{border-radius:10px}

/* header */
.hm-logo{display:inline-flex;align-items:center;gap:10px;line-height:1.2}
.hm-logo-mark{width:38px;height:38px;display:grid;place-items:center;border:1.5px solid var(--hm-gold);border-radius:10px;color:var(--hm-gold2);font-size:16px;transform:rotate(0)}
.hm-logo b{display:block;font-family:var(--mt-display);font-size:17px;color:#fff}
.hm-logo small{display:block;font-size:10px;color:#8b93a1;font-weight:500}
.mt-navbar .nav-link.active{color:var(--hm-gold);border-bottom:2px solid var(--hm-gold)}

/* shared */
.hm-section{padding:84px 0}
.hm-section--alt{background:var(--hm-alt);border-block:1px solid var(--hm-line)}
.hm-eyebrow{display:inline-block;color:var(--hm-gold2);font-size:13px;font-weight:700;margin-bottom:10px}
.hm-eyebrow::before{content:"[ ";opacity:.5}.hm-eyebrow::after{content:" ]";opacity:.5}
.hm-title{font-size:clamp(26px,3.4vw,40px);line-height:1.4;margin:0 0 10px}
.hm-sub{color:#8b93a1;margin:0}
.hm-head{margin-bottom:40px}
.hm-head--center{text-align:center}
.hm-head--row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.hm-more{color:var(--hm-gold2);font-weight:600;font-size:14px}
.hm-more i{margin-inline-start:6px;font-size:12px}
.hm-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(217,169,58,.6);color:var(--hm-gold2);padding:7px 20px;border-radius:999px;font-size:13px;font-weight:600;transition:.25s}
.hm-pill:hover{background:rgba(217,169,58,.14);color:var(--hm-gold2)}
.hm-pill--solid{background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold) 55%,var(--hm-gold-d));color:#1a1204;border-color:transparent;padding:10px 26px;font-weight:800}
.hm-pill--solid:hover{background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold));color:#1a1204;transform:translateY(-2px)}

/* mock UI blocks (placeholders for real screenshots) */
.hm-ui-bar{display:flex;gap:4px;padding:6px 8px}
.hm-ui-bar i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.25)}
.hm-ui-hero{padding:14px 12px 8px;display:flex;flex-direction:column;gap:6px}
.hm-ui-hero em{display:block;height:8px;width:75%;background:rgba(255,255,255,.75);border-radius:3px}
.hm-ui-hero em.short{width:45%;background:var(--hm-gold)}
.hm-ui-hero u{display:block;width:34%;height:12px;border-radius:6px;background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold));margin-top:4px}
.hm-ui-cards{display:flex;gap:6px;padding:8px 12px 14px}
.hm-ui-cards s{flex:1;height:34px;border-radius:5px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.08)}
.hm-screen{background:linear-gradient(160deg,#141a27,#0a0d14);border-radius:6px;overflow:hidden;height:100%}

/* hero */
.hm-hero{position:relative;padding:180px 0 60px;background:
  radial-gradient(ellipse 50% 60% at 25% 45%,rgba(217,169,58,.14),transparent 70%),
  radial-gradient(ellipse 60% 50% at 78% 25%,rgba(255,255,255,.05),transparent 70%),#080a10;overflow:hidden}
.hm-hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:30px;align-items:center}
.hm-hero-title{font-size:clamp(30px,4vw,48px);line-height:1.35;margin:0 0 18px}
.hm-hero-title span{color:var(--hm-gold)}
.hm-hero-lead{color:#b8bec9;font-size:17px;max-width:30em;margin-bottom:28px}
.hm-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.hm-hero-note{display:flex;align-items:center;gap:10px;color:#b8bec9;font-size:13px;margin-bottom:30px}
.hm-hero-note i{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#2a3140;font-size:14px}
.hm-hero-stats{display:flex;gap:44px}
.hm-hero-stats b{display:block;font-family:var(--mt-display);font-size:24px;line-height:1.2}
.hm-hero-stats span{color:#8b93a1;font-size:12px}

.hm-hero-visual{position:relative;min-height:380px;direction:ltr}
.hm-laptop{position:absolute;top:30px;right:70px;width:66%;aspect-ratio:16/10;padding:8px;background:#1b212d;border:2px solid #2d3546;border-radius:12px;box-shadow:0 30px 60px rgba(0,0,0,.6),0 0 60px rgba(217,169,58,.1);z-index:2}
.hm-tablet{position:absolute;top:150px;left:10px;width:30%;aspect-ratio:3/4;padding:6px;background:#1b212d;border:2px solid #2d3546;border-radius:12px;box-shadow:0 20px 40px rgba(0,0,0,.6);z-index:3}
.hm-phone{position:absolute;top:210px;right:0;width:15%;aspect-ratio:9/18;padding:5px;background:#1b212d;border:2px solid #2d3546;border-radius:14px;box-shadow:0 20px 40px rgba(0,0,0,.6);z-index:3}
.hm-rock{position:absolute;inset-inline:6% 0;bottom:0;height:70px;background:radial-gradient(ellipse at 50% 100%,#1c212b,transparent 70%);z-index:1}
.hm-badge{position:absolute;z-index:4;width:58px;height:58px;display:grid;place-items:center;border-radius:14px;font-size:30px;box-shadow:0 12px 26px rgba(0,0,0,.5)}
.hm-badge--wp{top:8px;left:24%;background:#1b212d;border:1.5px solid rgba(217,169,58,.6);color:#d7dbe6}
.hm-badge--el{top:80px;right:0;background:linear-gradient(135deg,#7b2ff7,#4a1d9c);color:#fff}

/* clients */
.hm-clients{background:#0b0e15;border-block:1px solid var(--hm-line);padding:26px 0 30px}
.hm-clients-title{text-align:center;color:#8b93a1;font-size:13px;margin-bottom:18px}
.hm-clients-title span::before,.hm-clients-title span::after{content:"—";margin:0 10px;color:var(--hm-gold);opacity:.6}
.hm-clients-row{list-style:none;margin:0;padding:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;direction:ltr}
.hm-clients-row li{color:#98a0b0;font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px}

/* projects */
.hm-projects{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hm-project{background:var(--hm-card);border:1px solid var(--hm-line);border-radius:14px;overflow:hidden}

.hm-shot{aspect-ratio:16/10;position:relative;overflow:hidden}
.hm-shot img{width:100%;height:100%;object-fit:cover}
.hm-shot .hm-mock{position:absolute;inset:14px 14px 0;width:auto;background:linear-gradient(160deg,#151b28,#0a0d14);border-radius:8px 8px 0 0;border:1px solid var(--hm-line);border-bottom:0}
.hm-shot--store{background:linear-gradient(135deg,#2a1c10,#0a0c12)}
.hm-shot--corp{background:linear-gradient(135deg,#14304f,#0a0c12)}
.hm-shot--land{background:linear-gradient(135deg,#3a2716,#0a0c12)}
.hm-shot--serv{background:linear-gradient(135deg,#123044,#0a0c12)}
.hm-shot--pers{background:linear-gradient(135deg,#1f1f2c,#0a0c12)}
.hm-shot--redo{background:linear-gradient(135deg,#2a2247,#0a0c12)}
.hm-project-info{padding:16px 18px 20px}
.hm-project-info h3{font-size:18px;margin:0 0 2px}
.hm-project-info p{color:#8b93a1;font-size:13px;margin:0 0 14px}

/* slider tweaks (scope7 carousel, gold skin) */
.mt-carousel{margin-top:6px}
.mt-slide{border-radius:14px;border:1px solid var(--hm-line)}
.mt-arrow{background:var(--hm-card);border-color:rgba(217,169,58,.5);color:var(--hm-gold2)}
.mt-arrow:hover{background:var(--hm-gold);border-color:var(--hm-gold);color:#1a1204}

/* about */
.hm-about{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.hm-about-copy p{color:#b8bec9;max-width:28em;margin-bottom:26px}
.hm-about-stats{display:flex;gap:42px;margin-bottom:28px}
.hm-about-stats b{display:block;font-family:var(--mt-display);font-size:28px;color:var(--hm-gold2)}
.hm-about-stats span{color:#8b93a1;font-size:12px}
.hm-about-photo{position:relative;display:flex;justify-content:center}
.hm-frame{width:min(340px,100%);aspect-ratio:4/5;border-radius:14px;border:1px solid rgba(217,169,58,.5);overflow:hidden;background:radial-gradient(circle at 50% 30%,rgba(217,169,58,.25),var(--hm-card) 70%);display:grid;place-items:center;box-shadow:0 0 50px rgba(217,169,58,.1)}
.hm-frame img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.hm-photo-ph{font-size:110px;color:rgba(217,169,58,.55)}
.hm-script{position:absolute;inset-inline-end:-10px;top:38%;color:var(--hm-gold2);font-size:22px;line-height:1.3;transform:rotate(-8deg);text-align:center;opacity:.9}

/* services */
.hm-services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hm-service{display:flex;align-items:center;gap:16px;background:var(--hm-card);border:1px solid var(--hm-line);border-radius:12px;padding:20px 22px}

.hm-service-icon{flex:none;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(217,169,58,.5);color:var(--hm-gold);font-size:21px;background:rgba(217,169,58,.06)}
.hm-service h3{font-size:16px;margin:0 0 2px}
.hm-service p{color:#8b93a1;font-size:13px;margin:0}

/* process */
.hm-process{background:linear-gradient(180deg,#0a0c12,#0c0f16)}
.hm-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:14px;position:relative}
.hm-steps::before{content:"";position:absolute;top:24px;inset-inline:6%;height:1px;background:linear-gradient(90deg,transparent,var(--hm-gold),transparent);opacity:.5}
.hm-step{text-align:center;position:relative}
.hm-step-num{position:relative;z-index:1;width:48px;height:48px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:#0a0c12;border:1.5px solid var(--hm-gold);color:var(--hm-gold2);font-family:var(--mt-display);font-size:15px}
.hm-step-icon{display:block;color:var(--hm-gold);font-size:22px;margin-bottom:8px}
.hm-step h3{font-size:16px;margin:0 0 4px}
.hm-step p{color:#8b93a1;font-size:12.5px;margin:0}

/* case study */
.hm-case{padding-top:30px}
.hm-case-box{display:grid;grid-template-columns:1fr 1.1fr;gap:30px;align-items:center;padding:40px 44px;border-radius:16px;border:1px solid rgba(217,169,58,.3);background:radial-gradient(ellipse 60% 100% at 90% 50%,rgba(217,169,58,.14),transparent 70%),var(--hm-card)}
.hm-case-copy p{color:#b8bec9;margin-bottom:22px}
.hm-case-visual{display:flex;align-items:center;justify-content:center;gap:14px;position:relative;direction:ltr}
.hm-mock{width:44%;background:linear-gradient(160deg,#151b28,#0a0d14);border:1px solid var(--hm-line);border-radius:8px;overflow:hidden}
.hm-mock--before{opacity:.55;filter:grayscale(.8)}
.hm-mock--after{border-color:rgba(217,169,58,.5);box-shadow:0 0 30px rgba(217,169,58,.15)}
.hm-bolt{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:50%;background:#0a0c12;border:1.5px solid var(--hm-gold);color:var(--hm-gold2)}
.hm-gain{position:absolute;inset-inline-end:-6px;bottom:-16px;text-align:center;background:#0a0c12;border:1px solid rgba(217,169,58,.5);border-radius:10px;padding:6px 14px}
.hm-gain b{display:block;font-family:var(--mt-display);font-size:22px;color:var(--hm-gold2);line-height:1.2}
.hm-gain span{font-size:11px;color:#8b93a1}

/* reviews */
.hm-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hm-review{margin:0;background:var(--hm-card);border:1px solid var(--hm-line);border-radius:14px;padding:24px;position:relative}
.hm-review-q{color:rgba(217,169,58,.35);font-size:22px;margin-bottom:10px;display:block}
.hm-review blockquote{margin:0 0 18px;color:#c9ced6;font-size:14.5px}
.hm-review figcaption{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hm-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#1d2330;color:#8b93a1}
.hm-review b{display:block;font-size:14px}
.hm-review small{color:#8b93a1;font-size:12px}
.hm-stars{margin-inline-start:auto;color:var(--hm-gold);font-size:11px;letter-spacing:2px}

/* cta */
.hm-cta{padding:30px 0 90px}
.hm-cta-box{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;padding:46px 50px;border-radius:18px;border:1px solid rgba(217,169,58,.35);
  background:linear-gradient(115deg,rgba(217,169,58,.22),transparent 45%),radial-gradient(ellipse 50% 90% at 15% 50%,rgba(217,169,58,.18),transparent 70%),var(--hm-card)}
.hm-cta-copy p{color:#b8bec9;margin-bottom:22px}
.hm-cta-visual{text-align:center;font-size:150px;line-height:1;color:rgba(217,169,58,.75);text-shadow:0 0 60px rgba(217,169,58,.35)}

/* footer */
.hm-footer{background:#07090e;border-top:1px solid var(--hm-line);padding:56px 0 20px}
.hm-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:36px;padding-bottom:36px}
.hm-footer-brand p{color:#8b93a1;font-size:13.5px;margin:16px 0}
.hm-news{display:flex;background:var(--hm-card);border:1px solid var(--hm-line);border-radius:10px;overflow:hidden}
.hm-news input{flex:1;min-width:0;background:transparent;border:0;color:#fff;padding:11px 14px;font-family:inherit;font-size:13px;outline:0}
.hm-news button{border:0;padding:0 16px;background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold));color:#1a1204;cursor:pointer}
.hm-news:focus-within{border-color:var(--hm-gold)}
.hm-news-msg{color:var(--hm-gold2);font-size:12.5px;margin:8px 0 0}
.hm-wa{position:fixed;inset-block-end:22px;inset-inline-start:22px;z-index:900;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#25c366;color:#04210f;font-size:28px;box-shadow:0 10px 24px rgba(0,0,0,.5)}
.hm-wa:hover{color:#04210f;transform:translateY(-3px)}

/* focus + motion */
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--hm-gold2);outline-offset:3px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* responsive */
@media (max-width:992px){
  .hm-hero-grid,.hm-about,.hm-case-box,.hm-cta-box{grid-template-columns:1fr}
  .hm-hero-visual{min-height:320px;order:-1}
  .hm-projects,.hm-services,.hm-reviews{grid-template-columns:1fr 1fr}
  .hm-steps{grid-template-columns:repeat(3,1fr)}.hm-steps::before{display:none}
  .hm-footer-grid{grid-template-columns:1fr 1fr}
  .hm-cta-visual{display:none}
}
@media (max-width:600px){
  .hm-section{padding:60px 0}
  .hm-projects,.hm-services,.hm-reviews,.hm-steps,.hm-footer-grid{grid-template-columns:1fr}
  .hm-hero-stats,.hm-about-stats{gap:26px}
  .hm-case-box,.hm-cta-box{padding:28px 22px}
  .hm-hero{padding-top:146px}
  .hm-hero-visual{min-height:330px;margin-bottom:34px}
  .hm-laptop{width:72%;right:14%}
  .hm-tablet{top:130px;width:34%}
  .hm-phone{top:170px;width:18%}
  .hm-clients-row{justify-content:center}
}
.hm-hero-img{width:100%;height:auto;filter:drop-shadow(0 30px 50px rgba(0,0,0,.6))}


/* =========================================================
   لوجو + سلايدر المعرض + حركة Hover (نفس نعومة Scope 7)
   ========================================================= */
.hm-logo-img{display:block;height:46px;width:auto;max-width:100%}
.hm-footer-brand .hm-logo-img{height:44px}
.mt-navbar .navbar-brand{margin-inline-end:24px}
@media (max-width:600px){.hm-logo-img{height:30px}}

/* ---- gallery ---- */
.mt-gallery{position:relative}
.mt-stage{position:relative;aspect-ratio:21/9;border-radius:18px;overflow:hidden;border:1px solid var(--hm-line);background:var(--hm-card);touch-action:pan-y}
.mt-stage-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s linear .6s}
.mt-stage-slide.is-active{opacity:1;visibility:visible;transition:opacity .6s ease,visibility 0s}
.mt-stage-slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.06);transition:transform 6s ease-out}
.mt-stage-slide.is-active img{transform:scale(1)}
.mt-stage-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(5,7,12,.88))}
.mt-stage-slide figcaption{position:absolute;inset-inline:0;bottom:0;z-index:2;padding:0 32px 28px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
[dir="rtl"] .mt-stage-slide figcaption{align-items:flex-start}
.mt-stage-slide h3{font-size:clamp(22px,3.4vw,42px);margin:0;color:#fff;line-height:1.3;text-shadow:0 2px 20px rgba(0,0,0,.5)}
.mt-pill{display:inline-block;padding:5px 18px;border-radius:999px;background:linear-gradient(135deg,var(--hm-gold2),var(--hm-gold) 55%,var(--hm-gold-d));color:#1a1204;font-size:13px;font-weight:800}
.mt-count{position:absolute;top:16px;left:16px;z-index:3;display:inline-flex;gap:6px;padding:5px 16px;border-radius:999px;background:rgba(10,12,18,.65);backdrop-filter:blur(6px);color:#9aa2b2;font-size:14px}
.mt-count b{color:var(--hm-gold2);font-weight:800}

.mt-thumbs-wrap{display:flex;align-items:flex-start;gap:14px;margin-top:22px}
.mt-thumbs-wrap .mt-arrow{position:static;transform:none;flex:none;margin-top:52px;width:46px;height:46px;background:var(--hm-card);border:1px solid var(--hm-line);color:#fff}
.mt-thumbs-wrap .mt-arrow:hover{background:var(--hm-gold);border-color:var(--hm-gold);color:#1a1204}
.mt-thumbs{flex:1;min-width:0;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:6px 4px}
.mt-thumbs::-webkit-scrollbar{display:none}
.mt-thumb{flex:0 0 calc((100% - 64px)/5);min-width:150px;scroll-snap-align:center;background:none;border:0;padding:0;font-family:inherit;text-align:center;cursor:pointer}
.mt-thumb-img{display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;border:2px solid transparent;opacity:.72;transition:opacity .3s ease,border-color .3s ease,transform .3s ease,box-shadow .3s ease}
.mt-thumb-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.mt-thumb:hover .mt-thumb-img{opacity:1;transform:translateY(-4px)}
.mt-thumb:hover .mt-thumb-img img{transform:scale(1.08)}
.mt-thumb.is-active .mt-thumb-img{opacity:1;border-color:var(--hm-gold);box-shadow:0 10px 30px rgba(217,169,58,.25);transform:translateY(-4px)}
.mt-thumb-label{display:block;margin-top:12px;color:#8b93a1;font-size:14px;font-weight:600;transition:color .3s ease}
.mt-thumb.is-active .mt-thumb-label,.mt-thumb:hover .mt-thumb-label{color:#fff}
.mt-thumb:focus-visible .mt-thumb-img{outline:3px solid var(--hm-gold2);outline-offset:3px}

@media (max-width:992px){.mt-stage{aspect-ratio:16/9}.mt-thumb{flex-basis:calc((100% - 32px)/3)}}
@media (max-width:600px){
  .mt-stage{aspect-ratio:4/3}
  .mt-stage-slide figcaption{padding:0 18px 18px}
  .mt-thumbs-wrap .mt-arrow{display:none}
  .mt-thumb{flex-basis:46%}
}
@media (prefers-reduced-motion:reduce){.mt-stage-slide img{transform:none!important;transition:none!important}.mt-stage-slide{transition-duration:.2s}}

/* ---- one smooth hover for every card (same easing/lift as Scope 7) ---- */
.hm-project,.hm-service,.hm-review,.hm-step{will-change:transform;transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.hm-project:hover,.hm-service:hover,.hm-review:hover{transform:translateY(-6px);border-color:var(--hm-gold);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.hm-step{padding:20px 10px;border:1px solid transparent;border-radius:14px}
.hm-step:hover{transform:translateY(-6px);border-color:rgba(217,169,58,.5);box-shadow:0 20px 50px rgba(0,0,0,.4)}
.hm-shot img,.hm-shot .hm-mock{transition:transform .4s ease}
.hm-project:hover .hm-shot img,.hm-project:hover .hm-shot .hm-mock{transform:scale(1.05)}
.hm-pill i,.hm-more i,.mt-btn i{transition:transform .25s ease}
.hm-pill:hover i,.hm-more:hover i,.mt-btn:hover i{transform:translateX(-4px)}
.hm-pill{transition:background .25s ease,color .25s ease,transform .25s ease}
.hm-service-icon{transition:background .3s ease,transform .3s ease}
.hm-service:hover .hm-service-icon{background:rgba(217,169,58,.16);transform:scale(1.06)}
.hm-review{margin:0}

/* الصفوف الأربعة (لماذا منتصر حربي) : نفس هوفر الكروت */
.mt-check-list li{will-change:transform;transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.mt-check-list li:hover{transform:translateY(-6px);border-color:var(--hm-gold);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.mt-check-list i{transition:transform .3s ease}
.mt-check-list li:hover i{transform:scale(1.15)}
/* خريطة صفحة التواصل (قنا - مصر) */
.hm-map{position:relative;flex:1;min-height:260px;margin-top:14px;border:1px solid var(--hm-line);border-radius:14px;overflow:hidden;background:var(--hm-card);transition:border-color .3s ease,box-shadow .3s ease}
.hm-map:hover{border-color:var(--hm-gold);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.hm-map iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;filter:invert(92%) hue-rotate(180deg) saturate(.7) contrast(.95)}
/* أيقونات الحقول في المنتصف */
.mt-field-icon{top:50%!important;transform:translateY(-50%)}
.mt-field-caret{top:50%!important;transform:translateY(-50%)}
.mt-field:has(textarea) .mt-field-icon{top:26px!important;transform:none}

/* قائمة الاختيار المخصصة */
.mt-field.is-enhanced .mt-select-native{position:absolute;inset:0;opacity:0;pointer-events:none;height:100%}
.mt-select-btn{display:block;width:100%;text-align:start;background:var(--mt-bg);border:1px solid var(--mt-border);border-radius:10px;color:var(--mt-muted);font-family:"Cairo",sans-serif;font-size:14px;padding:14px 46px 14px 42px;cursor:pointer;transition:border-color .25s ease}
.mt-select-btn.has-value{color:#fff}
.mt-select-btn:hover,.mt-field.is-open .mt-select-btn,.mt-select-btn:focus-visible{border-color:var(--hm-gold);outline:0}
.mt-field.is-enhanced .mt-field-caret{transition:transform .25s ease}
.mt-field.is-open .mt-field-caret{transform:translateY(-50%) rotate(180deg)}
.mt-select-list{position:absolute;z-index:20;inset-inline:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;background:#10141c;border:1px solid var(--hm-gold);border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,.6);max-height:260px;overflow-y:auto}
.mt-select-list[hidden]{display:none}
.mt-select-list li{padding:11px 14px;border-radius:8px;color:#e6e9ef;font-size:14px;cursor:pointer;transition:background .2s ease,color .2s ease}
.mt-select-list li:hover,.mt-select-list li:focus{background:#1c2230;color:#fff;outline:0}
.mt-select-list li[aria-selected="true"]{background:#1c2230;color:var(--hm-gold2);font-weight:700}
/* نهاية عمودَي التواصل متساوية: الخريطة تتمدد لتطابق ارتفاع الفورمة */
@media (min-width:992px){
  .mt-contact .row > div{display:flex;flex-direction:column}
  .mt-contact .mt-form-wrap{flex:1}
  .mt-contact .mt-contact-cards{flex:none}
}
@media (max-width:991.98px){.hm-map{min-height:300px}}
/* خطوات صفحة الخدمات : نفس هوفر الكروت */
.mt-step{will-change:transform;transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.mt-step:hover{transform:translateY(-6px);border-color:var(--hm-gold);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.mt-step-icon{transition:transform .3s ease,background .3s ease}
.mt-step:hover .mt-step-icon{transform:scale(1.08);background:rgba(217,169,58,.18)}
.mt-step-num{transition:color .3s ease}
.mt-step:hover .mt-step-num{color:rgba(217,169,58,.22)}

/* =========================================================
   الهيرو السينمائي : فيديو يتحرك مع السكرول (hm-scrub)
   الوضع الافتراضي = صورة ثابتة (بدون JS / جوال / تقليل حركة)
   ========================================================= */
.hm-scrub{position:relative;background:#080a10}
.hm-scrub-stage{position:relative;min-height:min(100vh,780px);overflow:hidden;display:flex;align-items:center;background:#080a10}
.hm-scrub-still,.hm-scrub-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hm-scrub-video{opacity:0;transition:opacity .5s ease}
.hm-scrub.is-ready .hm-scrub-video{opacity:1}
.hm-scrub.is-live .hm-scrub-still{opacity:0;transition:opacity .5s ease}
.hm-scrub.is-live.is-ready .hm-scrub-still{visibility:hidden}
.hm-scrub-scrim{position:absolute;inset:0;pointer-events:none;background:
  linear-gradient(to left,rgba(8,10,16,.9) 0%,rgba(8,10,16,.62) 42%,rgba(8,10,16,0) 74%),
  linear-gradient(to bottom,rgba(8,10,16,.55),transparent 22%,transparent 80%,#0a0c12 100%)}
.hm-scrub-bands{position:relative;z-index:2;width:min(1180px,92%);margin-inline:auto;padding:150px 0 90px}
.hm-band{max-width:560px}
.hm-band-title{font-size:clamp(30px,4vw,48px);line-height:1.35;margin:0 0 16px;text-shadow:0 2px 24px rgba(0,0,0,.55)}
.hm-band-title span{color:var(--hm-gold)}
.hm-band-title--sm{font-size:clamp(28px,3.6vw,46px)}
.hm-band-lead{color:#d3d8e2;font-size:18px;margin:0 0 26px;text-shadow:0 1px 14px rgba(0,0,0,.7)}
.hm-band-actions{display:flex;gap:14px;flex-wrap:wrap}
.hm-scrub-load,.hm-scroll-hint{display:none}

/* static: only the first band + still image */
.hm-scrub:not(.is-live) .hm-band:not(.hm-band--first){display:none}

/* live: tall track, sticky stage, bands stacked and faded by JS */
.hm-scrub.is-live{height:480vh}
.hm-scrub.is-live .hm-scrub-stage{position:sticky;top:0;height:100vh;min-height:0}
.hm-scrub.is-live .hm-scrub-bands{position:absolute;inset:0;padding:0}
.hm-scrub.is-live .hm-band{position:absolute;inset-inline-start:0;top:50%;opacity:0;--dy:24px;transform:translateY(calc(-50% + var(--dy)));will-change:opacity,transform;pointer-events:none}
.hm-scrub.is-live .hm-band.is-on{pointer-events:auto}
.hm-scrub.is-live .hm-band--first{opacity:1;--dy:0px}
.hm-scrub.is-live .hm-scroll-hint{display:flex;position:absolute;z-index:3;inset-inline:0;bottom:26px;justify-content:center;align-items:center;gap:8px;color:#b8bec9;font-size:13px;transition:opacity .4s ease}
.hm-scrub.is-live.is-scrolled .hm-scroll-hint{opacity:0}
.hm-scrub.is-live:not(.is-ready) .hm-scrub-load{display:flex;position:absolute;z-index:3;inset-inline-start:24px;bottom:24px;align-items:center;gap:10px;color:#b8bec9;font-size:13px}
.hm-scrub-load[hidden]{display:none!important}
.hm-scrub-load svg{width:34px;height:34px;transform:rotate(-90deg)}
.hm-scrub-load circle{fill:none;stroke-width:3}
.hm-ring-bg{stroke:rgba(255,255,255,.15)}
.hm-ring-fg{stroke:var(--hm-gold);stroke-linecap:round;stroke-dasharray:113;stroke-dashoffset:113;transition:stroke-dashoffset .2s linear}

@media (max-width:820px){
  .hm-scrub-scrim{background:linear-gradient(to bottom,rgba(8,10,16,.55),rgba(8,10,16,.78) 45%,#0a0c12 100%)}
  .hm-scrub-bands{padding:130px 0 60px}
  .hm-band-lead{font-size:16px}
}
/* الهيدر شفاف فوق الهيرو (الفيديو يملأ الشاشة خلفه) */
.mt-header.is-over-hero,
.mt-header.is-over-hero.is-scrolled{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
.mt-header.is-over-hero .mt-navbar{padding:18px 0}
@media (max-width:991.98px){
  .mt-header.is-over-hero .mt-collapse{background:rgba(10,12,18,.92);border-radius:14px;padding:16px;margin-top:10px}
}
/* الهيدر غير ثابت: يبقى في أعلى الصفحة ويرتفع معها عند النزول */
.mt-header{position:absolute}
/* =========================================================
   شركاء النجاح
   ========================================================= */
.hm-partners{padding:96px 0 84px;background:#0a0c12}
.hm-partners .hm-head{max-width:760px;margin-inline:auto;margin-bottom:46px}
.hm-partners-title{font-size:clamp(34px,5vw,60px);line-height:1.25;margin:0 0 16px}
.hm-partners-lead{color:#b8bec9;font-size:17px;line-height:1.9;margin:0}
/* شريط شركاء النجاح : بعرض الشاشة كاملة ويتحرك تلقائياً من اليمين إلى اليسار */
.hm-marquee{position:relative;width:100%;overflow:hidden;padding-block:16px;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.hm-marquee-track{list-style:none;margin:0;padding:0;display:flex;width:max-content;
  animation:hm-marquee-move 36s linear infinite;will-change:transform}
.hm-marquee:hover .hm-marquee-track,.hm-marquee:focus-within .hm-marquee-track{animation-play-state:paused}
.hm-partner{flex:none;display:grid;place-items:center;width:210px;height:118px;margin-inline:12px;padding:18px;background:var(--hm-card);border:1px solid var(--hm-line);border-radius:14px;transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.hm-partner:hover{transform:translateY(-6px);border-color:var(--hm-gold);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.hm-partner img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:6px;transition:transform .4s ease}
.hm-partner:hover img{transform:scale(1.06)}
/* يبدأ مزاحاً بمجموعة واحدة إلى اليمين ثم يتحرك يساراً حتى الصفر ثم يعيد بلا قفزة ولا فراغ */
@keyframes hm-marquee-move{from{transform:translateX(calc(100% / var(--copies)))}to{transform:translateX(0)}}
@media (max-width:560px){.hm-partners{padding:64px 0 56px}.hm-partner{width:150px;height:92px;margin-inline:8px;padding:12px}.hm-marquee-track{animation-duration:28s}}



/* عنوان المشاريع: أعمالنا والعنوان في المنتصف، والسطر الفرعي والرابط كما كانا */
.hm-head--split .hm-head-center{text-align:center;margin-bottom:22px}
.hm-head--split .hm-head-row{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}

/* hm-hero-mobile: على الجوال محتوى الهيرو في المنتصف والزران بنفس الحجم */
@media (max-width:820px){
  .hm-scrub-bands{text-align:center}
  .hm-band{max-width:none;margin-inline:auto;text-align:center}
  .hm-band-actions{flex-direction:column;align-items:stretch;gap:12px;width:min(320px,100%);margin-inline:auto}
  .hm-band-actions .btn{width:100%;justify-content:center;padding-inline:20px}
  .hm-band-lead{margin-inline:auto}
}
/* hm-step-final: كيف نعمل. الأيقونة فوق النص في المنتصف، بلا خط ذهبي، وبوردر خفيف ثابت يدور عليه لون عند المرور */
@property --hm-a{syntax:'<angle>';initial-value:0deg;inherits:false}
.hm-steps::before{display:none}
.hm-step{position:relative;padding:22px 14px 24px;background:var(--hm-card);border:1px solid var(--hm-line);border-radius:14px;
  transition:transform .3s ease,box-shadow .3s ease}
.hm-step:hover{transform:translateY(-6px);border-color:var(--hm-line);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.hm-step-icon{display:flex;justify-content:center;width:100%;margin:0 0 10px;line-height:1}
.hm-step::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;opacity:0;transition:opacity .3s ease;
  background:conic-gradient(from var(--hm-a),transparent 0 62%,rgba(217,169,58,.15) 72%,var(--hm-gold) 90%,var(--hm-gold2) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.hm-step:hover::after{opacity:1;animation:hm-spin 2.2s linear infinite}
@keyframes hm-spin{to{--hm-a:360deg}}
/* hm-steps-2col: على الجوال بطاقتان في كل صف */
@media (max-width:600px){
  .hm-steps{grid-template-columns:repeat(2,1fr);gap:12px}
  .hm-step{padding:18px 10px 20px}
  .hm-step-num{width:40px;height:40px;font-size:13px;margin-bottom:10px}
  .hm-step-icon{font-size:20px}
  .hm-step h3{font-size:15px}
  .hm-step p{font-size:12px;line-height:1.7}
}
/* hm-mobile-center: على الجوال النصوص والأزرار في المنتصف، وزر العودة للأعلى فوق زر واتساب */
#mt-to-top{inset:auto 22px 88px auto}
@media (max-width:820px){
  .hm-case-copy,.hm-cta-copy,.hm-about-copy{text-align:center}
  .hm-case-copy p,.hm-cta-copy p,.hm-about-copy p{margin-inline:auto}
  .hm-about-stats{justify-content:center}
  .hm-head--split .hm-head-row{flex-direction:column;justify-content:center;text-align:center;gap:10px}
  .hm-about-copy .btn,.hm-cta-copy .btn{margin-inline:auto}
}
/* hm-footer-mobile-center: الفوتر كله في المنتصف على الجوال */
@media (max-width:820px){
  .hm-footer-grid{text-align:center}
  .hm-footer-brand{display:flex;flex-direction:column;align-items:center}
  .hm-footer-brand p{max-width:34em}
  .hm-footer .mt-social{justify-content:center}
  .hm-footer .mt-footer-links{padding:0;margin-inline:auto}
  .hm-news{max-width:380px;margin-inline:auto}
  .hm-news-msg{text-align:center}
  .mt-footer-bottom{text-align:center}
  .hm-cta-copy .btn{margin-inline:auto}
}
/* hm-header-mobile: على الجوال/التابلت الهيدر ثابت فوق الهيرو ثم يصعد ويختفي عند قسم الشركاء، وعبارات الهيرو تبقى في المنتصف عند التصغير */
@media (max-width:991.98px){
  .mt-header{position:fixed;will-change:transform}
}
@media (max-width:820px){
  .hm-scrub.is-live .hm-band{inset-inline:0;margin-inline:auto;width:100%;text-align:center}
}
/* hm-footer-2col: على الجوال روابط سريعة على اليمين وخدماتنا على يسارها، والشعار والنشرة بعرض كامل */
@media (max-width:820px){
  .hm-footer-grid,.hm-footer-grid{grid-template-columns:1fr 1fr;gap:28px 16px}
  .hm-footer-grid > :first-child,.hm-footer-grid > :last-child{grid-column:1/-1}
  .hm-footer .mt-footer-title{font-size:15px;margin-bottom:12px}
  .hm-footer .mt-footer-links{font-size:13.5px}
  .hm-footer .mt-footer-links li{margin-bottom:8px}
}
@media (max-width:600px){
  .hm-footer-grid{grid-template-columns:1fr 1fr}
}
/* hm-footer-lists-right: قائمتا الفوتر على الجوال، كل واحدة 50% من العرض ومحاذاتها لليمين */
@media (max-width:820px){
  .hm-footer-grid > div:nth-child(2),
  .hm-footer-grid > div:nth-child(3){text-align:start;padding-inline-start:8px}
  .hm-footer-grid > div:nth-child(2) .mt-footer-links,
  .hm-footer-grid > div:nth-child(3) .mt-footer-links{margin-inline:0}
}
/* hm-nav-hover: روابط القائمة تتغير عند الوقوف عليها (نفس شكل الرابط النشط) وليس عند الضغط فقط */
.mt-navbar .nav-link{border-bottom:2px solid transparent;transition:color .25s ease,background .25s ease,border-color .25s ease}
.mt-navbar .nav-link:hover,
.mt-navbar .nav-link:focus-visible,
.mt-navbar .nav-link:active{color:var(--hm-gold);border-bottom-color:var(--hm-gold);background:rgba(217,169,58,.08)}
/* hm-mobile-video: الفيديو يعمل على الجوال، وزر ابدأ مشروعك غير موجود في قائمة الجوال */
@media (max-width:991.98px){
  .mt-header-cta{display:none}
}
@media (max-width:820px){
  .hm-scrub.is-live .hm-scrub-scrim{background:linear-gradient(to bottom,rgba(8,10,16,.4) 0%,rgba(8,10,16,.46) 40%,rgba(8,10,16,.46) 70%,#0a0c12 100%)}
  .hm-scrub.is-live{height:420vh}
}
/* hm-nav-mobile-hover-only: في قائمة الجوال لا يبقى أي عنصر مميزاً بشكل دائم، والتمييز يظهر فقط على العنصر الذي يمرّ عليه الماوس */
@media (max-width:991.98px){
  .mt-navbar .nav-link.active,
  .mt-navbar .nav-item.active > .nav-link{color:var(--mt-muted-2);border-bottom-color:transparent;background:transparent}
  .mt-navbar .nav-link.active:hover,
  .mt-navbar .nav-link.active:focus-visible,
  .mt-navbar .nav-link.active:active,
  .mt-navbar .nav-item.active > .nav-link:hover{color:var(--hm-gold);border-bottom-color:var(--hm-gold);background:rgba(217,169,58,.08)}
}
/* hm-vm-hover: رؤيتنا ورسالتنا. نفس هوفر كيف نعمل: بوردر خفيف ثابت ولون ذهبي يدور حوله عند المرور */
.mt-vm-card{position:relative;border:1px solid var(--hm-line);will-change:transform;transition:transform .3s ease,box-shadow .3s ease}
.mt-vm-card:hover{transform:translateY(-6px);border-color:var(--hm-line);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.mt-vm-card::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;opacity:0;transition:opacity .3s ease;
  background:conic-gradient(from var(--hm-a),transparent 0 62%,rgba(217,169,58,.15) 72%,var(--hm-gold) 90%,var(--hm-gold2) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.mt-vm-card:hover::after{opacity:1;animation:hm-spin 2.2s linear infinite}
.mt-vm-icon{transition:transform .3s ease}
.mt-vm-card:hover .mt-vm-icon{transform:scale(1.08)}
/* hm-header-has-hero: في الصفحة الرئيسية الهيدر ثابت طوال الهيرو ثم يصعد ويختفي عند قسم شركاء النجاح (كل الشاشات). الصفحات الداخلية كما هي */
.mt-header.has-hero{position:fixed;will-change:transform}
/* hm-project-real: صور المشاريع الحقيقية (لقطات مواقع: تُقصّ من الأعلى) */
a.hm-shot{display:block}
.hm-shot img{object-position:top center}
.hm-projects .hm-shot{aspect-ratio:16/9}
