/* =====================================================
   OXA CODE — Main Stylesheet
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-100);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  transition: background 0.35s ease, color 0.35s ease;
}

/* Arabic font stack */
html[lang="ar"] body {
  font-family: 'Alexandria', 'Tajawal', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* =====================================================
   GRADIENT TEXT UTILITY
   ===================================================== */
.grad-text {
  background: linear-gradient(90deg, var(--grad-blue), var(--grad-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* =====================================================
   GLOBAL PAGE CONTAINER
   Consistent horizontal spacing across the entire site
   ===================================================== */

:root {
  --oxa-page-max-width: 1540px;
 --oxa-page-gutter: clamp(2rem, 6vw, 7rem);
}


/* =====================================================
   BACKGROUND FX
   ===================================================== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 50% 0%, var(--bg-fx-radial), transparent 60%),
    var(--bg-fx-gradient);
  transition: background 0.35s ease;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: var(--glow-blob-opacity);
  transition: opacity 0.35s ease;
}
.glow-blue {
  width: 520px; height: 520px;
  top: -120px; right: 8%;
  background: radial-gradient(circle, var(--glow-blue), transparent 70%);
}
.glow-purple {
  width: 600px; height: 600px;
  bottom: -200px; left: -100px;
  background: radial-gradient(circle, var(--glow-purple), transparent 70%);
}

.particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--particle-color);
  opacity: 0.5;
  box-shadow: 0 0 6px 1px var(--particle-glow);
  animation: drift linear infinite;
}

@keyframes drift {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120px) translateX(20px); opacity: 0; }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.oxa-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding-block: 1.15rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    padding 0.32s ease,
    background 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.oxa-navbar.scrolled {
  padding-block: 0.72rem;
  background: var(--nav-bg-scroll);
  border-bottom-color: var(--nav-border-color);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 12px 34px rgba(0, 4, 14, 0.18);
}

.oxa-navbar > .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Brand */
.oxa-brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.oxa-brand__logo {
  width: auto;
  height: 39px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(61, 139, 255, 0.2));
}

.oxa-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.oxa-brand__text strong {
  color: var(--text-100);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.oxa-brand__text small {
  margin-top: 0.18rem;
  color: var(--text-50);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Nav links */
.oxa-navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 2.7vw, 2.6rem);
}

.oxa-navbar__links a {
  position: relative;
  padding-block: 0.4rem;
  color: var(--text-70);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.22s ease;
}

.oxa-navbar__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.18rem;
  width: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--grad-blue), var(--grad-purple));
  transition: width 0.28s ease;
}

.oxa-navbar__links a:hover,
.oxa-navbar__links a.active { color: var(--text-100); }

.oxa-navbar__links a:hover::after,
.oxa-navbar__links a.active::after { width: 100%; }

/* Actions */
.oxa-navbar__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.oxa-navbar__tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Tool buttons */
.oxa-tool-btn {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--text-70);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(128, 153, 191, 0.15);
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.oxa-tool-btn:hover {
  color: var(--text-100);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(80, 145, 239, 0.3);
  transform: translateY(-2px);
}

html[data-theme="light"] .oxa-tool-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(60, 100, 200, 0.15);
}

html[data-theme="light"] .oxa-tool-btn:hover {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(45, 140, 255, 0.3);
}

.oxa-language-toggle {
  width: auto;
  min-width: 64px;
  gap: 0.42rem;
  padding-inline: 0.72rem;
}

