/* =====================================================
   Knooz  ·  app.css  ·  Phase 1 Final
   Pixel-faithful to Figma design
   ===================================================== */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  /* Exact background colors from Figma */
  --bg-page:     #070b18;   /* deepest — page base     */
  --bg-nav:      #0a0d1f;   /* navbar when scrolled    */
  --bg-section:  #0d1128;   /* alternate sections      */
  --bg-card:     #0f1535;   /* service / project cards */
  --bg-dark:     #0b0f27;   /* footer, features bar    */

  /* Accent */
  --green:       #00e676;
  --green-hover: #00ff85;
  --purple:      #7b2ff7;   /* filter tab active, proj arrow */
  --purple-btn:  #7c3aed;

  /* Text */
  --t-white: #ffffff;
  --t-grey:  #8899bb;
  --t-muted: #546080;

  /* Borders */
  --br:      rgba(255,255,255,.09);
  --br-g:    rgba(0,230,118,.4);

  /* Font — Cairo (Arabic RTL) */
  --font:    'Cairo', sans-serif;

  /* Radii */
  --r:   14px;
  --rs:  8px;
  --rp:  50px;   /* pill */

  --tr: all .28s ease;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { background: var(--bg-page); color: var(--t-white); font-family: var(--font); direction: rtl; overflow-x: hidden; line-height: 1.7; }
a     { color: inherit; text-decoration: none; transition: var(--tr); }
img   { max-width: 100%; display: block; }
ul    { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--green); color: #000; }
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ── CONTAINER ──────────────────────────────────────── */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 1.5rem; }

/* ── ANIMATIONS ─────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.d1 { transition-delay:.12s }
.fade-up.d2 { transition-delay:.22s }
.fade-up.d3 { transition-delay:.32s }

@keyframes floatAnim { 0%,100% { transform:translateY(0) } 50% { transform:translateY(-10px) } }
@keyframes pulseGlow  { 0%,100% { box-shadow: 0 0 0 0 rgba(0,230,118,.4) } 70% { box-shadow: 0 0 0 12px rgba(0,230,118,0) } }

/* ── SCROLL-TO-TOP ──────────────────────────────────── */
#scroll-top {
  position: fixed; inset-inline-end: 1.5rem; bottom: 1.5rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--green); color: #000; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,230,118,.4); transition: var(--tr);
  opacity: 0; visibility: hidden;
}
#scroll-top.show { opacity: 1; visibility: visible; }
#scroll-top:hover { transform: translateY(-3px); }

/* ── SECTION PADDING ────────────────────────────────── */
.sec { padding-block: 90px; }
.sec-sm { padding-block: 70px; }


/* =====================================================
   NAVBAR  — Figma: transparent → dark on scroll
   ===================================================== */
#navbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  padding-block: 18px; transition: var(--tr);
}
#navbar.scrolled {
  background: rgba(7,11,24,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding-block: 12px;
  border-bottom: 1px solid var(--br);
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Brand: "knooz ❄" */
.nav-brand {
  font-size: 1.6rem; font-weight: 900; color: var(--t-white);
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  letter-spacing: -.5px;
}
.nav-brand-icon { color: var(--green); font-size: 1.1rem; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--t-grey); font-size: .875rem; font-weight: 600;
  padding: 8px 14px; border-radius: 6px; transition: var(--tr);
  white-space: nowrap; display: flex; align-items: center; gap: 4px;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--t-white); background: rgba(255,255,255,.07); }
.nav-chev { font-size: .56rem; opacity: .5; }

/* Right-side actions */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-search { background: none; border: none; color: var(--t-grey); font-size: 1rem; cursor: pointer; padding: 4px 6px; transition: var(--tr); }
.nav-search:hover { color: var(--green); }

/* Language: "English 🇺🇸" */
.nav-lang {
  display: flex; align-items: center; gap: 6px;
  color: var(--t-grey); font-size: .82rem; font-weight: 700;
  background: none; border: none; cursor: pointer; transition: var(--tr);
  padding: 4px 8px; border-radius: 6px; text-decoration: none;
}
.nav-lang img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; }
.nav-lang:hover { color: var(--green); }

/* CTA pill "اطلب الان ▶" */
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #000;
  font-family: var(--font); font-weight: 700; font-size: .84rem;
  padding: 9px 22px; border: none; border-radius: var(--rp);
  cursor: pointer; transition: var(--tr); text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--green-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,230,118,.4); color: #000; }
.nav-cta .ic { font-size: .6rem; }

/* Hamburger */
.nav-burger { display: none; background: none; border: none; color: var(--t-white); font-size: 1.3rem; cursor: pointer; padding: 4px; }

/* ── Offcanvas ────────────────────────────────────────── */
.offcanvas {
  position: fixed; top: 0; inset-inline-start: 0;
  width: 270px; height: 100%; background: #080b1e;
  border-inline-end: 1px solid var(--br);
  z-index: 1100; transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column; padding: 22px;
  overflow-y: auto;
}
.offcanvas.open { transform: translateX(0) !important; }
.oc-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 1099; }
.oc-overlay.show { display: block; }
.oc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.oc-brand { font-size: 1.4rem; font-weight: 900; }
.oc-brand span { color: var(--green); }
.oc-close { background: none; border: none; color: var(--t-white); font-size: 1.1rem; cursor: pointer; }
.oc-links a {
  display: block; padding: 11px 6px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--t-grey); font-size: .9rem; font-weight: 600; transition: var(--tr);
}
.oc-links a:hover { color: var(--green); padding-inline-start: 10px; }
.oc-bottom { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 991px) {
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: block; }
}


