/*
Theme Name: WSO Weblix 3D Pro
Theme URI: https://www.weblixso.com
Author: WSO Weblix Engineering Team
Author URI: https://www.weblixso.com
Description: Ultra-modern, 3D-rich custom WordPress theme for WSO Weblix (ويبلكس). Features Deep Black (#0A0A0A) & Vibrant Orange (#ED731B) 3D glassmorphic design, persistent Arabic/English RTL/LTR support, mouse-interactive 3D hero & perspective cards, custom 3D SVG icons, AJAX smooth navigation, Elementor Pro compatibility, live project cost calculator, 98+ PageSpeed & 100/100 SEO optimization.
Version: 6.0.1
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wso-weblix
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, rtl-language-support, theme-options, translation-ready, e-commerce, portfolio, full-width-template
*/

:root {
  --wso-bg-deep: #0A0A0A;
  --wso-bg-surface: #111114;
  --wso-bg-elevated: #18181D;
  --wso-bg-glass: rgba(18, 18, 23, 0.78);
  --wso-orange: #ED731B;
  --wso-orange-bright: #FF6B00;
  --wso-orange-glow: rgba(237, 115, 27, 0.42);
  --wso-white: #FFFFFF;
  --wso-text-secondary: #A1A1AA;
  --wso-text-muted: #71717A;
  --wso-border: rgba(255, 255, 255, 0.09);
  --wso-border-orange: rgba(237, 115, 27, 0.48);
  --wso-radius-sm: 12px;
  --wso-radius-md: 18px;
  --wso-radius-lg: 24px;
  --wso-radius-xl: 32px;
  --wso-shadow-3d: 0 26px 52px -12px rgba(0, 0, 0, 0.88), 0 0 32px -6px rgba(237, 115, 27, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  --wso-transition: cubic-bezier(0.16, 1, 0.3, 1);
  --wso-font-en: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --wso-font-ar: 'Cairo', 'Tajawal', sans-serif;
}

body.wso-theme-light {
  --wso-bg-deep: #F8FAFC;
  --wso-bg-surface: #FFFFFF;
  --wso-bg-elevated: #F1F5F9;
  --wso-bg-glass: rgba(255, 255, 255, 0.88);
  --wso-white: #0A0A0A;
  --wso-text-secondary: #475569;
  --wso-text-muted: #64748B;
  --wso-border: rgba(10, 10, 10, 0.09);
  --wso-shadow-3d: 0 20px 40px -15px rgba(10, 10, 10, 0.08), 0 0 24px -4px rgba(237, 115, 27, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--wso-bg-deep);
  color: var(--wso-white);
  font-family: var(--wso-font-en);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"],
body.rtl {
  font-family: var(--wso-font-ar);
  direction: rtl;
  text-align: right;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.28s var(--wso-transition);
}

.wso-container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   1. PRELOADER / 3D SPLASH SCREEN
   ========================================================================== */
.wso-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #18120E 0%, #0A0A0A 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--wso-transition), visibility 0.4s var(--wso-transition);
  animation: wsoAutoDismissPreloader 1.5s forwards;
  pointer-events: auto;
}

@keyframes wsoAutoDismissPreloader {

  0%,
  80% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.wso-preloader.is-loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.wso-preloader__core {
  position: relative;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wso-preloader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: var(--wso-orange-bright);
  border-right-color: rgba(237, 115, 27, 0.35);
  animation: wsoSpin 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
  box-shadow: 0 0 28px var(--wso-orange-glow);
}

.wso-preloader__ring--inner {
  inset: 14px;
  border-top-color: transparent;
  border-bottom-color: var(--wso-white);
  animation-direction: reverse;
  animation-duration: 1.8s;
}

.wso-preloader__logo {
  animation: wsoPulse3D 1.8s ease-in-out infinite;
}

.wso-preloader__bar-wrap {
  margin-top: 1.75rem;
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.wso-preloader__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--wso-orange), var(--wso-orange-bright));
  box-shadow: 0 0 12px var(--wso-orange-bright);
  transition: width 0.2s ease;
}

@keyframes wsoSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes wsoPulse3D {

  0%,
  100% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 10px rgba(237, 115, 27, 0.3));
  }

  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 24px rgba(255, 107, 0, 0.8));
  }
}

/* ==========================================================================
   2. BALANCED 3D GLASSMORPHIC HEADER & CAPSULE MENU + MOBILE DRAWER
   ========================================================================== */
.wso-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 82px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--wso-border);
  transition: all 0.3s var(--wso-transition);
}

.wso-header.is-scrolled {
  height: 72px;
  background: var(--wso-bg-glass);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65);
  border-bottom-color: rgba(237, 115, 27, 0.22);
}

