/* ============================================================
   KB Solutions — Public Site CSS
   Light theme · EN/AR (RTL) · Creative header
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --kb-navy:         #1B3A8C;
  --kb-blue:         #2563EB;
  --kb-blue-light:   #3B82F6;
  --kb-blue-pale:    #EFF6FF;
  --kb-orange:       #F97316;
  --kb-orange-dark:  #EA580C;
  --kb-orange-pale:  #FFF7ED;

  --site-bg:         #F8FAFC;
  --site-white:      #FFFFFF;
  --site-text:       #0F172A;
  --site-text-muted: #64748B;
  --site-border:     #E2E8F0;

  --header-h:        72px;
  --radius-pill:     999px;
  --radius-card:     20px;
  --radius-sm:       10px;

  --shadow-soft:  0 2px 20px rgba(0,0,0,.06);
  --shadow-card:  0 8px 32px rgba(0,0,0,.08);
  --shadow-glow:  0 8px 30px rgba(37,99,235,.25);
  --shadow-orange:0 8px 30px rgba(249,115,22,.3);

  --grad-brand:   linear-gradient(135deg, var(--kb-blue) 0%, var(--kb-navy) 100%);
  --grad-orange:  linear-gradient(135deg, var(--kb-orange) 0%, var(--kb-orange-dark) 100%);
  --grad-hero:    linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 50%, #FFF7ED 100%);

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

/* ── Base ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.site-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--site-text);
  background: var(--site-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Arabic font override */
.is-rtl,
.is-rtl * {
  font-family: 'Cairo', 'Inter', system-ui, sans-serif;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 99px; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  HEADER                                                  ║
   ╚══════════════════════════════════════════════════════════╝ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              backdrop-filter 0.35s;
}

/* Transparent state (top of page) */
.site-header.at-top {
  background: transparent;
}

/* Scrolled state — frosted glass */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 4px 20px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

/* ── Logo ────────────────────────────────────────────────── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-rocket {
  width: 40px; height: 40px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bounce);
}
.logo-rocket img { width: 100%; height: 100%; object-fit: contain; }
.header-logo:hover .logo-rocket {
  transform: translateY(-4px) rotate(10deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-kb {
  font-size: 20px;
  font-weight: 800;
  color: var(--kb-navy);
  letter-spacing: -0.5px;
}
.logo-solutions {
  font-size: 14px;
  font-weight: 600;
  color: var(--kb-orange);
  letter-spacing: 0.02em;
  margin-top: -1px;
}
.logo-tagline {
  font-size: 9px;
  font-weight: 500;
  color: var(--site-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
}

/* ── Desktop Nav ─────────────────────────────────────────── */
.header-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link-site {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--site-text);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link-site::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--kb-orange);
  border-radius: 99px;
  transition: width 0.3s var(--ease-out-expo), left 0.3s var(--ease-out-expo);
}
.is-rtl .nav-link-site::after {
  left: auto; right: 50%;
  transition: width 0.3s var(--ease-out-expo), right 0.3s var(--ease-out-expo);
}
.nav-link-site:hover {
  color: var(--kb-navy);
  background: rgba(37,99,235,.06);
}
.nav-link-site:hover::after {
  width: calc(100% - 28px);
  left: 14px;
}
.is-rtl .nav-link-site:hover::after {
  width: calc(100% - 28px);
  right: 14px; left: auto;
}

/* ── Header Actions ──────────────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Language Switcher ──────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.9);
  border: 1.5px solid var(--site-border);
  border-radius: var(--radius-pill);
  padding: 3px 3px 3px 10px;
  gap: 6px;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: var(--shadow-soft);
}

/* When header is transparent, make switcher slightly visible */
.at-top .lang-switcher {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
}
/*.at-top .lang-switcher .lang-globe-icon { color: white; }*/
/*.at-top .lang-switcher .lang-code { color: rgba(255,255,255,.85); }*/
.at-top .lang-switcher .lang-divider { background: rgba(255,255,255,.3); }

