/* ================================================
   SMART SOLUTIONS — Dark Modern Theme
   S-PRO-inspired: glassmorphism, floating effects,
   dark mode, cursor glow, 3D tilt cards
   ================================================ */

/* ---------- Splash Screen ---------- */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #0a0a0f;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
[data-theme="light"] .splash-screen {
  background: #f5f7fa;
}
.splash-screen.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  animation: splash-pulse 1.5s ease-in-out infinite;
}
.splash-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(76, 189, 214, 0.15);
  border-top-color: #4CBDD6;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes splash-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ---------- Custom Properties ---------- */
:root {
  --primary: #4CBDD6;
  --primary-dark: #3a9bb2;
  --primary-light: #7dd3e8;
  --primary-glow: rgba(76, 189, 214, 0.4);
  --primary-subtle: rgba(76, 189, 214, 0.08);

  --bg: #0a0a0f;
  --bg-elevated: #111118;
  --bg-card: rgba(255,255,255,0.03);
  --bg-glass: rgba(255,255,255,0.04);
  --bg-glass-border: rgba(255,255,255,0.08);
  --bg-glass-hover: rgba(255,255,255,0.07);

  --text: #f0f0f5;
  --text-secondary: rgba(255,255,255,0.5);
  --text-muted: rgba(255,255,255,0.3);

  --success: #10b981;
  --error: #ef4444;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --nav-h: 72px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; position: relative; }

/* ---------- Cursor Glow ---------- */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}
body:hover .cursor-glow { opacity: 0.08; }

/* ---------- Section Tags / Headers ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-sub { margin: 0 auto; }

.text-glow {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 30px rgba(76,189,214,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 50px rgba(76,189,214,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(76,189,214,0.06);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2rem; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-nav { padding: 0.6rem 1.4rem; font-size: 0.85rem; }
.btn-loader { animation: spin 1s linear infinite; display: inline-flex; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Glass Card System ---------- */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease-out);
}
.glass-card:hover {
  border-color: rgba(76, 189, 214, 0.2);
  background: var(--bg-glass-hover);
}
.card-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.glass-card:hover .card-glow { opacity: 0.15; }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.footer-logo-img {
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin: 0 auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.35s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Language Switcher */
.lang-switcher {
  position: relative;
  z-index: 1002;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.lang-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
}
.lang-chevron {
  transition: transform 0.25s var(--ease-out);
}
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s var(--ease-out);
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all 0.2s;
}
.lang-option:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.lang-option.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
}
.hamburger-line {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}
.hamburger.active .hamburger-line:first-child { transform: translateY(3.75px) rotate(45deg); }
.hamburger.active .hamburger-line:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

