/* ==========================================================================
   VAITEBLEK — Main Stylesheet
   Uses Bootstrap 5 as a base grid/utility layer + custom design system
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --blue: #4F6EF7;
  --purple: #8B5CF6;
  --pink: #EC4899;
  --orange: #F97316;
  --yellow: #FBBF24;
  --green: #10B981;
  --grad: linear-gradient(135deg, #4F6EF7, #8B5CF6);
  --grad-2: linear-gradient(135deg, #8B5CF6, #EC4899);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Inter', sans-serif;
}

/* Dark theme (default) */
:root,
[data-theme="dark"] {
  --bg: #06080f;
  --bg-2: #0b0f1e;
  --bg-3: #111827;
  --surface: rgba(255, 255, 255, .03);
  --surface-strong: rgba(6, 9, 26, .93);
  --text: #F1F5F9;
  --muted: #94A3B8;
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(79, 110, 247, .3);
  --nav-bg: rgba(6, 8, 15, .85);
  --shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* Light theme */
[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --bg-3: #eef1f8;
  --surface: rgba(79, 110, 247, .04);
  --surface-strong: #ffffff;
  --text: #10131c;
  --muted: #5b6478;
  --border: rgba(15, 23, 42, .08);
  --border-2: rgba(79, 110, 247, .25);
  --nav-bg: rgba(255, 255, 255, .85);
  --shadow: 0 24px 60px rgba(30, 41, 59, .1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-en);
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

.g-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

section {
  position: relative;
}

.section-pad {
  padding: 5.5rem 0;
}

@media (max-width:768px) {
  .section-pad {
    padding: 3.5rem 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}

.section-desc {
  color: var(--muted);
  font-size: .98rem;
  max-width: 560px;
  line-height: 1.8;
}

/* ---------- Navbar ---------- */
.navbar-vb {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1030;
  padding: .7rem 0;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar-vb.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.navbar-vb .navbar-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.navbar-vb .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
}

.navbar-vb .brand-name {
  font-weight: 900;
  font-size: 1.05rem;
}

.navbar-vb .nav-link {
  color: var(--muted) !important;
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem 1rem !important;
  transition: color var(--transition);
}

.navbar-vb .nav-link:hover,
.navbar-vb .nav-link.active {
  color: var(--text) !important;
}

.btn-cta {
  background: var(--grad);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: .6rem 1.6rem;
  border-radius: 50px;
  font-size: .9rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 8px 26px rgba(79, 110, 247, .35);
}

.btn-cta:hover {
  transform: translateY(-2px);
  opacity: .92;
  color: #fff;
}

.btn-wa {
  background: #25D366;
  color: #fff;
  border: none;
  font-weight: 700;
  padding: .85rem 1.9rem;
  border-radius: 50px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .3);
  transition: transform var(--transition), opacity var(--transition);
}

.btn-wa:hover {
  color: #fff;
  transform: translateY(-2px);
  opacity: .9;
}

.btn-outline-vb {
  border: 1px solid var(--border-2);
  color: var(--text);
  font-weight: 700;
  padding: .85rem 1.9rem;
  border-radius: 50px;
  font-size: 1rem;
  background: transparent;
  transition: all var(--transition);
}

.btn-outline-vb:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--blue);
}

/* Theme toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--blue);
  transform: rotate(20deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="light"] .icon-sun {
  display: none;
}

[data-theme="light"] .icon-moon {
  display: block;
}

.lang-switch {
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .25rem;
  display: inline-flex;
  gap: .15rem;
  background: var(--surface);
}

.lang-switch a {
  padding: .35rem .85rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted);
  transition: all var(--transition);
}

.lang-switch a.active {
  background: var(--grad);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 3rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(79, 110, 247, .16), transparent 70%);
}

/* ---------- Hero premium background: mesh blobs + particle network ---------- */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .4;
  animation: heroBlobDrift 16s ease-in-out infinite alternate;
}

.hb-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  inset-inline-start: -120px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
}

.hb-2 {
  width: 420px;
  height: 420px;
  top: 10%;
  inset-inline-end: -140px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  animation-delay: 3s;
}

.hb-3 {
  width: 380px;
  height: 380px;
  bottom: -180px;
  inset-inline-start: 30%;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  animation-delay: 6s;
}

@keyframes heroBlobDrift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(40px, 30px) scale(1.15);
  }
}

#tsparticles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--grad);
  box-shadow: 0 0 60px rgba(79, 110, 247, .4);
  animation: floatY 4s ease-in-out infinite;
  font-weight: 900;
  color: #fff;
  font-size: 2.6rem;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 50px;
  padding: .4rem 1.1rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1.4rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: .4;
  }

  50% {
    opacity: 1;
  }
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 560px;
  line-height: 1.8;
  margin: 0 auto 2.2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.hs {
  padding: 1.1rem 2.2rem;
  text-align: center;
  border-inline-start: 1px solid var(--border);
}