.wso-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.wso-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* .wso-logo::after,
.wso-preloader__core::after,
.wso-footer .wso-logo-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 25%;
  height: 75%;
  background: linear-gradient(90deg,
      transparent 0%, */
/* rgba(255, 107, 0, 0.15) 20%, */
/* rgba(255, 255, 255, 0.95) 1%, */
/* rgba(255, 107, 0, 0.15) 80%, */
/* transparent 50%);
  transform: skewX(-22deg);
  animation: wsoLogoShimmer 1.5s linear infinite;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 0 6px rgba(255, 107, 0, 0.7));
}

@keyframes wsoLogoShimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
} */


.wso-logo__img {
  height: 44px;
  width: auto;
  display: block;
}

/* Balanced Desktop Pill Navigation */
.wso-nav {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--wso-border);
  border-radius: 999px;
  padding: 0.32rem 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wso-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wso-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wso-text-secondary);
  white-space: nowrap;
  transition: all 0.25s var(--wso-transition);
}

.wso-nav__link:hover,
.wso-nav__link.is-active {
  color: var(--wso-white);
  background: rgba(237, 115, 27, 0.16);
  box-shadow: 0 0 16px rgba(237, 115, 27, 0.22);
}

.wso-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Mobile Hamburger Button */
.wso-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wso-border);
  color: var(--wso-white);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.wso-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--wso-white);
  border-radius: 2px;
  transition: all 0.3s var(--wso-transition);
}

.wso-burger.is-active {
  border-color: var(--wso-orange-bright);
  background: rgba(237, 115, 27, 0.15);
}

.wso-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.wso-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.wso-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Ultra-Modern 3D Glassmorphic Mobile Drawer */
.wso-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s var(--wso-transition), visibility 0.38s var(--wso-transition);
}

.wso-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wso-mobile-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: min(88vw, 360px);
  height: 100%;
  background: linear-gradient(165deg, #16161C 0%, #0A0A0D 100%);
  border-left: 1px solid var(--wso-border-orange);
  border-right: none;
  padding: 4.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body.rtl .wso-mobile-drawer__panel,
body[dir="rtl"] .wso-mobile-drawer__panel,
html[dir="rtl"] .wso-mobile-drawer__panel {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--wso-border-orange);
  transform: translateX(-100%);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.85);
}

.wso-mobile-drawer.is-open .wso-mobile-drawer__panel {
  transform: translateX(0) !important;
}

/* Close button inside drawer */
.wso-mobile-drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--wso-border);
  color: var(--wso-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.25s ease;
  z-index: 10;
}

body.rtl .wso-mobile-drawer__close,
body[dir="rtl"] .wso-mobile-drawer__close,
html[dir="rtl"] .wso-mobile-drawer__close {
  right: auto;
  left: 1.25rem;
}

.wso-mobile-drawer__close:hover,
.wso-mobile-drawer__close:active {
  background: rgba(237, 115, 27, 0.25);
  border-color: var(--wso-orange-bright);
}

.wso-mobile-drawer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 0;
}

.wso-mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  min-height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--wso-border);
  font-weight: 700;
  font-size: 1rem;
  color: var(--wso-white);
  text-decoration: none;
  transition: all 0.25s var(--wso-transition);
}

.wso-mobile-drawer__link:hover,
.wso-mobile-drawer__link:active {
  border-color: var(--wso-orange-bright);
  background: rgba(237, 115, 27, 0.14);
}