.lang-switcher:hover {
  border-color: var(--kb-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.lang-globe-icon {
  font-size: 16px;
  color: var(--site-text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s, transform 0.3s var(--ease-bounce);
}
.lang-switcher:hover .lang-globe-icon {
  color: var(--kb-blue);
  transform: rotate(20deg);
}

.lang-options {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--site-text-muted);
  transition: all 0.25s var(--ease-out-expo);
  letter-spacing: 0.03em;
}
.lang-opt:hover {
  color: var(--kb-navy);
  background: var(--kb-blue-pale);
}
.lang-opt.active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.lang-opt.active:hover { opacity: 0.9; }

.lang-flag { font-size: 14px; line-height: 1; }
.lang-code { font-size: 11px; font-weight: 700; }

.lang-divider {
  width: 1px; height: 16px;
  background: var(--site-border);
  flex-shrink: 0;
}

/* ── CTA Button ──────────────────────────────────────────── */
.btn-site-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: var(--shadow-orange);
}
.btn-site-cta:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(249,115,22,.4);
}
.btn-site-cta i { font-size: 12px; transition: transform 0.2s; }
.btn-site-cta:hover i { transform: translateX(3px); }
.is-rtl .btn-site-cta:hover i { transform: translateX(-3px); }

/* ── Hamburger ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(0,0,0,.05); }
.ham-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--site-text);
  border-radius: 99px;
  transition: transform 0.35s var(--ease-out-expo),
              opacity 0.2s,
              width 0.2s;
}
.hamburger.open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-bar:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Drawer ───────────────────────────────────────── */
.mobile-drawer {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--site-border);
  border-bottom: 4px solid transparent;
  border-image: var(--grad-brand) 1;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out-expo),
              opacity 0.3s;
  z-index: 999;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav { padding: 20px 24px 28px; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--site-text);
  border-bottom: 1px solid var(--site-border);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav-link:hover { color: var(--kb-blue); padding-left: 6px; }
.is-rtl .mobile-nav-link:hover { padding-left: 0; padding-right: 6px; }

.mobile-drawer-footer { margin-top: 20px; }
.mobile-lang { display: flex; gap: 8px; }
.mobile-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--site-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--site-text-muted);
  transition: all 0.2s;
}
.mobile-lang-btn:hover { border-color: var(--kb-blue); color: var(--kb-blue); }
.mobile-lang-btn.active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  HERO SECTION                                            ║
   ╚══════════════════════════════════════════════════════════╝ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Mesh background */
.hero-mesh { position: absolute; inset: 0; pointer-events: none; }

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 10s ease-in-out infinite;
}
.mesh-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.mesh-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 70%);
  bottom: 0; right: 10%;
  animation-delay: -5s;
}
.mesh-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(27,58,140,.08) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation-delay: -3s;
}

/* Dot grid */
.mesh-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

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

/* Hero layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 60px;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.2);
  color: var(--kb-blue);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--kb-orange);
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.3); }
}

/* Hero headline */
.hero-headline {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--site-text);
  margin-bottom: 20px;
}
.headline-accent {
  background: linear-gradient(135deg, var(--kb-orange) 0%, var(--kb-blue) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.headline-cursor {
  display: inline-block;
  width: 3px; height: 0.8em;
  background: var(--kb-orange);
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub {
  font-size: 17px;
  color: var(--site-text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

/* Hero CTA buttons */
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: var(--shadow-glow);
}
.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(37,99,235,.4);
}
.btn-hero-primary i { font-size: 16px; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--site-text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--site-border);
  transition: all 0.3s var(--ease-out-expo);
}
.btn-hero-secondary:hover {
  color: var(--kb-blue);
  border-color: var(--kb-blue);
  background: var(--kb-blue-pale);
  transform: translateY(-2px);
}
.btn-hero-secondary i { font-size: 14px; transition: transform 0.2s; }
.btn-hero-secondary:hover i { transform: translateX(4px); }
.is-rtl .btn-hero-secondary:hover i { transform: translateX(-4px); }

/* Scroll hint */
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--site-text-muted);
  font-size: 12px;
  font-weight: 500;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid currentColor;
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: currentColor;
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%,100% { transform:translateY(0); opacity:1; }
  80%      { transform:translateY(8px); opacity:0; }
}