.hs:first-child {
  border-inline-start: none;
}

.hs .n {
  font-size: 1.8rem;
  font-weight: 900;
}

.hs .l {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Services — modern animated grid ---------- */
.services-wrap {
  position: relative;
  overflow: hidden;
}

.svc-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
  animation: svcDrift 12s ease-in-out infinite alternate;
}

.svc-glow-1 {
  top: -160px;
  inset-inline-start: -120px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
}

.svc-glow-2 {
  bottom: -180px;
  inset-inline-end: -140px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  animation-delay: 2.5s;
}

@keyframes svcDrift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.12);
  }
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

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

@media (max-width:575px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  position: relative;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, border-color .4s ease;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  top: 0;
  height: 3px;
  background: var(--accent, var(--blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent, var(--border-2));
  box-shadow: var(--shadow);
}

.svc-shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .10) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .85s ease;
}

.svc-card:hover .svc-shine {
  transform: translateX(130%);
}

.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  background: color-mix(in srgb, var(--accent, var(--blue)) 14%, transparent);
  color: var(--accent, var(--blue));
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
}

.svc-card:hover .svc-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent, var(--blue)) 10%, transparent);
}

.svc-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.svc-card p {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.svc-card.c-blue {
  --accent: var(--blue);
}

.svc-card.c-purple {
  --accent: var(--purple);
}

.svc-card.c-green {
  --accent: var(--green);
}

.svc-card.c-orange {
  --accent: var(--orange);
}

.svc-card.c-pink {
  --accent: var(--pink);
}

.svc-card.c-yellow {
  --accent: var(--yellow);
}

/* ---------- Cards / Work ---------- */
.vb-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vb-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-2);
}

.vb-card-body {
  padding: 1.5rem;
}

.vb-card-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  background: var(--grad);
}

.vb-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.vb-card p {
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.result-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: .6rem;
}

.result-line::before {
  content: '✓';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
}

/* ---------- Steps (How We Work) ---------- */
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  height: 100%;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 1rem;
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.step-card p {
  color: var(--muted);
  font-size: .85rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Reviews ---------- */
.review-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
}

.review-stars {
  color: var(--yellow);
  font-size: .85rem;
  margin-bottom: .7rem;
  letter-spacing: 2px;
}

.review-card p {
  color: var(--text);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.reviewer .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}

.reviewer .rn {
  font-weight: 700;
  font-size: .85rem;
}

.reviewer .rr {
  font-size: .72rem;
  color: var(--muted);
}

/* ---------- Quote / CTA ---------- */
.quote-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}

.form-control-vb,
.form-select-vb {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: .75rem 1rem;
  font-size: .9rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control-vb:focus,
.form-select-vb:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, .15);
}

.form-control-vb::placeholder {
  color: var(--muted);
}

label.form-label-vb {
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .4rem;
  display: block;
}

/* ---------- Footer ---------- */
footer.vb-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  background: var(--bg-2);
}

footer.vb-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  transition: color var(--transition);
}

footer.vb-footer a:hover {
  color: var(--text);
}

footer.vb-footer .foot-brand {
  font-weight: 900;
  font-size: 1.1rem;
}

.social-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}

.social-ic:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 1040;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  animation: pulseWa 2.4s infinite;
}

@keyframes pulseWa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollX 26s linear infinite;
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  font-weight: 800;
  color: var(--muted);
  font-size: .95rem;
  white-space: nowrap;
  opacity: .7;
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Top scroll/loading progress bar ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 2000;
  transition: width .12s linear;
  box-shadow: 0 0 12px rgba(79, 110, 247, .6);
}

/* ---------- Brand / logo mark ---------- */
.navbar-vb .brand-mark-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border-2);
  box-shadow: 0 0 0 0 rgba(79, 110, 247, .35);
  transition: box-shadow var(--transition), transform var(--transition);
}

.navbar-vb .brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.navbar-brand:hover .brand-mark-wrap {
  box-shadow: 0 0 0 6px rgba(79, 110, 247, .18);
  transform: scale(1.06) rotate(-4deg);
}

.navbar-vb .brand-name {
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: .01em;
  color: var(--text);
}

.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--grad);
  box-shadow: 0 0 60px rgba(79, 110, 247, .4);
  animation: floatY 4s ease-in-out infinite;
  overflow: hidden;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Work / project thumbs ---------- */
.vb-card-thumb {
  height: 190px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
}

.vb-card-thumb img.thumb-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition);
}