.oxa-language-code {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Theme icon toggle */
.oxa-theme-icon {
  position: absolute;
  font-size: 1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.oxa-theme-icon--sun  { opacity: 1; transform: rotate(0deg) scale(1); }
.oxa-theme-icon--moon { opacity: 0; transform: rotate(-30deg) scale(0.65); }

html[data-theme="light"] .oxa-theme-icon--sun  { opacity: 0; transform: rotate(30deg) scale(0.65); }
html[data-theme="light"] .oxa-theme-icon--moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* CTA button — navbar */
.oxa-navbar .oxa-btn-cta {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
}

/* Mobile toggle */
.oxa-menu-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(128, 153, 191, 0.15);
  border-radius: 999px;
}

.oxa-menu-toggle span {
  width: 19px; height: 2px;
  background: var(--text-100);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.oxa-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.oxa-menu-toggle.active span:nth-child(2) { opacity: 0; }
.oxa-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.oxa-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  padding: 7.2rem 1.5rem 2rem;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.oxa-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.oxa-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
}

.oxa-mobile-menu nav a {
  color: var(--text-100);
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 600;
}

.oxa-mobile-cta {
  width: 100%;
  justify-content: center;
  margin-top: 2.2rem;
}

body.oxa-menu-open { overflow: hidden; }

/* =====================================================
   SHARED BUTTONS
   ===================================================== */
.oxa-btn-cta {
  background: linear-gradient(90deg, var(--grad-blue), var(--grad-purple));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(111, 66, 255, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.oxa-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(111, 66, 255, 0.5);
  color: #fff;
}

.oxa-btn-primary {
  background: linear-gradient(90deg, var(--grad-blue), var(--grad-purple));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(111, 66, 255, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.oxa-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(111, 66, 255, 0.55);
  color: #fff;
}

.oxa-btn-outline {
  background: transparent;
  color: var(--text-100);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.oxa-btn-outline i { color: var(--glow-blue); }

.oxa-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-100);
  transform: translateY(-2px);
}

html[data-theme="light"] .oxa-btn-outline {
  border-color: rgba(60, 100, 200, 0.25);
}

html[data-theme="light"] .oxa-btn-outline:hover {
  border-color: rgba(60, 100, 200, 0.5);
  background: rgba(60, 100, 200, 0.04);
}

/* RTL arrow flip */
html[dir="rtl"] .oxa-arrow-icon { transform: scaleX(-1); }

/* =====================================================
   RTL OVERRIDES — NAVBAR
   ===================================================== */
html[dir="rtl"] .oxa-navbar > .container-fluid,
html[dir="rtl"] .oxa-brand,
html[dir="rtl"] .oxa-navbar__links,
html[dir="rtl"] .oxa-navbar__actions,
html[dir="rtl"] .oxa-navbar__tools { direction: rtl; }

html[dir="rtl"] .oxa-navbar__links a::after { left: auto; right: 0; }

html[dir="rtl"] .oxa-mobile-menu { text-align: right; }

/* =====================================================
   HERO
   ===================================================== */
.oxa-hero {
  position: relative;
  z-index: 1;

  min-height: 760px;

  display: flex;
  align-items: center;

  padding-top: 125px;
  padding-bottom: 0;
}

.oxa-hero > .container-fluid {
  position: relative;
  z-index: 1;
}

.oxa-hero .row {
  min-height: 540px;
}
/* Hero text column */
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #9db4ff;
  background: rgba(111, 66, 255, 0.1);
  border: 1px solid rgba(111, 66, 255, 0.35);
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 26px;
  text-transform: uppercase;
}

html[data-theme="light"] .hero-badge {
  color: var(--grad-blue);
  background: rgba(45, 140, 255, 0.08);
  border-color: rgba(45, 140, 255, 0.3);
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-100);
  margin-bottom: 26px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-70);
  max-width: 490px;
  margin-bottom: 38px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero cube column */
/* Hero cube column */
.hero-right {
  position: relative;

  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
}

.oxa-cube-wrap {
  position: relative;

  width: 100%;
  min-height: 530px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  overflow: visible;
}

/* Soft glow behind cube */
.oxa-cube-wrap::before {
  content: '';

  position: absolute;
  top: 50%;
  left: 50%;

  width: min(520px, 85%);
  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(45, 140, 255, 0.2) 0%,
      rgba(111, 66, 255, 0.12) 38%,
      transparent 72%
    );

  filter: blur(30px);

  transform: translate(-50%, -50%);

  pointer-events: none;
}

.oxa-cube {
  position: relative;
  z-index: 1;

  width: clamp(520px, 43vw, 690px);
  max-width: 115%;
  height: auto;

  object-fit: contain;

  animation: cubeFloat 7s ease-in-out infinite;

  filter:
    drop-shadow(0 0 58px var(--cube-glow))
    drop-shadow(0 34px 70px rgba(0, 0, 0, 0.38));

  transform-origin: center center;

  will-change: transform;
}

/* LTR rotation */
@keyframes cubeFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-28px) rotate(3deg); }
}

/* RTL: reverse rotation direction only */
html[dir="rtl"] .oxa-cube { animation-name: cubeFloatRTL; }

@keyframes cubeFloatRTL {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-28px) rotate(-3deg); }
}

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
  margin-top: 72px;
  background: var(--stats-bar-bg);
  border: 1px solid var(--stats-bar-border);
  border-radius: 18px;
  padding: 34px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.stats-bar-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .stats-bar-divider {
  background: rgba(60, 100, 200, 0.12);
}