/* =====================================================
   HERO  — bg photo + purple veil + robot left + text right
   ===================================================== */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center;
  padding-top: 70px; /* navbar height */
}

/* Full-bleed background */
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Dark overlay — lighter on left (robot side), darker on right (text side) */
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  /* In RTL the text is on the right side = LTR "left" → gradient dark toward right */
  background: linear-gradient(
    to left,
    rgba(7,11,24,.93) 0%,
    rgba(7,11,24,.60) 45%,
    rgba(7,11,24,.10) 100%
  );
}
.hero-veil::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 80% at 30% 60%, rgba(80,40,180,.22) 0%, transparent 70%);
}

/* Content above overlay */
.hero-body { position: relative; z-index: 2; width: 100%; padding-block: 88px 64px; }

/* Left-side social icons column */
.hero-socials {
  position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%);
  z-index: 4; display: flex; flex-direction: column; gap: 8px;
}
.hero-soc {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--t-grey); font-size: .82rem; transition: var(--tr);
  text-decoration: none;
}
.hero-soc:hover, .hero-soc.active { background: var(--green); color: #000; border-color: var(--green); }

/* Text block lives in right column (RTL → physically on right) */
.hero-tag {
  display: block; color: var(--t-grey);
  font-size: .84rem; font-weight: 500;
  margin-bottom: 14px; position: relative; padding-bottom: 10px;
}
.hero-tag::after {
  content: ''; position: absolute; bottom: 0; inset-inline-end: 0;
  width: 60px; height: 3px; background: var(--green); border-radius: 2px;
}
.hero-h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 900;
  line-height: 1.18; margin-bottom: 18px;
}
.hero-p {
  color: var(--t-grey); font-size: .95rem; max-width: 420px;
  margin-inline-start: auto; /* pushes to right in RTL */
  margin-bottom: 28px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Slider dots (bottom-centre) */
.hero-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 8px;
}
.hero-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; padding: 0; cursor: pointer;
  transition: var(--tr);
}
.hero-dot.active { background: var(--green); width: 28px; border-radius: 6px; }

@media (max-width: 767px) {
  .hero-h1 { font-size: 1.85rem; text-align: center; }
  .hero-p   { margin-inline-start: 0; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-tag  { text-align: center; }
  .hero-tag::after { inset-inline-end: auto; left: 50%; transform: translateX(-50%); }
  .hero-socials { display: none; }
}


/* =====================================================
   FEATURES BAR  — 4 bordered boxes, 3rd green-highlighted
   ===================================================== */
.feat-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--br);
  border-bottom: 1px solid var(--br);
}
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feat-cell {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 14px; border-inline-end: 1px solid var(--br);
  font-size: .875rem; font-weight: 600; color: var(--t-grey);
  transition: var(--tr); cursor: default;
}
.feat-cell:last-child { border-inline-end: none; }
.feat-cell i { font-size: 1.1rem; flex-shrink: 0; }
.feat-cell:hover { color: var(--green); background: rgba(0,230,118,.04); }
.feat-cell.active {
  color: var(--green); border: 1px solid var(--green);
  background: rgba(0,230,118,.04);
}
@media (max-width: 767px) { .feat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 440px) { .feat-grid { grid-template-columns: 1fr; } }


/* =====================================================
   ABOUT / STATS
   ===================================================== */
.about-sec { background: var(--bg-page); }

/* Photo */
.about-photo { border-radius: var(--r); overflow: hidden; }
.about-photo img { width: 100%; height: 440px; object-fit: cover; display: block; transition: transform .5s ease; }
.about-photo:hover img { transform: scale(1.03); }

/* Eyebrow label with underline */
.eyebrow-green {
  display: block; color: var(--green); font-size: .84rem; font-weight: 700;
  margin-bottom: 6px; position: relative; padding-bottom: 8px;
}
.eyebrow-green::after {
.eyebrow-green {
    display: inline-block;
    color: var(--green);
    font-size: .84rem;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 12px;
}

.eyebrow-green::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
}
  width: 36px; height: 3px; background: var(--green); border-radius: 2px;
}
.sec-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.28; }
.sec-desc  { color: var(--t-grey); font-size: .95rem; line-height: 1.85; }

/* Progress bars */
.prog { margin-bottom: 22px; }
.prog-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.prog-lbl  { font-size: .875rem; font-weight: 600; }
.prog-pct  { font-size: .875rem; font-weight: 700; color: var(--green); }
.prog-track { height: 7px; background: rgba(255,255,255,.07); border-radius: 50px; overflow: hidden; }
.prog-fill  { height: 100%; background: linear-gradient(90deg, var(--green), #00c4ff); border-radius: 50px; width: 0; transition: width 1.5s ease; }

/* "اكتشف المزيد" button */
.btn-discover { margin-top: 28px; }


/* =====================================================
   SERVICES  — 3×2 image cards with dark label overlay
   ===================================================== */
.svc-sec { background: var(--bg-section); }

/* Section heading: gradient-underlined title */
.svc-heading { display: inline-block; position: relative; padding-bottom: 8px; }
.svc-heading::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 3px; background: linear-gradient(90deg, var(--purple-btn), var(--green));
  border-radius: 2px;
}

/* Card */
.svc-card {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 4/3; display: block; cursor: pointer;
  transition: transform .32s ease, box-shadow .32s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.55); }