.wso-drawer-arrow {
  color: var(--wso-orange-bright);
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

body:not(.rtl) .wso-mobile-drawer__link:hover .wso-drawer-arrow {
  transform: translateX(4px);
}

body.rtl .wso-mobile-drawer__link:hover .wso-drawer-arrow {
  transform: translateX(-4px);
}

/* ==========================================================================
   INFINITE AUTO-SCROLLING MARQUEE — COUNTRIES BELT (Dual Row)
   ========================================================================== */
.wso-countries-belt {
  background: #0E0E12;
  border-top: 1px solid var(--wso-border);
  border-bottom: 1px solid var(--wso-border);
  padding: 1.5rem 0 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wso-countries-belt__title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--wso-orange-bright);
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wso-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.wso-marquee__track {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  animation: wsoMarqueeScroll 180s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.wso-marquee:hover .wso-marquee__track {
  animation-play-state: paused;
}

/* Reverse direction row */
.wso-marquee--reverse .wso-marquee__track {
  animation-name: wsoMarqueeScrollReverse;
}

/* Slow down specific marquee tracks */
.wso-marquee__track--slow {
  animation-duration: 180s !important;
}

/* Footer Hover State and Animations */
.wso-footer h4 {
  color: var(--wso-orange-bright) !important;
  transition: transform 0.3s ease;
}

.wso-footer h4:hover {
  transform: translateY(-2px);
}

.wso-footer a {
  color: var(--wso-text-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.wso-footer a:hover {
  color: var(--wso-orange-bright) !important;
  transform: translateX(4px);
}

body.rtl .wso-footer a:hover,
body[dir="rtl"] .wso-footer a:hover,
html[dir="rtl"] .wso-footer a:hover {
  transform: translateX(-4px);
}

.wso-footer ul li a {
  position: relative;
  transition: all 0.25s ease;
}

.wso-footer ul li a:hover {
  color: var(--wso-orange-bright) !important;
  text-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
}

/* RTL: flip directions */
body.rtl .wso-marquee:not(.wso-marquee--reverse) .wso-marquee__track,
body[dir="rtl"] .wso-marquee:not(.wso-marquee--reverse) .wso-marquee__track {
  animation-name: wsoMarqueeScrollRTL;
}

body.rtl .wso-marquee--reverse .wso-marquee__track,
body[dir="rtl"] .wso-marquee--reverse .wso-marquee__track {
  animation-name: wsoMarqueeScrollRTLReverse;
}

.wso-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--wso-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wso-text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.wso-marquee__item:hover {
  border-color: var(--wso-orange-bright);
  background: rgba(237, 115, 27, 0.12);
  color: var(--wso-white);
  transform: scale(1.06);
}

/* Partners Section Marquee overrides */
.wso-partners-section {
  overflow: hidden;
}

.wso-partners-section .wso-marquee {
  margin-bottom: 1.5rem;
}

.wso-partners-section .wso-marquee:last-child {
  margin-bottom: 0;
}

.wso-marquee__track--slow {
  animation-duration: 180s !important;
}

.wso-marquee__item--partner {
  padding: 0.7rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 14px;
  background: var(--wso-bg-surface);
}

@keyframes wsoMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes wsoMarqueeScrollReverse {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

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

@keyframes wsoMarqueeScrollRTL {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(50%, 0, 0);
  }
}

@keyframes wsoMarqueeScrollRTLReverse {
  0% {
    transform: translate3d(50%, 0, 0);
  }

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

/* ==========================================================================
   3. 3D BUTTONS & BADGES
   ========================================================================== */
.wso-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  border-radius: var(--wso-radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--wso-transition);
  position: relative;
}

.wso-btn--primary {
  background: linear-gradient(135deg, var(--wso-orange-bright) 0%, var(--wso-orange) 100%);
  color: #0A0A0A;
  box-shadow: 0 10px 24px -6px var(--wso-orange-glow), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.wso-btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px -4px rgba(255, 107, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.65);
}

.wso-btn--glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--wso-white);
  border-color: var(--wso-border);
  backdrop-filter: blur(12px);
}

.wso-btn--glass:hover {
  border-color: var(--wso-orange);
  background: rgba(237, 115, 27, 0.14);
  transform: translateY(-2px);
}

.wso-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  background: rgba(237, 115, 27, 0.13);
  border: 1px solid var(--wso-border-orange);
  color: var(--wso-orange-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}

/* ==========================================================================
   4. MOUSE-INTERACTIVE 3D HERO SECTION & GYROSCOPIC 3D STAGE
   ========================================================================== */
.wso-hero {
  position: relative;
  min-height: 92vh;
  padding: 8.5rem 0 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 1400px;
}

.wso-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.wso-hero__glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 115, 27, 0.24) 0%, rgba(10, 10, 10, 0) 70%);
  top: -120px;
  right: -100px;
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
}

.wso-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.wso-hero__title {
  font-size: clamp(2.35rem, 4.5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 1.35rem;
}

.wso-text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #FF944D 45%, #FF6B00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wso-hero__subtitle {
  font-size: 1.12rem;
  color: var(--wso-text-secondary);
  max-width: 620px;
  margin-bottom: 2.1rem;
}

/* Interactive 3D Gyroscope & Isometric Cube Stage */
.wso-3d-stage {
  position: relative;
  height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.wso-3d-gyro {
  position: relative;
  width: 360px;
  height: 360px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wso-3d-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(237, 115, 27, 0.65);
  box-shadow: 0 0 35px rgba(237, 115, 27, 0.4), inset 0 0 25px rgba(237, 115, 27, 0.25);
  transform-style: preserve-3d;
}

.wso-3d-ring--1 {
  animation: wsoOrbit1 10s linear infinite;
}

.wso-3d-ring--2 {
  inset: 24px;
  border-color: rgba(255, 255, 255, 0.45);
  border-style: dashed;
  animation: wsoOrbit2 13s linear infinite reverse;
}

.wso-3d-ring--3 {
  inset: 52px;
  border-color: var(--wso-orange-bright);
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.6);
  animation: wsoOrbit3 8s linear infinite;
}