/* ── Hero Illustration ───────────────────────────────────── */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.illus-card--main {
  position: relative;
  width: 360px; height: 360px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(239,246,255,.8));
  border-radius: 40px;
  border: 1.5px solid rgba(37,99,235,.1);
  box-shadow: 0 20px 60px rgba(37,99,235,.12), 0 2px 0 rgba(255,255,255,.9) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: illus-float 6s ease-in-out infinite;
}
@keyframes illus-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

.illus-rocket {
  width: 180px; height: 180px;
  animation: rocket-hover 3s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(249,115,22,.3));
}
.illus-rocket img { width: 100%; height: 100%; object-fit: contain; }
@keyframes rocket-hover {
  0%,100% { transform: rotate(-5deg) scale(1); }
  50%      { transform: rotate(5deg) scale(1.03); }
}

/* Floating chips */
.illus-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.illus-chip--1 {
  background: var(--grad-brand);
  color: #fff;
  top: 40px; right: -20px;
  animation: chip-float 4s ease-in-out infinite;
}
.illus-chip--2 {
  background: var(--grad-orange);
  color: #fff;
  bottom: 60px; left: -24px;
  animation: chip-float 4s ease-in-out 1s infinite;
}
.illus-chip--3 {
  background: #fff;
  color: var(--kb-navy);
  border: 1.5px solid var(--site-border);
  bottom: -10px; right: 40px;
  animation: chip-float 4s ease-in-out 2s infinite;
}
@keyframes chip-float {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-8px); }
}

/* Rings */
.illus-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,.15);
  animation: ring-pulse 4s ease-out infinite;
}
.illus-ring--1 {
  width: 420px; height: 420px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: 0s;
}
.illus-ring--2 {
  width: 490px; height: 490px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: 1s;
}
@keyframes ring-pulse {
  0%   { opacity:.6; transform: translate(-50%,-50%) scale(1); }
  100% { opacity:0;  transform: translate(-50%,-50%) scale(1.2); }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  SERVICES SECTION                                        ║
   ╚══════════════════════════════════════════════════════════╝ */
.services-section {
  padding: 100px 0;
  background: var(--site-white);
}

.section-header {
  max-width: 580px;
  margin: 0 auto 60px;
}
.section-pill {
  display: inline-block;
  background: var(--kb-blue-pale);
  color: var(--kb-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--site-text);
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-sub {
  font-size: 16px;
  color: var(--site-text-muted);
  margin: 0;
}

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

.service-card {
  position: relative;
  background: var(--site-bg);
  border: 1.5px solid var(--site-border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: all 0.35s var(--ease-out-expo);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.is-rtl .service-card::before { transform-origin: right; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(37,99,235,.15);
  background: var(--site-white);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--kb-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--kb-blue);
  transition: all 0.3s var(--ease-bounce);
}
.service-card:hover .service-card__icon {
  background: var(--grad-brand);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.service-card__body { flex: 1; }
.service-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--site-text);
  margin-bottom: 6px;
}
.service-card__desc {
  font-size: 14px;
  color: var(--site-text-muted);
  line-height: 1.6;
  margin: 0;
}

.service-card__arrow {
  font-size: 20px;
  color: var(--site-border);
  transition: color 0.2s, transform 0.2s;
}
.service-card:hover .service-card__arrow {
  color: var(--kb-blue);
  transform: translateX(4px);
}
.is-rtl .service-card:hover .service-card__arrow { transform: translateX(-4px); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  STATS SECTION                                           ║
   ╚══════════════════════════════════════════════════════════╝ */
.stats-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.stats-section .section-header {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-card);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-out-expo);
}
.stat-item:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-4px);
}

.stat-value {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
}

.stat-line {
  width: 40px; height: 3px;
  background: var(--kb-orange);
  border-radius: 99px;
  margin: 0 auto;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CTA SECTION                                             ║
   ╚══════════════════════════════════════════════════════════╝ */
.cta-section {
  padding: 80px 0 100px;
  background: var(--site-bg);
}

.cta-card {
  position: relative;
  background: var(--site-white);
  border: 1.5px solid var(--site-border);
  border-radius: 28px;
  padding: 60px 56px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
}
.cta-shape-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent);
  top: -80px; right: -80px;
}
.cta-shape-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(249,115,22,.08), transparent);
  bottom: -50px; left: 10%;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}