.svc-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card-img { transform: scale(1.07); }

/* Bottom label bar */
.svc-label {
  position: absolute; inset-inline: 0; bottom: 0;
  background: rgba(8,12,36,.88);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 14px 14px 14px 48px; /* space on start side for arrow circle */
  display: flex; flex-direction: column; gap: 5px;
}
.svc-arrow {
  position: absolute; bottom: 13px; inset-inline-start: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.13);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--t-white); transition: var(--tr); flex-shrink: 0;
}
.svc-card:hover .svc-arrow { background: var(--green); color: #000; }
.svc-arrow.green { background: var(--green); color: #000; }
.svc-name { font-size: .92rem; font-weight: 700; color: var(--green); }
.svc-desc { font-size: .76rem; color: var(--t-grey); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


/* =====================================================
   TECHNOLOGIES  — 4-col pill grid left + text right
   ===================================================== */
.tech-sec { background: var(--bg-page); }

.tech-title {
  text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 900; margin-bottom: 10px;
}
.tech-bar { width: 38px; height: 3px; background: var(--green); border-radius: 2px; margin: 0 auto 48px; }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tech-pill {
  display: flex; align-items: center; gap: 10px;
  background: #111b38; border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--rs); padding: 13px 16px;
  font-size: .875rem; font-weight: 700; cursor: default; transition: var(--tr);
}
.tech-pill:hover { border-color: rgba(0,230,118,.35); transform: translateY(-2px); }
.tech-icon-box {
  width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 900; color: #fff; flex-shrink: 0;
}
/* Right-side text */
.tech-right-col { padding-inline-start: 40px; }

@media (max-width: 767px) { .tech-grid { grid-template-columns: repeat(2,1fr); } .tech-right-col { padding-inline-start: 0; margin-top: 32px; } }
@media (max-width: 440px) { .tech-grid { grid-template-columns: 1fr; } }


/* =====================================================
   CTA BANNER  — dark photo + centered text + light-bulb left
   ===================================================== */
.cta-sec {
  position: relative; overflow: hidden;
  background: var(--bg-section); padding-block: 90px;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(11,15,39,.97) 40%, rgba(11,15,39,.82) 100%);
}
.cta-bulb {
  position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
  width: 220px; z-index: 2; pointer-events: none;
  animation: floatAnim 4s ease-in-out infinite;
}
.cta-bulb img { width: 100%; opacity: .82; }
@media (max-width: 991px) { .cta-bulb { display: none; } }

.cta-body {
  position: relative; z-index: 2;
  text-align: center; max-width: 800px; margin-inline: auto;
}
.cta-eyebrow{ display: inline-block; position: relative; text-align: center; margin-bottom: 25px; } .cta-eyebrow::after{ content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -12px; width: 45px; height: 4px; border-radius: 10px; background: var(--green); }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.cta-p { color: var(--t-grey); font-size: .95rem; max-width: 700px; margin-inline: auto; margin-bottom: 32px; line-height: 1.85; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


/* =====================================================
   PROJECTS
   ===================================================== */
.proj-sec { background: var(--bg-page); }

/* Title "مشاريع - نفخر بإنجازها" */
.proj-title { font-size: clamp(1.55rem, 2.6vw, 2.2rem); font-weight: 900; text-align: center; }
.proj-title .white  { color: #fff; }
.proj-title .purple { color: var(--purple); }

/* Filter tabs */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.ftab {
  background: transparent; border: 1.5px solid rgba(255,255,255,.2);
  color: var(--t-grey); font-family: var(--font); font-size: .85rem; font-weight: 600;
  padding: 8px 20px; border-radius: 7px; cursor: pointer; transition: var(--tr);
}
.ftab:hover { border-color: var(--purple); color: var(--purple); }
.ftab.active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Project image cards — 4-col */
.proj-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.proj-card {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 3/4; display: block; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover img { transform: scale(1.06); }
.proj-label {
  position: absolute; inset-inline: 0; bottom: 0;
  background: rgba(8,11,32,.88); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 10px 10px 10px 42px;
  display: flex; align-items: center;
}
.proj-arrow {
  position: absolute; bottom: 10px; inset-inline-start: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; color: #fff; flex-shrink: 0;
}
.proj-name { font-size: .85rem; font-weight: 700; }
.proj-item.hidden { display: none; }

@media (max-width: 991px) { .proj-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .proj-grid { gap: 8px; } }


/* =====================================================
   TESTIMONIALS  — dot-pattern bg, white speech-bubble cards
   ===================================================== */
.testi-sec {
  position: relative; background: var(--bg-section);
  padding-block: 90px; overflow: hidden;
}
/* Dot grid */
.testi-sec::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.testi-title { text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; }
.testi-title .green { color: var(--green); }

/* Slider */
.testi-slider-wrap { position: relative; z-index: 1; padding-inline: 36px; }
.testi-overflow { overflow: hidden; }
.testi-track { display: flex; gap: 18px; transition: transform .5s ease; will-change: transform; }

/* White speech-bubble card */
.testi-card {
  background: #fff; color: #111; border-radius: 14px;
  padding: 24px; flex: 0 0 calc(33.333% - 12px);
  position: relative; box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
/* Speech bubble tail */
.testi-card::after {
  content: ''; position: absolute; bottom: -14px; inset-inline-end: 38px;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 0 solid transparent;
  border-top: 14px solid #fff;
}
.testi-q {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; margin-bottom: 16px;
}
.testi-body { font-size: .85rem; line-height: 1.78; color: #333; margin-bottom: 20px; }

/* Author row sits below the bubble */
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; }
.testi-avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2.5px dashed var(--green); flex-shrink: 0; }
.testi-name { font-weight: 800; font-size: .9rem; color: var(--green); }
.testi-role { font-size: .75rem; color: #555; margin-top: 2px; }
.testi-stars { color: var(--green); font-size: .82rem; letter-spacing: 2px; margin-top: 4px; }

/* Prev / Next arrows */
.sl-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--tr);
}
.sl-btn:hover { background: var(--green); border-color: var(--green); color: #000; }
.sl-prev { inset-inline-start: 0; }
.sl-next { inset-inline-end: 0; }

/* Dots */
.sl-dots { display: flex; gap: 8px; justify-content: center; margin-top: 36px; position: relative; z-index: 1; }
.sl-dot  { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); border: none; cursor: pointer; transition: var(--tr); padding: 0; }
.sl-dot.active { background: var(--green); width: 26px; border-radius: 5px; }

@media (max-width: 991px) { .testi-card { flex: 0 0 calc(50% - 9px); } }
@media (max-width: 576px) {
  .testi-card { flex: 0 0 100%; }
  .testi-card::after { display: none; }
  .sl-prev, .sl-next { display: none; }
}


/* =====================================================
   NEWSLETTER BAR  — right: title / left: input+button
   ===================================================== */
.nl-bar { background: var(--bg-section); border-top: 1px solid var(--br); padding-block: 22px; }
.nl-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nl-text h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.nl-text p  { font-size: .8rem; color: var(--t-grey); }
.nl-form {
  display: flex; border-radius: 6px; overflow: hidden;
  border: 1.5px solid var(--purple-btn);
  max-width: 440px; flex: 1; min-width: 240px;
}
.nl-input {
  flex: 1; background: rgba(255,255,255,.06);
  border: none; outline: none;
  color: var(--t-white); font-family: var(--font); font-size: .88rem;
  padding: 11px 16px; direction: rtl;
}
.nl-input::placeholder { color: var(--t-muted); }
.nl-btn {
  background: var(--purple-btn); color: #fff; border: none;
  font-family: var(--font); font-weight: 700; font-size: .85rem;
  padding: 11px 20px; cursor: pointer; transition: var(--tr); white-space: nowrap;
}
.nl-btn:hover { background: var(--purple); }

@media (max-width: 576px) {
    .nl-bar {
        padding: 45px 0 !important;
        overflow: hidden !important;
    }

    .nl-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 22px !important;
    }

    .nl-text {
        width: 100% !important;
        text-align: center !important;
    }

    .nl-form {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    .nl-input {
        flex: 1 !important;
        width: 0 !important;
        min-width: 0 !important;
    }

    .nl-btn {
        width: 130px !important;
        min-width: 130px !important;
        height: 48px !important;
    }
}


/* =====================================================
   FOOTER  — 4-column dark
   ===================================================== */
.footer { background: var(--bg-dark); padding-block: 56px 20px; }

.ft-brand { font-size: 1.55rem; font-weight: 900; margin-bottom: 12px; letter-spacing: -.5px; }
.ft-brand span { color: var(--green); }
.ft-desc  { font-size: .82rem; color: var(--t-grey); line-height: 1.85; max-width: 285px; margin-bottom: 20px; }
.ft-socials { display: flex; gap: 8px; }
.ft-soc {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--t-grey); font-size: .85rem; text-decoration: none; transition: var(--tr);
}
.ft-soc:hover { background: var(--green); border-color: var(--green); color: #000; }
.ft-soc.lit   { background: var(--green); border-color: var(--green); color: #000; }

/* Column heading with green underline */
.ft-col-title {
  font-size: .95rem; font-weight: 800; display: inline-block;
  margin-bottom: 16px; position: relative; padding-bottom: 8px;
}
.ft-col-title::after {
  content: ''; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 36px; height: 3px; background: var(--green); border-radius: 2px;
}
.ft-links { display: flex; flex-direction: column; gap: 8px; }
.ft-links a {
  display: flex; align-items: center; gap: 7px;
  color: var(--t-grey); font-size: .83rem; font-weight: 500; transition: var(--tr);
}
.ft-links a i { font-size: .6rem; color: var(--t-muted); flex-shrink: 0; }
.ft-links a:hover { color: var(--green); }
.ft-links a:hover i { color: var(--green); }

/* Contact column */
.ft-contact { display: flex; flex-direction: column; gap: 14px; }
.ft-c-row   { display: flex; align-items: flex-start; gap: 10px; font-size: .83rem; }
.ft-c-icon  { color: var(--green); font-size: .9rem; margin-top: 3px; flex-shrink: 0; }
.ft-c-text  { color: var(--t-grey); line-height: 1.55; }
.ft-c-text strong { display: block; font-size: .76rem; color: rgba(255,255,255,.55); margin-bottom: 2px; }

/* Copyright bar */
.ft-bottom {
  border-top: 1px solid var(--br); margin-top: 40px; padding-top: 18px;
  text-align: center; font-size: .8rem; color: var(--t-muted);
}

/* ── Buttons shared ─────────────────────────────────── */
.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #000;
  font-family: var(--font); font-weight: 700; font-size: .9rem;
  padding: 12px 26px; border: none; border-radius: var(--rp);
  cursor: pointer; transition: var(--tr); text-decoration: none; white-space: nowrap;
}
.btn-green:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,230,118,.35); color: #000; }
.btn-green .ic { font-size: .62rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--t-white);
  font-family: var(--font); font-weight: 600; font-size: .9rem;
  padding: 11px 26px; border: 1.5px solid rgba(255,255,255,.35); border-radius: var(--rp);
  cursor: pointer; transition: var(--tr); text-decoration: none; white-space: nowrap;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-outline .ic { font-size: .62rem; }

/* ── Inner page hero ────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: 130px 60px; background: var(--bg-page);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
background: linear-gradient( 135deg, rgba(7,11,24,.55) 0%, rgba(7,11,24,.45) 100%);
}
.page-hero-body { position: relative; z-index: 2; text-align: center; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--t-muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep  { opacity: .4; }

/* ── Contact / Quote forms ──────────────────────────── */
.form-wrap  { background: #111b38; border: 1px solid var(--br); border-radius: var(--r); padding: 32px; }
.kn-label   { display: block; font-size: .83rem; font-weight: 600; color: var(--t-grey); margin-bottom: 7px; }
.kn-input, .kn-select, .kn-textarea {
  width: 100%; background: var(--bg-dark); border: 1px solid var(--br);
  color: var(--t-white); font-family: var(--font); font-size: .9rem;
  padding: 12px 14px; border-radius: var(--rs); outline: none; transition: var(--tr);
}
.kn-input:focus, .kn-select:focus, .kn-textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,230,118,.12); }
.kn-input::placeholder, .kn-textarea::placeholder { color: var(--t-muted); }
.kn-textarea { resize: vertical; min-height: 130px; }
.kn-select option { background: var(--bg-page); }
.mb-form { margin-bottom: 18px; }
.alert-success { background: rgba(0,230,118,.1); border: 1px solid rgba(0,230,118,.3); color: var(--green); padding: 12px 16px; border-radius: var(--rs); font-size: .88rem; margin-bottom: 18px; }

/* Quote wizard steps */
.steps { display: flex; align-items: center; max-width: 540px; margin-inline: auto; margin-bottom: 48px; }
.step  { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; z-index: 1; }
.step-circle { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--br); background: #111b38; color: var(--t-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; transition: var(--tr); }
.step.on   .step-circle { border-color: var(--green); background: var(--green); color: #000; }
.step.done .step-circle { border-color: var(--green); background: transparent; color: var(--green); }
.step-lbl { font-size: .72rem; color: var(--t-muted); white-space: nowrap; }
.step.on .step-lbl { color: var(--green); }
.step-line { flex: 1; height: 2px; background: var(--br); }
.step-line.done { background: var(--green); }
.quote-panel { display: none; }
.quote-panel.on { display: block; }
.svc-chk-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.svc-chk-item { position: relative; }
.svc-chk-item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; }
.svc-chk-lbl {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-dark); border: 2px solid var(--br); border-radius: var(--r);
  padding: 20px 10px; cursor: pointer; transition: var(--tr); text-align: center;
}
.svc-chk-item input:checked + .svc-chk-lbl { border-color: var(--green); background: rgba(0,230,118,.06); }
.svc-chk-lbl i { font-size: 1.5rem; color: var(--green); }
.svc-chk-lbl span { font-size: .82rem; font-weight: 600; }
.radio-opt { position: relative; }
.radio-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; }
.radio-lbl { display: flex; align-items: center; gap: 10px; background: var(--bg-dark); border: 1.5px solid var(--br); border-radius: var(--rs); padding: 11px 14px; cursor: pointer; transition: var(--tr); font-size: .875rem; }
.radio-lbl::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--br); flex-shrink: 0; transition: var(--tr); }
.radio-opt input:checked + .radio-lbl { border-color: var(--green); background: rgba(0,230,118,.05); }
.radio-opt input:checked + .radio-lbl::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #111b38; }
@media (max-width: 767px) { .svc-chk-grid { grid-template-columns: repeat(2,1fr); } }