.sb-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.sb-icon-blue   { background: rgba(45, 140, 255, 0.15); color: var(--glow-blue); }
.sb-icon-purple { background: rgba(138, 63, 252, 0.15); color: var(--grad-purple); }
.sb-icon-teal   { background: rgba(45, 200, 190, 0.15); color: #2dd4bf; }

.sb-number { font-size: 26px; font-weight: 700; color: var(--text-100); }
.sb-text   { font-size: 26px; font-weight: 700; color: var(--text-100); line-height: 1.3; }
.sb-text small { font-size: 13px; font-weight: 500; color: var(--text-50); }

/* =====================================================
   NAVIGATE OUR SOLUTIONS
   ===================================================== */
.oxa-navigate {
  position: relative;
  z-index: 1;
  padding: 120px 0 0;
}

.navigate-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.navigate-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-100);
  margin-bottom: 14px;
}

.navigate-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-50);
  margin: 0;
}

.nav-card {
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .nav-card:hover {
  border-color: rgba(60, 100, 200, 0.2);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(60, 100, 200, 0.1);
}

.nav-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 22px;
}

.icon-teal   { background: rgba(45, 200, 190, 0.12); color: #2dd4bf; border: 1px solid rgba(45, 200, 190, 0.25); }
.icon-purple { background: rgba(138, 63, 252, 0.12); color: var(--grad-purple); border: 1px solid rgba(138, 63, 252, 0.25); }
.icon-blue   { background: rgba(61, 139, 255, 0.12); color: var(--glow-blue); border: 1px solid rgba(61, 139, 255, 0.25); }

.nav-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 12px;
}

.nav-card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-50);
  margin-bottom: 22px;
}

.nav-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: gap 0.25s ease;
}

.nav-card-link i { font-size: 11px; transition: transform 0.25s ease; }
.nav-card-link:hover { gap: 12px; }
.nav-card-link:hover i { transform: translateX(2px); }
html[dir="rtl"] .nav-card-link:hover i { transform: translateX(-2px); }

.link-teal   { color: #2dd4bf; }
.link-purple { color: var(--grad-purple); }
.link-blue   { color: var(--glow-blue); }

/* =====================================================
   SHARED SECTION HEAD
   ===================================================== */
.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--glow-purple);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-100);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-50);
  margin: 0;
}

/* =====================================================
   SERVICES MARQUEE
   ===================================================== */
.oxa-services {
  position: relative;
  z-index: 1;
  padding: 130px 0 0;
}

.services-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.services-track {
  display: flex;
  width: max-content;
  padding: 6px 4px 26px;
}

.services-track-inner {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  animation: servicesMarquee 32s linear infinite;
}

.services-track-wrap:hover .services-track-inner,
.services-track.is-paused .services-track-inner { animation-play-state: paused; }

.services-track.js-marquee .services-track-inner { animation: none; }

@keyframes servicesMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.service-card {
  flex: 0 0 285px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .service-card:hover {
  border-color: rgba(60, 100, 200, 0.2);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(60, 100, 200, 0.1);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(45, 140, 255, 0.14), rgba(138, 63, 252, 0.14));
  border: 1px solid rgba(124, 77, 255, 0.28);
  color: #a6b8ff;
}

.service-card h3 { font-size: 17px; font-weight: 700; color: var(--text-100); margin-bottom: 10px; }
.service-card p  { font-size: 13.5px; line-height: 1.75; color: var(--text-50); margin-bottom: 18px; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--glow-blue);
  transition: gap 0.25s ease;
}

.service-link i { font-size: 10px; transition: transform 0.25s ease; }
.service-link:hover { gap: 12px; color: var(--glow-blue); }
.service-link:hover i { transform: translateX(2px); }
html[dir="rtl"] .service-link:hover i { transform: translateX(-2px); }

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
/* =====================================================
   ABOUT OXACODE PREVIEW
   ===================================================== */

.oxa-about-preview {
  position: relative;
  z-index: 1;

  padding: 135px 0 0;
}

/* =====================================================
   VISUAL
   ===================================================== */