/* --- Split hero layout (text left / 3D right) --- */
.hero-split {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.hero-split-left {
  flex: 1 1 50%;
  position: relative;
  z-index: 2;
}
.hero-split-right {
  flex: 1 1 50%;
  position: relative;
  min-height: 500px;
  z-index: 1;
}
.hero-split-right spline-viewer {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
/* loading spinner for Spline */
.spline-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.spline-loader .loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* --- Spotlight SVG effect --- */
.hero-spotlight {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  opacity: 0;
  animation: spotlight-reveal 1.2s ease-out 0.5s forwards;
  height: 169%;
  width: 138%;
  top: -40px;
  left: 0;
}
@media (min-width: 768px) {
  .hero-spotlight {
    width: 84%;
    left: auto;
    right: 10%;
    top: -20px;
  }
}
[dir="rtl"] .hero-spotlight {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}
@media (min-width: 768px) {
  [dir="rtl"] .hero-spotlight {
    right: auto;
    left: 10%;
  }
}

@keyframes spotlight-reveal {
  0% {
    opacity: 0;
    transform: translateY(-5%) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
[dir="rtl"] @keyframes spotlight-reveal {
  0% {
    opacity: 0;
    transform: translateY(-5%) scale(0.95) scaleX(-1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) scaleX(-1);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: rgba(76, 189, 214, 0.15);
  top: -200px; right: -150px;
  animation: orb-float 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(76, 189, 214, 0.08);
  bottom: -100px; left: -100px;
  animation: orb-float 15s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(125, 211, 232, 0.06);
  top: 40%; left: 50%;
  animation: orb-float 10s ease-in-out infinite 2s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-top { margin-bottom: 2.5rem; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  margin-bottom: 2.5rem;
}
.headline-line {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.headline-line em {
  font-style: italic;
  color: var(--text-secondary);
}

.hero-bottom {
  display: flex;
  gap: 3rem;
  align-items: flex-end;
  max-width: 900px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 450px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Floating stat badges */
.floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.float-badge {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  pointer-events: auto;
  transition: border-color 0.3s, transform 0.3s;
}
.float-badge:hover {
  border-color: rgba(76,189,214,0.3);
}
.badge-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}
.float-badge-1 { top: 25%; right: 8%; }
.float-badge-2 { top: 55%; right: 15%; }
.float-badge-3 { top: 70%; right: 5%; }

/* Scroll line */
.hero-scroll-line {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.scroll-line-track {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.scroll-line-fill {
  width: 100%;
  height: 30px;
  background: var(--primary);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-30px); }
  100% { transform: translateY(60px); }
}
.scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ========================================
   MARQUEE
   ======================================== */
.marquee-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  overflow: hidden;
  background: var(--bg-elevated);
}
.marquee-track { overflow: hidden; }
.marquee-content {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}
.marquee-content span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.marquee-dot { color: var(--primary); font-size: 0.5rem; }

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   ABOUT
   ======================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.about-stat { text-align: left; }
.about-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.about-stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.about-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 2rem;
}
.value-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: background 0.3s, color 0.3s;
}
.value-card:hover .card-icon {
  background: var(--primary);
  color: #fff;
}
.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   SERVICES
   ======================================== */
.services { background: var(--bg-elevated); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(76, 189, 214, 0.25);
  background: var(--bg-glass-hover);
  transform: translateY(-6px);
}
.service-card .card-glow {
  width: 250px; height: 250px;
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.service-icon-wrap {
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: color 0.3s;
}
.service-card:hover .service-icon-wrap { color: var(--primary-light); }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.service-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  margin-top: 1.5rem;
  align-self: flex-end;
  transition: all 0.35s var(--ease-out);
}
.service-card:hover .service-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(-45deg);
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 1rem 2rem 3rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.portfolio-scroll::-webkit-scrollbar { display: none; }
.portfolio-scroll:active { cursor: grabbing; }

.portfolio-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding-left: calc((100vw - var(--container)) / 2);
}

.portfolio-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.portfolio-card:hover {
  border-color: rgba(76, 189, 214, 0.2);
  transform: translateY(-8px);
}

.portfolio-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb-inner {
  transition: transform 0.6s var(--ease-out);
}
.portfolio-card:hover .portfolio-thumb-inner {
  transform: scale(1.1) rotate(5deg);
}

.portfolio-info {
  padding: 1.5rem;
}
.portfolio-cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.portfolio-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.5rem 0;
}
.portfolio-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   CLIENTS
   ======================================== */
.clients-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
}
.client-item:hover {
  border-color: rgba(76,189,214,0.2);
  transform: translateY(-4px);
}
.client-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { background: var(--bg-elevated); }

.testimonials-wrapper { max-width: 700px; margin: 0 auto; }

.testimonial-slider {
  position: relative;
  min-height: 320px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: all 0.6s var(--ease-out);
  pointer-events: none;
}
.testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.testimonial-card {
  padding: 2.5rem;
  text-align: center;
}
.testimonial-quote-mark {
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -0.5rem;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-author strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.testimonial-author > div { text-align: left; }

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.t-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.25s;
}
.t-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.t-dots { display: flex; gap: 0.5rem; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s;
}
.t-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  transform: scale(1.3);
}