/* Contact info card */
.info-card { background: #111b38; border: 1px solid var(--br); border-radius: var(--r); padding: 22px; display: flex; align-items: flex-start; gap: 14px; transition: var(--tr); }
.info-card:hover { border-color: var(--br-g); transform: translateY(-3px); }
.info-icon { width: 48px; height: 48px; border-radius: var(--rs); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; transition: var(--tr); }
.info-card:hover .info-icon { animation: pulseGlow 1.5s infinite; }
.info-card h5 { font-size: .875rem; font-weight: 700; margin-bottom: 5px; }
.info-card p  { color: var(--t-grey); font-size: .83rem; line-height: 1.6; }
body:not(.home-page) header.nav {
    background: rgba(8, 11, 20, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

body:not(.home-page) main {
    padding-top: 95px;
}
header.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(8, 11, 20, 0.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 14px 0;
}

header.nav .nav-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header.nav .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

header.nav .logo i {
    color: #00e676;
    font-size: 18px;
}

header.nav .nav-links,
header.nav .nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

header.nav a,
header.nav button {
    color: #9aa3bd;
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: 0;
}

header.nav a:hover,
header.nav button:hover,
header.nav a.active {
    color: #fff;
}

header.nav .nav-item {
    position: relative;
}

header.nav .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: rgba(13, 19, 32, .98);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: .25s;
}

header.nav .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

header.nav .dropdown a {
    display: block;
    padding: 10px 14px;
    white-space: nowrap;
}

header.nav .btn-order {
    color: #fff;
}

main {
    padding-top: 88px;
}

header.nav .nav-inner {
    max-width: 1260px !important;
    padding-inline: 22px !important;
}

header.nav .nav-links {
    gap: 25px !important;
}

header.nav .nav-right {
    gap: 14px !important;
}

header.nav .nav-links a,
header.nav .nav-lang,
header.nav .btn-order {
    font-size: 15px !important;
}

header.nav .logo {
    font-size: 28px !important;
}

header.nav .nav-search {
    font-size: 17px !important;
}

header.nav {
    height: 92px !important;
    overflow: hidden !important;
    display: flex;
    align-items: center;
}

header.nav .nav-inner {
    height: 100% !important;
}

header.nav .search-modal {
    display: none;
}

header.nav .search-modal.active,
header.nav .search-modal.show {
    display: flex;
}
/* Logo alignment */
header.nav .logo{
    display: flex;
    align-items: center;
    height: 100%;
}

header.nav .logo img{
    width: 120px !important;
    height: auto !important;
    display: block;
    margin-top: 0 !important;
    vertical-align: middle;
}

header.nav .nav-inner{
    display: flex;
    align-items: center;
}

header.nav{
    min-height: 90px;
}
header.nav .nav-inner{
    display:flex;
    align-items:center;
}

header.nav .logo{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:0 !important;
    padding-top:0 !important;
}

header.nav .logo img{
    display:block;
    height:auto;
    vertical-align:middle;
}
header.nav .logo img{
    width: 115px !important;
    height: auto !important;
    display: block !important;
}
/* Put navbar in one row */
header.nav .nav-inner{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 74px !important;
}

header.nav .nav-cluster{
    display: flex !important;
    align-items: center !important;
    gap: 38px !important;
}

header.nav .logo{
    order: 1;
}

header.nav .nav-links{
    order: 2;
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
}

header.nav .nav-right{
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

header.nav{
    padding: 0 !important;
}
/* Final spacing like home page */
header.nav .nav-inner{
    max-width: 1320px !important;
    margin: 0 auto !important;
}

header.nav .logo img{
    width: 95px !important;
    height: auto !important;
}

header.nav .nav-links{
    gap: 22px !important;
}

header.nav .nav-cluster{
    gap: 28px !important;
}

header.nav .nav-right{
    gap: 14px !important;
}

header.nav{
    min-height: 80px !important;
}
/* Keep dropdown above page hero */
header.nav {
    z-index: 99999 !important;
    overflow: visible !important;
}

header.nav .nav-inner,
header.nav .nav-cluster,
header.nav .nav-item {
    overflow: visible !important;
}

header.nav .dropdown {
    z-index: 100000 !important;
}

/* Prevent hiding left actions on medium screens */
header.nav .nav-right {
    display: flex !important;
}
/* Home navbar style */
header.nav .nav-right{
    gap: 28px !important;
}

header.nav .btn-order{
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 40px;
    padding: 16px 34px !important;
    font-size: 18px !important;
    font-weight: 700;
}

header.nav .btn-order i{
    color: #00e676;
    margin-right: 8px;
}

header.nav .nav-search{
    font-size: 20px !important;
}

header.nav .nav-lang{
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 16px !important;
}

header.nav .flag{
    width: 24px;
    height: auto;
}

header.nav .logo img{
    width: 110px !important;
}

header.nav .nav-links{
    gap: 40px !important;
}
/* Tighten navbar spacing */
header.nav .nav-inner{
    max-width: 1280px !important;
}

header.nav .nav-links{
    gap: 28px !important;
}

header.nav .nav-cluster{
    gap: 24px !important;
}

header.nav .nav-right{
    gap: 18px !important;
}

header.nav .btn-order{
    padding: 13px 28px !important;
}
/* ===== Final footer like home ===== */

.nl-bar{
    background:#0d1128;
    padding:55px 0;
    border-top:1px solid rgba(255,255,255,.06);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.nl-inner{
    max-width:1260px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.nl-text h4{
    color:#fff;
    font-size:32px;
    font-weight:900;
    margin-bottom:10px;
}

.nl-text p{
    color:#9aa3bd;
    font-size:17px;
}

.nl-form{
    width:520px;
    background:#eef1f7;
    border-radius:10px;
    padding:6px;
    display:flex;
}

.nl-input{
    flex:1;
    border:0;
    background:transparent;
    padding:0 22px;
    font-size:16px;
    outline:0;
}

.nl-btn{
    border:0;
    background:#7b2ff7;
    color:#fff;
    padding:18px 36px;
    border-radius:8px;
    font-weight:800;
}

.footer{
    position:relative;
    background:#10172b;
    padding:70px 0 30px;
    overflow:hidden;
}

.footer::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 25% 55%, rgba(0,230,118,.08), transparent 22%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420' viewBox='0 0 900 420'%3E%3Cg fill='%231f2b46' opacity='.55'%3E%3Ccircle cx='20' cy='20' r='5'/%3E%3Ccircle cx='50' cy='20' r='5'/%3E%3Ccircle cx='80' cy='20' r='5'/%3E%3Ccircle cx='110' cy='20' r='5'/%3E%3Ccircle cx='140' cy='20' r='5'/%3E%3Ccircle cx='20' cy='50' r='5'/%3E%3Ccircle cx='50' cy='50' r='5'/%3E%3Ccircle cx='80' cy='50' r='5'/%3E%3Ccircle cx='110' cy='50' r='5'/%3E%3Ccircle cx='140' cy='50' r='5'/%3E%3C/g%3E%3C/svg%3E");
    opacity:.9;
    pointer-events:none;
}

.footer .wrap{
    position:relative;
    z-index:1;
}

.ft-brand{
    color:#fff;
    font-size:30px;
    font-weight:900;
    margin-bottom:25px;
}

.ft-brand span,
.ft-socials .lit,
.ft-c-icon{
    color:#00e676;
}

.ft-desc{
    color:#c4ccde;
    line-height:2;
    font-size:16px;
}

.ft-socials{
    display:flex;
    gap:12px;
    margin-top:25px;
}

.ft-soc{
    width:48px;
    height:48px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#151e35;
    border:1px solid rgba(255,255,255,.08);
    color:#c4ccde;
    font-size:18px;
}

.ft-soc:hover{
    background:#00e676;
    color:#00130b;
}

.ft-col-title{
    color:#fff;
    font-size:22px;
    font-weight:900;
    margin-bottom:25px;
    position:relative;
}

.ft-col-title::after{
    content:"";
    display:block;
    width:48px;
    height:4px;
    background:#00e676;
    border-radius:5px;
    margin-top:12px;
}

.ft-links{
    list-style:none;
    padding:0;
    margin:0;
}

.ft-links li{
    margin-bottom:14px;
}

.ft-links a{
    color:#c4ccde;
    text-decoration:none;
    font-weight:700;
}

.ft-links a:hover{
    color:#00e676;
}

.ft-links i{
    color:#00e676;
    margin-left:8px;
    font-size:12px;
}

.ft-c-row{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:22px;
}

.ft-c-icon{
    width:48px;
    height:48px;
    border-radius:12px;
    background:rgba(0,230,118,.12);
    display:flex;
    align-items:center;
    justify-content:center;
}

.ft-c-text{
    color:#c4ccde;
}

.ft-c-text strong{
    display:block;
    color:#fff;
    margin-bottom:4px;
}

.ft-c-text a{
    color:#c4ccde;
    text-decoration:none;
}

.ft-bottom{
    margin-top:55px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    color:#9aa3bd;
}
/* Footer compact size */
.nl-bar{
    padding:35px 0 !important;
}

.nl-text h4{
    font-size:26px !important;
}

.nl-text p{
    font-size:15px !important;
}

.nl-form{
    width:470px !important;
}

.nl-btn{
    padding:14px 30px !important;
}

.footer{
    padding:48px 0 24px !important;
}

.ft-col-title{
    font-size:20px !important;
    margin-bottom:18px !important;
}

.ft-links li{
    margin-bottom:10px !important;
}

.ft-desc{
    font-size:15px !important;
    line-height:1.8 !important;
}

.ft-soc,
.ft-c-icon{
    width:42px !important;
    height:42px !important;
}

.ft-c-row{
    margin-bottom:16px !important;
}

.ft-bottom{
    margin-top:35px !important;
    padding-top:18px !important;
}
/* Mobile navbar final fix */
@media (max-width: 768px) {

    header.nav .nav-links {
        display: none !important;
        position: absolute !important;
        top: 92px !important;
        left: 18px !important;
        right: 18px !important;
        background: rgba(8, 11, 20, .96) !important;
        border-radius: 18px !important;
        padding: 28px !important;
        flex-direction: column !important;
        gap: 22px !important;
        z-index: 100000 !important;
        text-align: center !important;
    }

    header.nav .nav-links.open {
        display: flex !important;
    }

    header.nav .burger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    header.nav .nav-inner {
        padding-inline: 18px !important;
    }

    header.nav .logo img {
        width: 90px !important;
    }
}
.proj-card .proj-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  direction: ltr;
  padding: 24px 24px;
}

.proj-card .proj-name {
  flex: 1;
  text-align: right;
  direction: rtl;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proj-card .proj-arrow {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}
.proj-card .proj-label {
  background: #fff !important;
  padding: 28px 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
direction: ltr !important;
}

.proj-card .proj-name {
    color: #08152d !important;
    font-size: 18px !important;    /* بدل 24px */
    font-weight: 700 !important;   /* بدل 800 */
    line-height: 1.3;
    text-align: right;
}

.proj-card .proj-arrow {
    width: 44px !important;        /* بدل 52px */
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50%;
    background: #7657f4 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px !important;
margin-top: -12px !important;
}

.proj-card .proj-arrow i {
    font-size: 14px !important;    /* بدل 17px */
}

.proj-card .proj-label {
    padding: 18px 22px !important; /* بدل 28px */
}
/* Hero text */
.page-hero .sec-title,
.page-hero .sec-desc,
.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .breadcrumb .sep {
    color: #fff !important;
}

/* زيادة وضوح النص */
.page-hero .sec-desc{
    opacity: .9;
}
.footer .social a,
.footer-social a {
    color: #fff;
}

.footer .social a i,
.footer-social a i {
    color: #fff;
}

.footer .social a:hover,
.footer-social a:hover {
    background: var(--green);
}

.footer .social a:hover i,
.footer-social a:hover i {
    color: #06111f;
}

.ft-soc.lit {
    background: var(--green) !important;
}

.ft-soc.lit i {
    color: #06111f !important;
}
#toTop{
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--green);
    color: #04100a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

#toTop i{
    font-size: 18px;
}
.proj-card .proj-link{
    display:block;
    width:100%;
    height:100%;
    text-decoration:none;
    color:inherit;
}
.proj-link{
    display:block;
    color:inherit;
    text-decoration:none;
}
.projects .proj-grid{
    display:grid;
    grid-template-columns:repeat(3, 320px);
    justify-content:center;
    gap:26px;
}

.projects .proj-card{
    width:300px !important;
    height:285px !important;
    border-radius:18px !important;
    overflow:hidden !important;
    background:#fff !important;
}

.projects .proj-card img{
    width:100% !important;
    height:205px !important;
    object-fit:cover !important;
}

.projects .proj-label{
    position:relative !important;
    height:85px !important;
    background:#fff !important;
}

@media(max-width:991px){
    .projects .proj-grid{
        grid-template-columns:repeat(2, 360px);
    }
}

@media(max-width:767px){
    .projects .proj-grid{
        grid-template-columns:1fr;
    }

    .projects .proj-card{
        width:100% !important;
    }
}
.projects .proj-card .proj-arrow{
    position: relative !important;
    top: 5px !important;
    margin-left: -15px !important;
}

#projects .proj-grid{
    display:grid !important;
    grid-template-columns:repeat(3, 320px) !important;
    justify-content:center !important;
    gap:28px !important;
}

#projects .proj{
    width:320px !important;
    height:340px !important;
    display:flex !important;
    flex-direction:column !important;
    border-radius:18px !important;
    overflow:hidden !important;
    background:#fff !important;
}