.wso-3d-core-sphere {
  width: 175px;
  height: 175px;
  border-radius: 42px;
  background: radial-gradient(circle at 30% 25%, #FFA566 0%, #FF6B00 48%, #181210 95%);
  box-shadow: 0 28px 75px rgba(255, 107, 0, 0.65), inset -14px -14px 30px rgba(0, 0, 0, 0.85), inset 8px 8px 20px rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(55px) rotateZ(15deg);
  animation: wsoCorePulse 4s ease-in-out infinite;
}

@keyframes wsoOrbit1 {
  0% {
    transform: rotateX(62deg) rotateY(15deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(62deg) rotateY(15deg) rotateZ(360deg);
  }
}

@keyframes wsoOrbit2 {
  0% {
    transform: rotateX(25deg) rotateY(68deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(25deg) rotateY(68deg) rotateZ(360deg);
  }
}

@keyframes wsoOrbit3 {
  0% {
    transform: rotateX(-55deg) rotateY(-30deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(-55deg) rotateY(-30deg) rotateZ(360deg);
  }
}

@keyframes wsoCorePulse {

  0%,
  100% {
    transform: translateZ(55px) rotateZ(12deg) scale(1);
  }

  50% {
    transform: translateZ(80px) rotateZ(-12deg) scale(1.12);
  }
}

.wso-float-card {
  position: absolute;
  background: rgba(18, 18, 24, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--wso-border-orange);
  padding: 0.95rem 1.25rem;
  border-radius: var(--wso-radius-md);
  box-shadow: var(--wso-shadow-3d);
  transform: translateZ(75px);
  transition: transform 0.3s ease;
}

.wso-float-card--1 {
  top: 4%;
  left: 0;
}

.wso-float-card--2 {
  bottom: 8%;
  right: 0;
}

.wso-float-card--3 {
  top: 62%;
  left: -4%;
}

/* ==========================================================================
   5. TRUE 3D PERSPECTIVE CARDS & ICON WRAPPERS
   ========================================================================== */
.wso-section {
  padding: 5.5rem 0;
  position: relative;
}

.wso-section__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.75rem;
}

.wso-section__title {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.wso-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.85rem;
  align-items: stretch;
}

.wso-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Redesigned Balanced Bento Grid for 5 Enterprise Systems */
.wso-systems-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.wso-systems-bento>.wso-card-3d:nth-child(1),
.wso-systems-bento>.wso-card-3d:nth-child(2) {
  grid-column: span 3;
}

.wso-systems-bento>.wso-card-3d:nth-child(3),
.wso-systems-bento>.wso-card-3d:nth-child(4),
.wso-systems-bento>.wso-card-3d:nth-child(5) {
  grid-column: span 2;
}

.wso-card-3d {
  background: linear-gradient(160deg, rgba(28, 28, 36, 0.88) 0%, rgba(13, 13, 17, 0.96) 100%);
  border: 1px solid var(--wso-border);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--wso-radius-lg);
  padding: 2.15rem;
  position: relative;
  overflow: visible;
  box-shadow: var(--wso-shadow-3d);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  min-height: 100%;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.25s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.wso-card-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 107, 0, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.wso-card-3d:hover {
  border-color: var(--wso-border-orange);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.95), 0 0 36px -4px rgba(237, 115, 27, 0.32), inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.wso-card-3d:hover::before {
  opacity: 1;
}

/* 3D Icon Pedestal */
.wso-icon-3d-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(237, 115, 27, 0.18) 0%, rgba(20, 20, 26, 0.95) 100%);
  border: 1px solid rgba(237, 115, 27, 0.4);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transform: translateZ(24px);
  transition: transform 0.35s var(--wso-transition);
}

.wso-card-3d:hover .wso-icon-3d-box {
  transform: translateZ(36px) scale(1.08) rotateZ(-4deg);
  border-color: var(--wso-orange-bright);
}

.wso-card-3d__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.wso-card-3d__num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--wso-orange);
  letter-spacing: 0.08em;
  display: inline-block;
}

.wso-card-3d__title {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.wso-card-3d__desc {
  color: var(--wso-text-secondary);
  font-size: 0.94rem;
  margin-bottom: 1.35rem;
}

.wso-card-3d__features {
  list-style: none;
  margin-bottom: 1.65rem;
}

.wso-card-3d__features li {
  font-size: 0.88rem;
  color: var(--wso-text-secondary);
  padding: 0.32rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.wso-card-3d__features li::before {
  content: '◆';
  color: var(--wso-orange-bright);
  font-size: 0.72rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.wso-module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.wso-module-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wso-border);
  color: var(--wso-text-secondary);
}

/* ==========================================================================
   6. INTERACTIVE COST CALCULATOR & STATS
   ========================================================================== */
.wso-calc-wrapper {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.25rem;
  align-items: start;
}

.wso-calc-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.85rem;
}

.wso-calc-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--wso-border);
  border-radius: var(--wso-radius-md);
  padding: 1.1rem;
  cursor: pointer;
  transition: all 0.25s var(--wso-transition);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.wso-calc-chip.is-selected {
  background: rgba(237, 115, 27, 0.16);
  border-color: var(--wso-orange-bright);
  box-shadow: 0 0 24px rgba(237, 115, 27, 0.26);
}