.about-preview__visual{
    position:relative;

    min-height:520px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.about-preview__visual::before{
    content:"";

    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:radial-gradient(
        circle,
        rgba(45,140,255,.18) 0%,
        rgba(138,63,252,.12) 40%,
        transparent 72%
    );

    filter:blur(35px);

    z-index:0;
}





/* Cube */
.about-preview__cube {
  position: relative;
  z-index: 2;

    width:min(650px,118%);
  max-width: none;
  height: auto;

  object-fit: contain;

  animation: aboutCubeFloat 7s ease-in-out infinite;

  filter:
    drop-shadow(0 0 55px var(--cube-glow))
    drop-shadow(0 36px 65px rgba(0, 0, 0, 0.32));

  transform-origin: center;
}

@keyframes aboutCubeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

/* Floating label */
.about-preview__badge {
  position: absolute;
  z-index: 3;

  left: 2rem;
  bottom: 2rem;

  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  padding: 0.75rem 1rem;

  color: var(--text-100);

  background: rgba(6, 10, 28, 0.72);

  border: 1px solid rgba(143, 180, 255, 0.18);
  border-radius: 999px;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  font-size: 0.78rem;
  font-weight: 600;

  box-shadow:
    0 14px 35px rgba(0, 3, 16, 0.24);
}

html[dir="rtl"] .about-preview__badge {
  left: auto;
  right: 2rem;
}

.about-preview__badge-icon {
  width: 32px;
  height: 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      var(--grad-blue),
      var(--grad-purple)
    );

  border-radius: 50%;
}

/* =====================================================
   CONTENT
   ===================================================== */

.about-preview__content {
  max-width: 650px;
}

.about-preview__title {
  margin-bottom: 1.35rem;

  font-size: clamp(2.15rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.about-preview__lead {
  margin: 0 0 1.1rem;

  color: var(--text-70);

  font-size: 1rem;
  line-height: 1.82;
}

.about-preview__text {
  margin: 0;

  color: var(--text-50);

  font-size: 0.9rem;
  line-height: 1.8;
}

/* Features */
.about-preview__features {
  display: grid;

  gap: 0;

  margin-top: 2.2rem;

  border-top: 1px solid var(--why-divider);
  border-bottom: 1px solid var(--why-divider);
}

.about-preview__feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;

  gap: 1rem;

  padding: 1.2rem 0;

  border-bottom: 1px solid var(--why-divider);
}

.about-preview__feature:last-child {
  border-bottom: 0;
}

.about-preview__feature-icon {
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #abbaff;

  background:
    linear-gradient(
      145deg,
      rgba(45, 140, 255, 0.12),
      rgba(138, 63, 252, 0.1)
    );

  border: 1px solid rgba(120, 115, 255, 0.2);
  border-radius: 13px;

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.about-preview__feature:hover .about-preview__feature-icon {
  color: #fff;

  transform: translateY(-3px);

  border-color: rgba(120, 125, 255, 0.42);
}

.about-preview__feature h3 {
  margin: 0 0 0.3rem;

  color: var(--text-100);

  font-size: 0.95rem;
  font-weight: 700;
}

.about-preview__feature p {
  margin: 0;

  color: var(--text-50);

  font-size: 0.79rem;
  line-height: 1.55;
}

.about-preview__button {
  margin-top: 2rem;
}

/* =====================================================
   LIGHT THEME
   ===================================================== */

html[data-theme="light"] .about-preview__visual {
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(45, 140, 255, 0.1),
      transparent 38%
    ),
    radial-gradient(
      circle at 48% 58%,
      rgba(138, 63, 252, 0.07),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88),
      rgba(244, 248, 255, 0.65)
    );

  box-shadow:
    0 28px 70px rgba(55, 80, 150, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .about-preview__badge {
  color: var(--text-100);

  background: rgba(255, 255, 255, 0.75);

  border-color: rgba(60, 100, 200, 0.16);

  box-shadow:
    0 14px 35px rgba(55, 80, 150, 0.1);
}

/* =====================================================
   PROCESS — FROM IDEA TO LAUNCH
   ===================================================== */
.oxa-process {
  position: relative;
  z-index: 1;
  padding: 130px 0 0;
}

.process-timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: var(--process-line-color);
  opacity: 0.4;
}

html[dir="rtl"] .process-timeline::before {
  left: auto;
  right: 23px;
}

.process-step {
  position: relative;
  display: flex;
  gap: 26px;
  padding-bottom: 48px;
}
.process-step:last-child { padding-bottom: 0; }

.process-marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--process-marker-bg);
  border: 1px solid var(--process-marker-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--process-marker-shadow);
  transition: background 0.35s ease;
}