/* ========================================
   CONTACT
   ======================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}
.detail-value {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
a.detail-value:hover { color: var(--primary); }

.contact-form-card { padding: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; position: relative; z-index: 1; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-group input, .form-group textarea {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  font-size: 0.9rem;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76,189,214,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input.error, .form-group textarea.error { border-color: var(--error); }
.form-error { font-size: 0.72rem; color: var(--error); min-height: 0.9em; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: 0.85rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { margin-bottom: 1rem; display: inline-flex; align-items: center; }
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s;
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-row { grid-template-columns: repeat(3, 1fr); }
  .about-layout { gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .floating-badges { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }

  .hero-split { flex-direction: column; }
  .hero-split-right { min-height: 400px; width: 100%; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 5rem 0; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    margin: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
    z-index: 1000;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 1.15rem; }
  .btn-nav { font-size: 0.8rem; padding: 0.5rem 1.1rem; }

  .headline-line { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .hero-bottom { flex-direction: column; gap: 1.5rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-scroll-line { display: none; }

  .hero-split { flex-direction: column; gap: 1.5rem; }
  .hero-split-right { min-height: 320px; width: 100%; }

  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { flex-wrap: wrap; gap: 1.5rem; }

  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .portfolio-card { width: 300px; }

  .clients-row { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Small mobile */
@media (max-width: 480px) {
  .headline-line { font-size: 2rem; }
  .section-heading { font-size: 1.75rem; }
  .about-stats { gap: 1rem; }
  .portfolio-card { width: 260px; }
}

/* ========================================
   SERVICE DETAIL PAGES
   ======================================== */
.service-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
}
.service-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }

/* --- Animated background paths --- */
.bg-paths-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  contain: strict;
}
.bg-paths-svg {
  width: 100%;
  height: 100%;
  color: var(--text);
  will-change: auto;
}
.bg-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: path-draw var(--dur, 25s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes path-draw {
  0%   { stroke-dashoffset: 1; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

[data-theme="light"] .bg-paths-svg { color: #0f172a; }

.service-hero-content { position: relative; z-index: 1; max-width: 800px; }
.service-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.service-hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.service-hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.service-back:hover { color: var(--primary); }
.service-back svg { transition: transform 0.2s; }
.service-back:hover svg { transform: translateX(-3px); }
[dir="rtl"] .service-back svg { transform: scaleX(-1); }
[dir="rtl"] .service-back:hover svg { transform: scaleX(-1) translateX(-3px); }

/* Features grid */
.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-feature {
  padding: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out);
}
.service-feature:hover {
  border-color: rgba(76, 189, 214, 0.2);
  transform: translateY(-4px);
}
.service-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}
.service-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.service-feature p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Process / Steps */
.service-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.service-step {
  padding: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  counter-increment: step;
}
.service-step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.service-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.service-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA section */
.service-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.service-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}
.service-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.service-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Other services */
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.other-service-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.35s var(--ease-out);
}
.other-service-link:hover {
  border-color: rgba(76, 189, 214, 0.25);
  transform: translateY(-4px);
}
.other-service-link .service-icon-wrap { margin: 0; }
.other-service-link h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