.wso-calc-summary {
  position: sticky;
  top: 100px;
  background: linear-gradient(165deg, #191411 0%, #0E0E12 100%);
  border: 1px solid var(--wso-border-orange);
  border-radius: var(--wso-radius-lg);
  padding: 2.15rem;
  box-shadow: var(--wso-shadow-3d);
}

.wso-calc-price-tag {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--wso-orange-bright);
  line-height: 1.1;
  margin: 0.65rem 0;
}

.wso-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 320px));
  justify-content: center;
  gap: 1.25rem;
  margin: 0 auto 2rem;
  max-width: 680px;
}

/* ==========================================================================
   7. FLOATING 3D SCROLL-TO-TOP BUTTON WITH PROGRESS RING
   ========================================================================== */
.wso-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(17, 17, 22, 0.9);
  border: 1px solid var(--wso-border-orange);
  color: var(--wso-orange-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: all 0.35s var(--wso-transition);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(237, 115, 27, 0.3);
}

body.rtl .wso-scroll-top {
  right: auto;
  left: 28px;
}

.wso-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wso-scroll-top:hover {
  background: var(--wso-orange-bright);
  color: #0A0A0A;
  transform: translateY(-4px) scale(1.06);
}

.wso-scroll-top__ring {
  position: absolute;
  inset: -2px;
  width: 58px;
  height: 58px;
  transform: rotate(-90deg);
  pointer-events: none;
}

/* AJAX Top Progress Bar */
.wso-ajax-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--wso-orange), #FFFFFF, var(--wso-orange-bright));
  z-index: 10001;
  transition: width 0.35s ease, opacity 0.35s ease;
  box-shadow: 0 0 12px var(--wso-orange-bright);
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .wso-nav {
    display: none;
  }

  .wso-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .wso-systems-bento>.wso-card-3d {
    grid-column: span 3 !important;
  }
}

@media (max-width: 860px) {

  .wso-hero {
    padding: 7rem 0 3.5rem;
    min-height: auto;
  }

  .wso-hero__grid,
  .wso-calc-wrapper {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .wso-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .wso-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .wso-3d-stage {
    height: 320px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .wso-float-card--3 {
    left: 0;
  }

  .wso-systems-bento>.wso-card-3d {
    grid-column: span 6 !important;
  }

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

  .wso-header__cta-desktop {
    display: none;
  }
}

@media (max-width: 640px) {
  .wso-container {
    padding: 0 1.15rem;
  }

  .wso-section {
    padding: 3.5rem 0;
  }

  .wso-section__header {
    margin-bottom: 2rem;
  }

  .wso-section__title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  }

  .wso-hero {
    padding: 6rem 0 2.5rem !important;
    overflow: hidden;
  }

  .wso-hero .wso-hero__title {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .wso-hero .wso-hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .wso-hero .wso-hero__actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 0.75rem !important;
  }

  .wso-hero .wso-hero__actions .wso-btn {
    width: 100% !important;
    text-align: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
  }

  .wso-hero-badgess {
    margin-top: 1.75rem !important;
    padding-top: 1.25rem !important;
    width: 100%;
  }

  /* 3D Stage on Mobile - Clean Isolated Stage without overlap */
  .wso-3d-stage {
    height: 280px !important;
    width: 100% !important;
    max-width: 290px !important;
    margin: 1.5rem auto 0 !important;
    overflow: visible;
  }

  .wso-3d-gyro {
    width: 240px !important;
    height: 240px !important;
  }

  .wso-3d-core-sphere {
    width: 120px !important;
    height: 120px !important;
    border-radius: 28px !important;
  }

  .wso-3d-core-sphere img {
    width: 78px !important;
    height: 78px !important;
  }

  .wso-float-card {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.75rem !important;
    border-radius: 12px !important;
  }

  .wso-float-card--1 {
    top: -5% !important;
    left: -5% !important;
  }

  body.rtl .wso-float-card--1,
  body[dir="rtl"] .wso-float-card--1 {
    left: auto !important;
    right: -5% !important;
  }

  .wso-float-card--2 {
    bottom: -5% !important;
    right: -5% !important;
  }

  body.rtl .wso-float-card--2,
  body[dir="rtl"] .wso-float-card--2 {
    right: auto !important;
    left: -5% !important;
  }

  .wso-float-card--3 {
    display: none !important;
  }

  .wso-grid-4 {
    grid-template-columns: 1fr !important;
  }

  .wso-systems-bento {
    grid-template-columns: 1fr !important;
  }

  .wso-systems-bento>.wso-card-3d {
    grid-column: span 1 !important;
  }

  .wso-stat-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .wso-float-card {
    padding: 0.65rem 0.95rem;
    font-size: 0.8rem;
  }

  .wso-float-card--3 {
    display: none;
  }
}

/* =============================================
   ANIMATED CARDS SLIDER
   ============================================= */
.wso-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 1rem;
}

.wso-slider__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  align-items: stretch;
}