.process-marker span {
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--grad-blue), var(--grad-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-content { padding-top: 4px; }

.process-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--glow-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.process-content h4 { font-size: 18px; font-weight: 700; color: var(--text-100); margin-bottom: 8px; }
.process-content p  { font-size: 14px; line-height: 1.75; color: var(--text-50); margin: 0; max-width: 560px; }

/* =====================================================
   PORTFOLIO — SELECTED PROJECTS
   ===================================================== */

.oxa-portfolio {
  position: relative;
  z-index: 1;

  padding: 135px 0 0;
}

/* Header */
.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 3rem;

  margin-bottom: 3rem;
}

.portfolio-head__content {
  max-width: 720px;
}

.portfolio-head__title {
  max-width: 680px;

  margin-bottom: 1rem;

  font-size: clamp(2.15rem, 3.3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.portfolio-head__text {
  max-width: 600px;
}

.portfolio-head__button {
  flex-shrink: 0;

  min-height: 48px;
  padding-inline: 1.35rem;

  background: rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Projects grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1.25rem;

  align-items: stretch;
}

/* Card */
.project-card {
  position: relative;

  min-width: 0;
  height: 100%;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.012)
    );

  border: 1px solid var(--card-border);
  border-radius: 1.3rem;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-7px);

  border-color: rgba(111, 126, 255, 0.25);

  box-shadow:
    0 26px 58px rgba(0, 3, 16, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Project image */
.project-card__media {
  position: relative;

  display: block;

  height: 220px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(45, 140, 255, 0.13),
      rgba(138, 63, 252, 0.14)
    );
}

.project-card__image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.project-card:hover .project-card__image {
  transform: scale(1.055);

  filter:
    saturate(1.08)
    contrast(1.03);
}

.project-card__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(3, 5, 18, 0.02) 5%,
      rgba(3, 5, 18, 0.1) 58%,
      rgba(3, 5, 18, 0.55) 100%
    );

  pointer-events: none;
}

/* Number */
.project-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;

  z-index: 2;

  min-width: 42px;
  height: 29px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding-inline: 0.65rem;

  color: #fff;

  background: rgba(5, 8, 25, 0.58);

  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Open project button */