#projects .proj-img{
    width:100% !important;
    height:240px !important;
    flex:0 0 240px !important;
    overflow:hidden !important;
}

#projects .proj-img img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
}

#projects .proj-cap{
    height:100px !important;
    flex:0 0 100px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:20px 24px !important;
    background:#fff !important;
    color:#111 !important;
    opacity:1 !important;
    visibility:visible !important;
    position:relative !important;
}

#projects .proj-cap h4{
    color:#111 !important;
    font-size:18px !important;
    font-weight:700 !important;
    margin:0 !important;
    display:block !important;
}


@media(max-width:991px){
    #projects .proj-grid{
        grid-template-columns:repeat(2, 1fr) !important;
    }
}

@media(max-width:767px){
    #projects .proj-grid{
        grid-template-columns:1fr !important;
    }
}

.testi{
    position:relative !important;
}

.testi-mobile-arrows{
    position:absolute !important;
    inset-inline-start:80px !important;
    inset-inline-end:auto !important;
    left:auto !important;
    right:auto !important;
    top:55% !important;
    transform:none !important;
    display:flex !important;
    gap:18px !important;
    z-index:20 !important;
}

.testi .testi-arrow{
    position:relative !important;
    top:auto !important;
}

/* Hero Robot */
.hero-orb{
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-orb img{
    max-width:-100%;
    max-height:550px;
    object-fit:contain;
    transform:translateY(-70px);
}

#projects.home-projects .proj{
    width:320px !important;
    height:340px !important;
    aspect-ratio:auto !important;
    display:flex !important;
    flex-direction:column !important;
    background:#fff !important;
}