.cta-rocket {
  width: 100px; height: 100px;
  flex-shrink: 0;
  animation: rocket-hover 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(249,115,22,.25));
}
.cta-rocket img { width: 100%; height: 100%; object-fit: contain; }

.cta-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--site-text);
  margin-bottom: 10px;
}
.cta-sub {
  font-size: 16px;
  color: var(--site-text-muted);
  margin-bottom: 28px;
}
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: var(--shadow-glow);
}
.btn-cta-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37,99,235,.4);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--site-text);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--site-border);
  transition: all 0.3s var(--ease-out-expo);
}
.btn-cta-secondary:hover {
  color: var(--kb-blue);
  border-color: var(--kb-blue);
  background: var(--kb-blue-pale);
  transform: translateY(-2px);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  FOOTER                                                  ║
   ╚══════════════════════════════════════════════════════════╝ */
.site-footer {
  background: var(--site-text); /* #0F172A */
  color: rgba(255,255,255,.8);
  padding-top: 0;
  position: relative;
}

.footer-wave {
  line-height: 0;
  margin-bottom: -1px;
  margin-top: 1px;
  /*transform: rotate(180deg);*/
}
.footer-wave svg { width: 100%; height: 100px; display: block; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo img {
  height: 44px;
  filter: brightness(1) invert(1);
  margin-bottom: 16px;
}
.footer-about {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.6);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--kb-orange);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links-col a:hover { color: var(--kb-orange); padding-left: 4px; }
.is-rtl .footer-links-col a:hover { padding-left: 0; padding-right: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer-tagline { color: rgba(255,255,255,.5); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  ANIMATION UTILITIES                                     ║
   ╚══════════════════════════════════════════════════════════╝ */
.reveal-up,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
  transition-delay: var(--delay, 0ms);
}
.reveal-right {
  transform: translateX(40px);
}
.is-rtl .reveal-right {
  transform: translateX(-40px);
}
.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  RTL OVERRIDES                                           ║
   ╚══════════════════════════════════════════════════════════╝ */
.is-rtl .header-logo { flex-direction: row-reverse; }
.is-rtl .logo-text { align-items: flex-end; }
.is-rtl .header-inner { flex-direction: row-reverse; }
.is-rtl .header-actions { flex-direction: row-reverse; }
.is-rtl .lang-switcher { padding: 3px 10px 3px 3px; }
.is-rtl .lang-options { flex-direction: row-reverse; }
.is-rtl .hero-inner { direction: rtl; }
.is-rtl .hero-cta { flex-direction: row-reverse; }
.is-rtl .service-card::before { transform-origin: right; }
.is-rtl .footer-top { direction: rtl; }
.is-rtl .footer-bottom { flex-direction: row-reverse; }
.is-rtl .mobile-nav ul { direction: rtl; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  RESPONSIVE                                              ║
   ╚══════════════════════════════════════════════════════════╝ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
  .btn-site-cta { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 0 40px;
    text-align: center;
  }
  .is-rtl .hero-inner { text-align: center; }
  .hero-sub { max-width: 100%; margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .is-rtl .hero-cta { justify-content: center; }
  .hero-scroll-hint { justify-content: center; }
  .hero-illustration { order: -1; }
  .illus-card--main { width: 280px; height: 280px; }
  .illus-rocket { width: 130px; height: 130px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .cta-card      { padding: 36px 24px; }
  .cta-content   { flex-direction: column; text-align: center; gap: 24px; }
  .is-rtl .cta-content { text-align: center; }
  .cta-buttons   { justify-content: center; }
  .footer-top    { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline { letter-spacing: -1px; }
  .illus-chip { display: none; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CONTACT PAGE                                            ║
   ╚══════════════════════════════════════════════════════════╝ */

/* Hero */
.contact-hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: var(--site-white);
  overflow: hidden;
  text-align: center;
}
.contact-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.contact-orb-1 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(37,99,235,.1), transparent);
  top: -60px; left: -60px;
}
.contact-orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(249,115,22,.08), transparent);
  bottom: -40px; right: 5%;
}
.contact-hero-inner { position: relative; z-index: 1; }
.contact-hero-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--site-text);
  margin: 14px 0 16px;
}
.contact-hero-sub {
  font-size: 16px;
  color: var(--site-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Body layout */
.contact-body {
  background: var(--site-bg);
  padding: 60px 0 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Info Panel ─────────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--site-white);
  border: 1.5px solid var(--site-border);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.contact-info-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(37,99,235,.15);
}

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-icon--blue   { background: #EFF6FF; color: var(--kb-blue); }
.contact-info-icon--orange { background: #FFF7ED; color: var(--kb-orange); }
.contact-info-icon--green  { background: #F0FDF4; color: #16A34A; }
.contact-info-icon--purple { background: #F5F3FF; color: #7C3AED; }

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--site-text-muted);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--site-text);
  text-decoration: none;
  transition: color .2s;
}
a.contact-info-value:hover { color: var(--kb-blue); }

.contact-social-row {
  background: var(--site-white);
  border: 1.5px solid var(--site-border);
  border-radius: var(--radius-card);
  padding: 20px;
}
.contact-social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--site-bg);
  border: 1.5px solid var(--site-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--site-text-muted);
  transition: all 0.25s var(--ease-out-expo);
}
.contact-social-btn:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form-wrap { position: relative; }