.project-card__open {
  position: absolute;
  top: 1rem;
  right: 1rem;

  z-index: 2;

  width: 39px;
  height: 39px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #fff;

  background: rgba(5, 8, 25, 0.58);

  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: 0.7rem;

  opacity: 0;
  transform: translateY(-5px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.project-card:hover .project-card__open {
  opacity: 1;
  transform: translateY(0);

  background:
    linear-gradient(
      135deg,
      var(--grad-blue),
      var(--grad-purple)
    );
}

/* Content */
.project-card__content {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 1.45rem;
}

.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  margin-bottom: 0.75rem;
}

.project-card__category {
  color: var(--glow-blue);

  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card__year {
  flex-shrink: 0;

  color: var(--text-50);

  font-size: 0.66rem;
  font-weight: 600;
}

.project-card__content h3 {
  margin: 0 0 0.65rem;

  color: var(--text-100);

  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.project-card__content p {
  margin: 0;

  color: var(--text-50);

  font-size: 0.78rem;
  line-height: 1.7;
}

/* Footer */
.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  margin-top: auto;
  padding-top: 1.15rem;

  border-top: 1px solid var(--why-divider);
}

.project-card__tech {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 0.4rem;
}

.project-card__tech span {
  min-height: 27px;

  display: inline-flex;
  align-items: center;

  padding: 0.28rem 0.62rem;

  color: var(--text-70);

  background: rgba(255, 255, 255, 0.03);

  border: 1px solid var(--card-border);
  border-radius: 999px;

  font-size: 0.61rem;
  font-weight: 600;
}

.project-card__link {
  flex-shrink: 0;

  width: 36px;
  height: 36px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--text-70);

  border: 1px solid var(--card-border);
  border-radius: 50%;

  font-size: 0.68rem;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.project-card:hover .project-card__link {
  color: #fff;

  background:
    linear-gradient(
      135deg,
      var(--grad-blue),
      var(--grad-purple)
    );

  border-color: transparent;

  transform: rotate(-7deg);
}

/* RTL */
html[dir="rtl"] .project-card__number {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .project-card__open {
  right: auto;
  left: 1rem;
}

/* Light theme */
html[data-theme="light"] .project-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.94),
      rgba(244, 248, 255, 0.74)
    );

  box-shadow:
    0 18px 44px rgba(55, 80, 150, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .project-card:hover {
  border-color: rgba(90, 110, 220, 0.22);

  box-shadow:
    0 26px 58px rgba(55, 80, 150, 0.13);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.oxa-testimonials {
  position: relative;
  z-index: 1;
  padding: 130px 0 0;
}

.testi-card {
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .testi-card:hover {
  border-color: rgba(60, 100, 200, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.testi-quote { font-size: 20px; color: var(--glow-purple); opacity: 0.6; margin-bottom: 16px; }

.testi-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-70);
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.avatar-blue   { background: linear-gradient(135deg, #2D8CFF, #3D8BFF); }
.avatar-purple { background: linear-gradient(135deg, #6F42FF, #8A3FFC); }
.avatar-teal   { background: linear-gradient(135deg, #0f9b8e, #2dd4bf); }

.testi-person { display: flex; flex-direction: column; }
.testi-name   { font-size: 13.5px; font-weight: 700; color: var(--text-100); }
.testi-role   { font-size: 12px; color: var(--text-50); }
.testi-stars  { color: #f5b942; font-size: 11px; display: flex; gap: 3px; }

/* =====================================================
   FINAL CTA
   ===================================================== */
.oxa-cta {
  position: relative;
  z-index: 1;
  padding: 130px 0 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 72px 32px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[data-theme="light"] .cta-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
}

.cta-glow {
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 520px; height: 320px;
  background: radial-gradient(ellipse, rgba(124, 77, 255, 0.3), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.cta-title {
  position: relative;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-100);
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-sub {
  position: relative;
  font-size: 15px;
  color: var(--text-50);
  margin-bottom: 34px;
}

.cta-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cta-note {
  position: relative;
  display: block;
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-50);
}

/* =====================================================
   FOOTER
   ===================================================== */
.oxa-footer {
  position: relative;
  z-index: 1;
  margin-top: 130px;
  border-top: 1px solid var(--footer-border);
  padding: 64px 0 28px;
  transition: border-color 0.35s ease;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-col-brand .oxa-brand { margin-bottom: 16px; display: inline-flex; }

.footer-tagline {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-50);
  margin: 0 0 20px;
  max-width: 280px;
}

.footer-col-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-100);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 13.5px;
  color: var(--text-50);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover { color: var(--text-100); transform: translateX(3px); }
html[dir="rtl"] .footer-links a:hover { transform: translateX(-3px); }

.footer-links i { font-size: 11px; color: var(--text-50); width: 14px; }

.footer-socials { display: flex; gap: 10px; }

.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-70);
  font-size: 13px;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.footer-social:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

html[data-theme="light"] .footer-social {
  border-color: rgba(60, 100, 200, 0.18);
}

html[data-theme="light"] .footer-social:hover {
  border-color: rgba(60, 100, 200, 0.4);
  color: var(--text-100);
  background: rgba(60, 100, 200, 0.06);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
}

.footer-copy {
  font-family: 'Space Grotesk', monospace;
  font-size: 12px;
  color: var(--text-50);
  letter-spacing: 0.2px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.footer-legal a { color: var(--text-50); transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--text-100); }
.footer-dot { color: var(--text-50); }
/*
  Overrides Bootstrap px-4 / px-lg-5 consistently.
  Applies to navbar, hero, sections and footer.
*/
.oxa-navbar > .container-fluid,
.oxa-hero > .container-fluid,
.oxa-navigate > .container-fluid,
.oxa-services > .container-fluid,
.oxa-why > .container-fluid,
.oxa-process > .container-fluid,
.oxa-portfolio > .container-fluid,
.oxa-testimonials > .container-fluid,
.oxa-cta > .container-fluid,
.oxa-footer > .container-fluid {
  width: 100%;
  max-width: var(--oxa-page-max-width);

  margin-inline: auto;

  padding-left: var(--oxa-page-gutter) !important;
  padding-right: var(--oxa-page-gutter) !important;
}
/* Contact Form Select */
/* .oxa-input {
    color: var(--text-primary);
}
 */
/* .oxa-input option {
    color: #1b2333;
    background: #ffffff;
} */

.oxa-input option:checked {
    background: var(--color-primary);
    color: #ffffff;
}
.oxa-input {
    background: #101827;
    color: #fff;
}

.oxa-input option {
    background: #101827;
    color: #fff;
}