/* Light theme overrides for service pages */
[data-theme="light"] .service-feature {
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
[data-theme="light"] .service-step {
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
[data-theme="light"] .other-service-link {
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

@media (max-width: 1024px) {
  .service-features { grid-template-columns: repeat(2, 1fr); }
  .service-process { grid-template-columns: repeat(2, 1fr); }
  .other-services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .service-features { grid-template-columns: 1fr; }
  .service-process { grid-template-columns: 1fr; }
  .service-cta-btns { flex-direction: column; align-items: center; }
  .other-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .other-services-grid { grid-template-columns: 1fr; }
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
}
.theme-icon-sun { display: block; }
.theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* ========================================
   LIGHT THEME
   ======================================== */
[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-elevated: #ffffff;
  --bg-card: rgba(0,0,0,0.02);
  --bg-glass: rgba(255,255,255,0.7);
  --bg-glass-border: rgba(0,0,0,0.08);
  --bg-glass-hover: rgba(255,255,255,0.9);
  --text: #1a1a2e;
  --text-secondary: rgba(0,0,0,0.55);
  --text-muted: rgba(0,0,0,0.3);
  --primary-glow: rgba(76, 189, 214, 0.2);
  --primary-subtle: rgba(76, 189, 214, 0.1);
}

/* Logo invert for light bg */
[data-theme="light"] .logo-img {
  filter: brightness(0.15);
}

/* Cursor glow */
[data-theme="light"] .cursor-glow {
  mix-blend-mode: multiply;
}
[data-theme="light"] body:hover .cursor-glow {
  opacity: 0.05;
}

/* Navbar */
[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 247, 250, 0.85);
  border-bottom-color: rgba(0,0,0,0.06);
}

/* Buttons */
[data-theme="light"] .btn-primary {
  box-shadow: 0 4px 20px rgba(76,189,214,0.3);
  color: #fff;
}
[data-theme="light"] .btn-ghost {
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .btn-ghost:hover {
  border-color: var(--primary);
}

/* Glass cards */
[data-theme="light"] .glass-card {
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
}

/* Theme toggle in light mode */
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.2);
}

/* Hero */
[data-theme="light"] .hero-orb-1 { background: rgba(76, 189, 214, 0.08); }
[data-theme="light"] .hero-orb-2 { background: rgba(76, 189, 214, 0.04); }
[data-theme="light"] .hero-orb-3 { background: rgba(125, 211, 232, 0.03); }
[data-theme="light"] .hero-grid-pattern {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
[data-theme="light"] .hero-tag {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .float-badge {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
[data-theme="light"] .spline-loader .loader {
  border-color: rgba(0,0,0,0.08);
  border-top-color: var(--primary);
}
[data-theme="light"] .scroll-line-track {
  background: rgba(0,0,0,0.1);
}

/* Marquee */
[data-theme="light"] .marquee-section {
  border-color: rgba(0,0,0,0.06);
}

/* About */
[data-theme="light"] .about-stats {
  border-top-color: rgba(0,0,0,0.08);
}

/* Services */
[data-theme="light"] .service-card {
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
[data-theme="light"] .service-arrow {
  border-color: rgba(0,0,0,0.1);
}

/* Portfolio */
[data-theme="light"] .portfolio-card {
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

/* Testimonials */
[data-theme="light"] .t-dot {
  background: rgba(0,0,0,0.15);
}
[data-theme="light"] .t-nav-btn {
  border-color: rgba(0,0,0,0.1);
}

/* Contact form inputs */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}

/* Footer */
[data-theme="light"] .footer {
  border-top-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .footer-top {
  border-bottom-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .footer-social a {
  border-color: rgba(0,0,0,0.1);
}

/* Lang switcher */
[data-theme="light"] .lang-btn {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}
[data-theme="light"] .lang-btn:hover {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.2);
}
[data-theme="light"] .lang-dropdown {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
[data-theme="light"] .lang-option:hover {
  background: rgba(0,0,0,0.04);
}

/* Mobile nav in light theme */
@media (max-width: 768px) {
  [data-theme="light"] .nav-links {
    background: rgba(245, 247, 250, 0.97);
  }
}

/* ========================================
   RTL SUPPORT (Arabic & Kurdish)
   ======================================== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] body { font-family: 'Inter', 'Noto Sans Arabic', 'Noto Sans Kurdish', Tahoma, sans-serif; }

/* Nav */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-link::after { left: auto; right: 0; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

/* Hero */
[dir="rtl"] .hero-scroll-line { left: auto; right: 2rem; }
[dir="rtl"] .float-badge-1 { right: auto; left: 8%; }
[dir="rtl"] .float-badge-2 { right: auto; left: 15%; }
[dir="rtl"] .float-badge-3 { right: auto; left: 5%; }
[dir="rtl"] .hero-cta .btn svg { transform: scaleX(-1); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }

/* About */
[dir="rtl"] .about-stat { text-align: right; }

/* Services */
[dir="rtl"] .service-arrow { align-self: flex-start; }
[dir="rtl"] .service-arrow svg { transform: scaleX(-1); }

/* Portfolio */
[dir="rtl"] .portfolio-track { padding-left: 0; padding-right: calc((100vw - var(--container)) / 2); }

/* Contact */
[dir="rtl"] .contact-detail { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .contact-detail-icon { flex-shrink: 0; }

/* Footer */
[dir="rtl"] .footer-social { justify-content: flex-start; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom-links { flex-direction: row-reverse; }

/* Testimonials RTL */
[dir="rtl"] .testimonial-author { flex-direction: row-reverse; }
[dir="rtl"] .testimonial-author > div { text-align: right; }
[dir="rtl"] .t-nav-btn svg { transform: scaleX(-1); }

/* Section tags */
[dir="rtl"] .section-header { text-align: center; }

@media (max-width: 768px) {
  [dir="rtl"] .nav-links { flex-direction: column; }
  [dir="rtl"] .footer-bottom { flex-direction: column; }
}