.contact-form-card {
  background: var(--site-white);
  border: 1.5px solid var(--site-border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--site-text);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--site-border);
}

.form-group-contact { margin-bottom: 20px; }
.contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--site-text);
  margin-bottom: 7px;
}
.required-star { color: #EF4444; font-size: 14px; }
.optional-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--site-text-muted);
  background: var(--site-bg);
  border: 1px solid var(--site-border);
  padding: 1px 8px;
  border-radius: 99px;
}

.contact-input-wrap {
  position: relative;
}
.contact-input-icon {
  position: absolute;
  top: 50%; left: 14px;
  transform: translateY(-50%);
  color: var(--site-text-muted);
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}
.is-rtl .contact-input-icon { left: auto; right: 14px; }

.contact-input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 44px;
  border: 1.5px solid var(--site-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--site-text);
  background: var(--site-white);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.is-rtl .contact-input { padding: 0 44px 0 14px; }

.contact-input:focus {
  border-color: var(--kb-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.contact-input::placeholder { color: #94A3B8; }

.contact-select { cursor: pointer; }

.contact-textarea {
  height: auto;
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.6;
}
/* No icon for textarea */
.contact-textarea { padding-left: 14px !important; }
.is-rtl .contact-textarea { padding-right: 14px !important; }

/* Captcha */
.captcha-wrap .contact-input-icon { top: 50%; }
.captcha-input { max-width: 160px; }
.captcha-eq {
  font-size: 16px;
  font-weight: 800;
  color: var(--kb-blue);
  background: var(--kb-blue-pale);
  padding: 2px 10px;
  border-radius: 6px;
}
.captcha-hint {
  font-size: 12px;
  color: var(--site-text-muted);
  margin: 6px 0 0;
}

/* Submit button */
.btn-contact-submit {
  width: 100%;
  height: 52px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: var(--grad-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: var(--shadow-glow);
  margin-top: 8px;
}
.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37,99,235,.4);
}

/* Success banner */
.contact-success-banner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-card);
  padding: 32px;
  margin-bottom: 24px;
}
.contact-success-icon {
  font-size: 44px;
  color: #16A34A;
  flex-shrink: 0;
  line-height: 1;
}
.contact-success-banner h4 {
  font-weight: 700;
  color: #15803D;
  margin-bottom: 6px;
}
.contact-success-banner p {
  color: #166534;
  margin: 0;
}