.vb-card:hover .vb-card-thumb img.thumb-photo {
  transform: scale(1.05);
}

.vb-card-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 15, .75), transparent 60%);
}

.vb-card-thumb.thumb-badge {
  background: linear-gradient(135deg, rgba(79, 110, 247, .16), rgba(139, 92, 246, .14));
}

.vb-card-thumb .thumb-logo-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 3px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.vb-card-thumb .thumb-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vb-card-thumb .thumb-icon-badge {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
}

/* ---------- Clients we take pride in (brand grid) ---------- */
.brand-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-2);
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-weight: 800;
  font-size: .98rem;
}

.brand-type {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* ---------- Marquee with client logos ---------- */
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  color: var(--muted);
  font-size: .92rem;
  white-space: nowrap;
  opacity: .85;
}

.marquee-item .mq-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.marquee-item .mq-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Review form (Write Your Review) ---------- */
.rv-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.2rem;
  max-width: 640px;
  margin: 0 auto;
}

.rv-stars-wrap {
  text-align: center;
  margin-bottom: 1.4rem;
}

.rv-stars-label {
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.rv-star-row {
  display: flex;
  gap: .4rem;
  justify-content: center;
}

.rv-star-btn {
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: var(--border-2);
  transition: color var(--transition), transform var(--transition);
}

.rv-star-btn:hover {
  transform: scale(1.15);
}

.rv-star-btn.active {
  color: var(--yellow);
}

.rv-field {
  margin-bottom: 1.1rem;
}

.rv-field label {
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .4rem;
  display: block;
}

.rv-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.rv-chip.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.rv-char {
  text-align: end;
  font-size: .72rem;
  color: var(--muted);
  margin-top: .3rem;
}

.rv-submit {
  width: 100%;
  background: var(--grad);
  color: #fff;
  border: none;
  font-weight: 800;
  padding: .9rem;
  border-radius: 50px;
  font-size: .95rem;
  margin-top: .4rem;
  transition: opacity var(--transition), transform var(--transition);
}

.rv-submit:hover {
  opacity: .9;
  transform: translateY(-2px);
}

.rv-err {
  color: #EF4444;
  font-size: .8rem;
  min-height: 1.1rem;
  margin-bottom: .3rem;
}

/* ==========================================================================
   Recent Projects — gallery cards (image popup + slider via GLightbox)
   ========================================================================== */
.proj-thumb {
  height: 210px;
  cursor: pointer;
}

.proj-thumb-link {
  position: absolute;
  inset: 0;
  display: block;
}

.proj-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .35rem .8rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(6, 8, 15, .55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18);
  pointer-events: none;
}

.thumb-zoom-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(6, 8, 15, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
  z-index: 2;
}

.vb-card:hover .thumb-zoom-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.proj-hint {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.vb-card:hover .proj-hint {
  opacity: .9;
  transform: translateY(0);
}

.proj-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: .9rem 0 1.1rem;
}

.tech-tag {
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

.proj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.btn-visit-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .6rem 1.1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  border: 1px solid var(--border-2);
  color: var(--text);
  background: transparent;
  transition: all var(--transition);
}

.btn-visit-site:hover {
  background: var(--surface);
  border-color: var(--blue);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-visit-wa {
  border-color: rgba(37, 211, 102, .4);
}

.btn-visit-wa:hover {
  background: rgba(37, 211, 102, .1);
  border-color: #25D366;
}

/* ---------- GLightbox theme overrides to match VAITEBLEK dark/light UI ---------- */
.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(6, 8, 15, .6) !important;
  border-radius: 50%;
}

.gslide-title {
  font-family: var(--font-en) !important;
  color: #fff !important;
}

.gslide-desc {
  font-family: var(--font-en) !important;
  background: var(--surface-strong) !important;
  color: var(--muted) !important;
}

.gdesc-inner {
  padding: 1rem 1.2rem !important;
}

/* ==========================================================================
   Premium interaction polish — magnetic buttons + cursor glow
   ========================================================================== */
.btn-magnetic {
  will-change: transform;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 380px;
  margin-left: -190px;
  margin-top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 110, 247, .16), transparent 70%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .4s ease;
  transform: translate3d(0, 0, 0);
}

.cursor-glow.is-active {
  opacity: 1;
}

@media (hover: none),
(pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

/* Hero text reveal helpers (animated via GSAP) */
.hero-line {
  display: inline-block;
  overflow: hidden;
}

[data-hero] {
  will-change: transform, opacity;
}

/* Lenis smooth-scroll niceties */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}
@media (max-width: 576px) {
  .lang-switch {
    font-size: 0.75rem !important;
  }
  .lang-switch a {
    padding: 2px 6px !important;
  }
  .navbar-vb .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