.wso-slider__slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .wso-slider__slide {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .wso-slider__slide {
    flex: 0 0 calc(100% - 0rem);
    min-width: calc(100%);
  }
}

.wso-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wso-bg-elevated);
  border: 1px solid var(--wso-border-orange);
  color: var(--wso-white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.wso-slider__btn:hover {
  background: var(--wso-orange);
  box-shadow: 0 0 18px var(--wso-orange-glow);
}

.wso-slider__btn--prev {
  left: -1.5rem;
}

.wso-slider__btn--next {
  right: -1.5rem;
}

[dir="rtl"] .wso-slider__btn--prev {
  left: auto;
  right: -1.5rem;
}

[dir="rtl"] .wso-slider__btn--next {
  right: auto;
  left: -1.5rem;
}

@media (max-width: 768px) {
  .wso-slider__btn--prev {
    left: 0;
  }

  .wso-slider__btn--next {
    right: 0;
  }

  [dir="rtl"] .wso-slider__btn--prev {
    right: 0;
    left: auto;
  }

  [dir="rtl"] .wso-slider__btn--next {
    left: 0;
    right: auto;
  }

  .wso-slider {
    padding: 0 3rem;
  }
}

/* =============================================
   CONTINUOUS AUTO-SCROLL SLIDERS
   ============================================= */
.wso-auto-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.wso-auto-slider.is-dragging {
  cursor: grabbing !important;
}

.wso-auto-slider__track {
  display: flex !important;
  gap: 1.5rem;
  width: max-content;
  align-items: stretch;
  animation: wsoAutoSliderLTR 180s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.wso-auto-slider__track--reverse {
  animation-name: wsoAutoSliderLTRReverse;
  animation-duration: 180s;
}

/* RTL Support for Arabic */
body.rtl .wso-auto-slider__track,
body[dir="rtl"] .wso-auto-slider__track,
html[dir="rtl"] .wso-auto-slider__track {
  animation-name: wsoAutoSliderRTL !important;
  animation-duration: 180s;
}

body.rtl .wso-auto-slider__track--reverse,
body[dir="rtl"] .wso-auto-slider__track--reverse,
html[dir="rtl"] .wso-auto-slider__track--reverse {
  animation-name: wsoAutoSliderRTLReverse !important;
  animation-duration: 180s;
}

/* Pause on hover */
.wso-auto-slider:hover .wso-auto-slider__track {
  animation-play-state: paused;
}

@keyframes wsoAutoSliderLTR {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes wsoAutoSliderLTRReverse {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

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

@keyframes wsoAutoSliderRTL {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(50%, 0, 0);
  }
}

@keyframes wsoAutoSliderRTLReverse {
  0% {
    transform: translate3d(50%, 0, 0);
  }

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


/* Navigation Arrow Controls */
.wso-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.wso-slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wso-border);
  color: var(--wso-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.75s ease;
  user-select: none;
}

.wso-slider-arrow:hover,
.wso-slider-arrow:active {
  background: rgba(237, 115, 27, 0.2);
  border-color: var(--wso-orange-bright);
  color: var(--wso-orange-bright);
  transform: scale(1.08);
}

/* General Auto-Slider Cards Base — Exactly Equal Heights & Alignment */
.wso-auto-slider__card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 100%;
}

.wso-auto-slider__card .wso-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.wso-auto-slider__card .wso-card-3d__title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  min-height: 2.8em;
  display: flex;
  align-items: center;
}

.wso-auto-slider__card .wso-card-3d__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--wso-text-secondary);
  min-height: 4.6em;
  margin-bottom: 1rem;
}

.wso-auto-slider__card .wso-btn {
  margin-top: auto !important;
  flex-shrink: 0;
  width: 100%;
}

/* ========================================================
   1. SERVICES SLIDER CARDS (أبعاد موحدة ومتطابقة بدقة 100% لكل كروت الخدمات)
   ======================================================== */
#wso-services-slider .wso-auto-slider__card {
  width: 370px;
  min-width: 370px;
  max-width: 370px;
  height: 530px;
  min-height: 530px;
  max-height: 530px;
  padding: 2rem 1.85rem;
}

#wso-services-slider .wso-card-3d__features {
  margin-bottom: 1.25rem;
  padding: 0;
  list-style: none;
  min-height: 115px;
}

#wso-services-slider .wso-card-3d__features li {
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 0.25rem 0;
  color: var(--wso-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  white-space: normal;
  word-break: normal;
}

/* ========================================================
   2. PORTFOLIO SLIDER CARDS (أبعاد موحدة ومتطابقة بدقة 100% لكل كروت الأعمال)
   ======================================================== */
#wso-portfolio-slider .wso-auto-slider__card {
  width: 370px;
  min-width: 370px;
  max-width: 370px;
  height: 520px;
  min-height: 520px;
  max-height: 520px;
  padding: 2.25rem 1.85rem;
}

#wso-portfolio-slider .wso-card-3d__title {
  min-height: 3.2em;
}