/* Footer contact items */
.footer-contact-item {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-contact-item:hover { color: var(--kb-orange); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .contact-info-card { flex: 1 1 calc(50% - 8px); }
  .contact-social-row { width: 100%; }
}
@media (max-width: 580px) {
  .contact-form-card { padding: 24px 18px; }
  .contact-info-card { flex: 1 1 100%; }
  .contact-success-banner { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LANG SWITCHER — hide in header on mobile (shown only in drawer)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .lang-switcher--desktop { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATIC PAGE LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.static-page-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f5f3ff 100%);
}
.static-page-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.static-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .35;
}
.static-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2563EB33 0%, transparent 70%);
  top: -100px; right: -80px;
}
.static-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #F9731633 0%, transparent 70%);
  bottom: -80px; left: -60px;
}
.static-page-hero-inner { position: relative; z-index: 1; }
.static-breadcrumb { margin-bottom: 1rem; }
.static-breadcrumb .breadcrumb { font-size: .875rem; }
.static-breadcrumb .breadcrumb-item a { color: var(--kb-blue); text-decoration: none; }
.static-breadcrumb .breadcrumb-item a:hover { text-decoration: underline; }
.static-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--kb-navy);
  margin: 0;
}
.static-page-body { padding: 60px 0 80px; }
.static-page-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 4px 32px rgba(37,99,235,.08);
}
.static-page-content h1,
.static-page-content h2 { color: var(--kb-navy); margin-top: 1.5rem; margin-bottom: .75rem; }
.static-page-content h3 { color: var(--kb-blue); margin-top: 1.25rem; margin-bottom: .5rem; }
.static-page-content p  { color: #374151; line-height: 1.8; }
.static-page-content a  { color: var(--kb-blue); }
.static-page-content ul,
.static-page-content ol { color: #374151; line-height: 1.8; padding-left: 1.5rem; }
.static-page-content blockquote {
  border-left: 4px solid var(--kb-blue);
  background: #f0f4ff;
  padding: .75rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
  color: var(--kb-navy);
}
.is-rtl .static-page-content blockquote {
  border-left: none;
  border-right: 4px solid var(--kb-blue);
  border-radius: 8px 0 0 8px;
}

@media (max-width: 767px) {
  .static-page-hero { padding: 80px 0 40px; }
  .static-page-content { padding: 28px 20px; border-radius: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CREATIVE SERVICES — BENTO GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.services-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.services-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.svc-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.svc-bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.svc-bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #2563EB14 0%, transparent 70%);
  top: -100px; right: -120px;
}
.svc-bg-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #F9731614 0%, transparent 70%);
  bottom: -80px; left: -80px;
}

/* ── Bento grid ──────────────────────────────────────────────────────────── */
.svc-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
@media (max-width: 991px) { .svc-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .svc-bento { grid-template-columns: 1fr; } }

/* ── Bento card ──────────────────────────────────────────────────────────── */
.svc-bento__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  border: 1.5px solid #e8edf5;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  cursor: default;
}
.svc-bento__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.1), 0 0 0 1.5px var(--svc-color, #2563EB);
  border-color: transparent;
  cursor: pointer;
}

/* Glow behind card on hover */
.svc-bento__glow {
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 30% 50%, var(--svc-color, #2563EB) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 0;
}
.svc-bento__card:hover .svc-bento__glow { opacity: .06; }

/* Card number */
.svc-bento__num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--svc-color, #2563EB);
  opacity: .07;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  z-index: 0;
}
.is-rtl .svc-bento__num { right: auto; left: 24px; }