#projects.home-projects .proj-img{
    height:240px !important;
    min-height:240px !important;
    max-height:240px !important;
    flex:0 0 240px !important;
}

#projects.home-projects .proj-img img{
    height:240px !important;
    min-height:240px !important;
    max-height:240px !important;
    object-fit:cover !important;
}

#projects.home-projects .proj-cap{
    height:100px !important;
    min-height:100px !important;
    max-height:100px !important;
    flex:0 0 100px !important;
    display:flex !important;
    background:#fff !important;
    z-index:5 !important;
}
#projects .projects-title{
    font-size:70px;
    font-weight:800;
    text-align:center;
    margin-bottom:40px;
    background:linear-gradient(90deg,#36d64f,#7d63ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

#projects .projects-desc{
    max-width:920px;
    margin:0 auto 50px;
    text-align:center;
    color:#d7d9e7;
    font-size:20px;
    line-height:2;
}

@media(max-width:768px){

    #projects .projects-title{
        font-size:42px;
    }

    #projects .projects-desc{
        font-size:17px;
        line-height:1.9;
        padding:0 15px;
    }
}

#projects .proj{
    cursor: pointer !important;
}

#projects .proj *,
#projects .proj img,
#projects .proj-cap,
#projects .tag{
    cursor: pointer !important;
}

#projects .proj{
    cursor:pointer !important;
}

#projects .proj:hover{
    cursor:pointer !important;
}

#projects .proj *{
    cursor:pointer !important;
}

#projects .proj img{
    cursor:pointer !important;
}

.testi .testi-prev{
    left:46px !important;
    right:auto !important;
}

.testi .testi-next{
    left:110px !important;
    right:auto !important;
}