#wso-portfolio-slider .wso-card-3d__desc {
  min-height: 7.2em;
  margin-bottom: 1.25rem;
}

#wso-portfolio-slider .wso-module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  min-height: 76px;
  align-content: flex-start;
}


/* =============================================
   JOURNEY 4 PANELS SIDE BY SIDE (Small & Equal)
   ============================================= */
.wso-journey-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.wso-journey-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem !important;
  background: var(--wso-bg-surface);
  border: 1px solid var(--wso-border);
  border-radius: var(--wso-radius-md);
  transition: all 0.35s ease;
  height: 100%;
  box-sizing: border-box;
}

.wso-journey-panel:hover {
  transform: translateY(-6px);
  border-color: var(--wso-border-orange);
  box-shadow: 0 12px 28px rgba(237, 115, 27, 0.15);
}

.wso-journey-panel__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.wso-journey-panel__icon svg {
  width: 100%;
  height: 100%;
}

.wso-journey-panel__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wso-white);
  margin-bottom: 0.65rem;
}

.wso-journey-panel__desc {
  font-size: 0.88rem;
  color: var(--wso-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .wso-journey-panels {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .wso-journey-panels {
    grid-template-columns: 1fr;
  }

  #wso-services-slider .wso-auto-slider__card {
    width: min(86vw, 310px);
    min-width: min(86vw, 310px);
    max-width: min(86vw, 310px);
    height: auto;
    min-height: 480px;
    max-height: none;
    padding: 1.5rem 1.25rem;
  }

  #wso-portfolio-slider .wso-auto-slider__card {
    width: min(84vw, 290px);
    min-width: min(84vw, 290px);
    max-width: min(84vw, 290px);
    height: auto;
    min-height: 360px;
    max-height: none;
    padding: 1.35rem 1.15rem;
  }
}

/* Global mobile responsiveness & overflow prevention */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* ==========================================================================
   MOBILE CAROUSEL & STAT SQUARES FOR HOME & SUB-PAGES
   ========================================================================== */
@media (max-width: 768px) {

  /* Systems Section Bento as a smooth horizontal carousel on mobile with equal cards */
  .wso-systems-bento {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 1rem !important;
    padding-bottom: 1.25rem !important;
    scrollbar-width: none;
    align-items: stretch !important;
  }

  .wso-systems-bento::-webkit-scrollbar {
    display: none;
  }

  .wso-systems-bento>.wso-card-3d {
    flex: 0 0 85vw !important;
    min-width: 85vw !important;
    max-width: 320px !important;
    grid-column: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: auto !important;
    min-height: 480px !important;
  }

  /* How We Work Journey as a smooth horizontal carousel on mobile with equal cards */
  .wso-journey-panels {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 1rem !important;
    padding-bottom: 1.25rem !important;
    scrollbar-width: none;
    align-items: stretch !important;
  }

  .wso-journey-panels::-webkit-scrollbar {
    display: none;
  }

  .wso-journey-panels .wso-journey-panel {
    flex: 0 0 82vw !important;
    min-width: 82vw !important;
    max-width: 300px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 290px !important;
  }

  /* 4 Counters as Compact Side-by-Side Modern Squares / Circles on Mobile */
  .wso-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .wso-stat-grid .wso-card-3d {
    padding: 0.85rem 0.35rem !important;
    min-height: 95px !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-color: rgba(237, 115, 27, 0.28) !important;
    background: linear-gradient(145deg, rgba(24, 24, 30, 0.95), rgba(12, 12, 16, 0.98)) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
  }

  .wso-stat-grid .wso-card-3d strong {
    font-size: 1.35rem !important;
    line-height: 1.1 !important;
    margin-bottom: 0.3rem !important;
    display: block !important;
  }

  .wso-stat-grid .wso-card-3d p {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    color: var(--wso-text-secondary) !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 480px) {
  .wso-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }

  .wso-stat-grid .wso-card-3d {
    padding: 0.75rem 0.25rem !important;
    min-height: 88px !important;
    border-radius: 14px !important;
  }

  .wso-stat-grid .wso-card-3d strong {
    font-size: 1.2rem !important;
  }

  .wso-stat-grid .wso-card-3d p {
    font-size: 0.66rem !important;
  }
}


/* ==========================================================================
   WSO WEBLIX TOOLS — ULTRA-LUXURY ANIMATED BUTTON & MASTER CARD SECTION
   ========================================================================== */

/* 1. Header Minimalist Luxury Animated Button (No Icons, Pure Class) */
.wso-tools-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: rgba(14, 14, 18, 0.88);
  color: #FFFFFF !important;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 107, 0, 0.45);
  box-shadow: 0 0 16px -2px rgba(255, 107, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: wsoToolsBtnBreathing 3.2s ease-in-out infinite alternate;
}