/* Icon bubble */
.svc-bento__icon-wrap {
  position: relative; z-index: 1;
  width: 60px; height: 60px; border-radius: 16px;
  background: color-mix(in srgb, var(--svc-color, #2563EB) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s ease, background .3s ease;
}
.svc-bento__card:hover .svc-bento__icon-wrap {
  background: var(--svc-color, #2563EB);
  transform: scale(1.08) rotate(-4deg);
}
.svc-bento__icon-wrap .bi {
  font-size: 1.6rem;
  color: var(--svc-color, #2563EB);
  transition: color .3s ease;
}
.svc-bento__card:hover .svc-bento__icon-wrap .bi { color: #fff; }

/* Body text */
.svc-bento__body { position: relative; z-index: 1; }
.svc-bento__title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--kb-navy, #1B3A8C);
  margin-bottom: .5rem;
}
.svc-bento__desc {
  font-size: .9rem; color: #64748b; line-height: 1.7;
  margin: 0;
}

/* Arrow hint */
.svc-bento__arrow {
  position: absolute; bottom: 20px; right: 24px;
  font-size: 1.1rem;
  color: var(--svc-color, #2563EB);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 1;
}
.svc-bento__card:hover .svc-bento__arrow { opacity: 1; transform: translateX(0); }
.is-rtl .svc-bento__arrow { right: auto; left: 24px; }
.is-rtl .svc-bento__card:hover .svc-bento__arrow { transform: translateX(0); }

/* First card slightly featured */
.svc-bento__card:first-child {
  border-color: color-mix(in srgb, var(--svc-color, #2563EB) 20%, transparent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PORTFOLIO SECTION (Homepage + Portfolio Page)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Make bento cards anchor-styled (no underline) */
a.svc-bento__card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ── Homepage portfolio teaser ──────────────────────────────────────────── */
.portfolio-section {
  position: relative;
  padding: 100px 0;
  background: #f8faff;
}
.portfolio-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ptf-orb-1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%); top: -100px; left: -100px; }
.ptf-orb-2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,.05) 0%, transparent 70%); bottom: -50px; right: -50px; }
.portfolio-section .container-xl { position: relative; z-index: 1; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.client-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(27,58,140,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.client-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #7C3AED);
  opacity: 0;
  transition: opacity .3s ease;
}
.client-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(27,58,140,.12); border-color: rgba(37,99,235,.2); }
.client-card:hover::before { opacity: 1; }

.client-card__logo {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(27,58,140,.08);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9;
}
.client-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.client-card__initials {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1B3A8C, #2563EB);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.client-card__body { flex: 1; min-width: 0; }
.client-card__name { font-size: 1.05rem; font-weight: 700; color: var(--kb-navy, #1B3A8C); margin: 0 0 4px; }
.client-card__industry { font-size: .8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 8px; }
.client-card__desc { font-size: .88rem; color: #64748b; line-height: 1.6; margin: 0 0 10px; }
.client-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.client-card__arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(37,99,235,.08);
  display: flex; align-items: center; justify-content: center;
  color: #2563EB;
  font-size: .85rem;
  transition: background .3s ease, transform .3s ease;
  align-self: center;
}
.client-card:hover .client-card__arrow { background: #2563EB; color: #fff; transform: translateX(4px); }
.is-rtl .client-card:hover .client-card__arrow { transform: translateX(-4px); }

/* ── PRODUCTS SECTION (homepage teaser) ─────────────────────────────────── */
.products-section {
  padding: 100px 0;
  background: #fff;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}
.product-card {
  background: #f8faff;
  border-radius: 16px;
  border: 1px solid rgba(27,58,140,.08);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(27,58,140,.1); }
.product-card__img { height: 180px; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 24px; }
.product-card__cat {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(37,99,235,.08);
  color: #2563EB;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.product-card__name { font-size: 1.15rem; font-weight: 700; color: var(--kb-navy, #1B3A8C); margin: 0 0 6px; }
.product-card__tagline { font-size: .9rem; color: #2563EB; font-weight: 500; margin: 0 0 8px; }
.product-card__desc { font-size: .88rem; color: #64748b; line-height: 1.6; margin: 0; }
.product-card__stack { margin-top: 12px; }
.product-card__demo {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: .85rem; font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  transition: color .3s ease;
}
.product-card__demo:hover { color: #1B3A8C; }
.tech-badge-str {
  font-size: .78rem;
  color: #64748b;
  background: rgba(37,99,235,.06);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

/* ── btn-outline-site ────────────────────────────────────────────────────── */
.btn-outline-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid rgba(37,99,235,.3);
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  transition: all .3s ease;
  background: transparent;
}
.btn-outline-site:hover {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PORTFOLIO FULL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.ptf-list-section { padding: 80px 0; }
.ptf-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.ptf-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(27,58,140,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.ptf-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #F97316);
  opacity: 0;
  transition: opacity .3s ease;
}
.ptf-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(27,58,140,.12); }
.ptf-card:hover::after { opacity: 1; }

.ptf-card__logo-wrap {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 16px;
  border: 1px solid rgba(27,58,140,.1);
  overflow: hidden;
  background: #f8faff;
  display: flex; align-items: center; justify-content: center;
}
.ptf-card__logo-wrap img { width: 100%; height: 100%; object-fit: contain; }

.ptf-card__content { flex: 1; min-width: 0; }
.ptf-card__name { font-size: 1.2rem; font-weight: 700; color: var(--kb-navy, #1B3A8C); margin: 0 0 4px; }
.ptf-card__industry { font-size: .78rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 10px; }
.ptf-card__desc { font-size: .9rem; color: #64748b; line-height: 1.65; margin: 0 0 14px; }
.ptf-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptf-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--tag-color, #2563EB) 10%, transparent);
  color: var(--tag-color, #2563EB);
  border: 1px solid color-mix(in srgb, var(--tag-color, #2563EB) 20%, transparent);
}

.ptf-card__arrow {
  flex-shrink: 0;
  align-self: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(37,99,235,.07);
  display: flex; align-items: center; justify-content: center;
  color: #2563EB;
  transition: background .3s ease, transform .3s ease;
}
.ptf-card:hover .ptf-card__arrow { background: #2563EB; color: #fff; transform: translateX(4px); }
.is-rtl .ptf-card:hover .ptf-card__arrow { transform: translateX(-4px); }

/* ═══════════════════════════════════════════════════════════════════════════
   CASE STUDY / CLIENT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.case-study-hero .static-page-hero__inner { max-width: 100%; }
.case-study-hero__row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.case-study-hero__logo {
  flex-shrink: 0;
  width: 100px; height: 100px;
  border-radius: 20px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.case-study-hero__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.case-study-hero__initials {
  width: 100px; height: 100px;
  border-radius: 20px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}
.case-study-hero__text { flex: 1; }
.case-study-hero__industry {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}

.case-study-content-section { padding: 80px 0; }
.case-study-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 40px rgba(27,58,140,.07);
  border: 1px solid rgba(27,58,140,.06);
}

/* Testimonial */
.testimonial-section { padding: 60px 0 80px; background: #f8faff; }
.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 40px rgba(27,58,140,.08);
  border: 1px solid rgba(27,58,140,.06);
  position: relative;
  text-align: center;
}
.testimonial-card__quote-icon {
  font-size: 4rem;
  color: rgba(37,99,235,.15);
  line-height: 1;
  margin-bottom: 24px;
}
.testimonial-card__text {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.8;
  font-style: italic;
  margin: 0 0 24px;
  border: none;
  padding: 0;
}
.testimonial-card__author {
  font-style: normal;
  font-size: .9rem;
  font-weight: 600;
  color: #2563EB;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-detail-hero__row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
.svc-detail-hero__icon-wrap {
  flex-shrink: 0;
  width: 90px; height: 90px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--svc-color, #2563EB) 20%, rgba(255,255,255,.1));
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: #fff;
}
.svc-clients-section { padding: 80px 0; background: #f8faff; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCTS FULL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.products-list-section { padding: 80px 0; }
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.product-full-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(27,58,140,.08);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-full-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(27,58,140,.1); }
.product-full-card__img { height: 220px; overflow: hidden; }
.product-full-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-full-card:hover .product-full-card__img img { transform: scale(1.04); }
.product-full-card__body { padding: 28px; }
.product-full-card__header { margin-bottom: 16px; }
.product-full-card__name { font-size: 1.3rem; font-weight: 700; color: var(--kb-navy, #1B3A8C); margin: 8px 0 4px; }
.product-full-card__tagline { font-size: .95rem; color: #2563EB; font-weight: 500; margin: 0; }
.product-full-card__desc { font-size: .9rem; color: #64748b; line-height: 1.7; margin: 0; }
.is-rtl .breadcrumb-item+.breadcrumb-item::before{
  float: right;
  padding-left: var(--bs-breadcrumb-item-padding-x);
  padding-right: unset;
}
.is-rtl .breadcrumb-item+.breadcrumb-item{
  padding-right: var(--bs-breadcrumb-item-padding-x);
  padding-left: unset;
}