/* Moving continuous conical light beam border around button */
.wso-tools-btn__fx-border {
  position: absolute;
  inset: -150%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, transparent 280deg, var(--wso-orange-bright) 330deg, #FFFFFF 360deg);
  animation: wsoToolsConicRotate 4s linear infinite;
  z-index: -2;
  opacity: 0.9;
}

/* Ambient inner soft background */
.wso-tools-btn::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: linear-gradient(135deg, #151316 0%, #0A0A0C 100%);
  border-radius: 999px;
  z-index: -1;
  transition: background 0.35s ease;
}

/* Perpetual outer aura pulse */
.wso-tools-btn__fx-glow {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.5), transparent 75%);
  filter: blur(10px);
  z-index: -3;
  pointer-events: none;
  animation: wsoToolsAuraPulse 2.8s ease-in-out infinite;
}

.wso-tools-btn__text {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFE2CC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.25s ease;
}

/* Hover & Active States */
.wso-tools-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 28px rgba(255, 107, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 107, 0, 0.85);
}

.wso-tools-btn:hover::after {
  background: linear-gradient(135deg, #221A15 0%, #0D0D10 100%);
}

.wso-tools-btn:hover .wso-tools-btn__fx-border {
  animation-duration: 2s;
}

@keyframes wsoToolsConicRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes wsoToolsBtnBreathing {
  0% {
    box-shadow: 0 0 14px -2px rgba(255, 107, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 24px 2px rgba(255, 107, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  }
  100% {
    box-shadow: 0 0 16px -1px rgba(255, 107, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  }
}

@keyframes wsoToolsAuraPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}

/* 2. Free Tools Promo Card Styles (Compact, Balanced Dimensions & Typography) */
.wso-tools-promo-section {
  padding: 3.5rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.06) 0%, rgba(7, 7, 9, 0) 60%), #070709;
}

/* Master 3D Full-Width Promo Card */
.wso-tools-promo-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 20, 26, 0.88) 0%, rgba(12, 12, 16, 0.98) 100%);
  border: 1px solid rgba(255, 107, 0, 0.24);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.75), 0 0 24px -6px rgba(255, 107, 0, 0.15);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wso-tools-promo-card:hover {
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 22px 55px -10px rgba(0, 0, 0, 0.85), 0 0 32px -4px rgba(255, 107, 0, 0.25);
}

.wso-tools-promo-card__glow {
  position: absolute;
  top: -100px;
  inset-inline-start: 25%;
  width: 350px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.14) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.wso-tools-promo-card__inner {
  position: relative;
  z-index: 1;
  padding: 2.25rem 2.5rem;
}

/* Header within Card */
.wso-tools-promo-card__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.85rem auto;
}

.wso-tools-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.25);
  margin-bottom: 0.75rem;
}

.wso-tools-promo-badge__text {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--wso-orange-bright);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wso-tools-promo-badge__count {
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: var(--wso-orange);
  color: #0A0A0A;
  font-size: 0.68rem;
  font-weight: 800;
}

.wso-tools-promo-card__title {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 0.5rem 0;
}

.wso-tools-promo-card__subtitle {
  color: var(--wso-text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* 8 Categories Grid: Exactly 4 Columns on Desktop (2 rows of 4) */
.wso-tools-promo-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}

@media (max-width: 1024px) {
  .wso-tools-promo-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .wso-tools-promo-categories {
    grid-template-columns: 1fr;
  }
}

.wso-tools-cat-pill {
  padding: 0.95rem 1.1rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.wso-tools-cat-pill:hover {
  background: rgba(255, 107, 0, 0.05);
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5);
}

.wso-tools-cat-pill__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.wso-tools-cat-pill__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.wso-tools-cat-pill__num {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--wso-orange-bright);
  padding: 0.08rem 0.35rem;
  border-radius: 5px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.wso-tools-cat-pill__samples {
  font-size: 0.76rem;
  color: var(--wso-text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Bottom CTA Strip */
.wso-tools-promo-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.wso-tools-footer-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wso-text-muted);
  font-size: 0.78rem;
}

/* Dedicated High-End Tools Link Button */
.wso-tools-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wso-orange-bright) 0%, var(--wso-orange) 100%);
  color: #0A0A0A !important;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px -4px var(--wso-orange-glow), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wso-tools-explore-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 26px -3px rgba(255, 107, 0, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  color: #000000 !important;
}

.wso-tools-explore-btn__arrow {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.wso-tools-explore-btn:hover .wso-tools-explore-btn__arrow {
  transform: translateX(3px);
}
[dir="rtl"] .wso-tools-explore-btn:hover .wso-tools-explore-btn__arrow {
  transform: translateX(-3px);
}

@media (max-width: 768px) {
  .wso-tools-featured-grid {
    grid-template-columns: 1fr;
  }
  .wso-tools-promo-card__inner {
    padding: 1.6rem 1.15rem;
  }
  .wso-tools-promo-card__footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.9rem;
  }
  .wso-tools-explore-btn {
    width: 100%;
    justify-content: center;
  }
}
