        /* ==========================================
       DESIGN SYSTEM VARIABLES & ROOT STYLES
       ========================================== */
        :root {
            /* Colors */
            --primary: #1A2B5F;
            --primary-light: #243875;
            --gold: #C9A84C;
            --gold-light: #E8C96D;
            --gold-dark: #A8892E;
            --bg: #FFFFFF;
            --surface: #F8F9FC;
            --surface-2: #EEF1F8;
            --dark-bg: #0D1B3E;
            --darker-bg: #08112A;
            --text-primary: #1A1A2E;
            --text-secondary: #64748B;
            --text-light: #94A3B8;
            --border: #E2E8F0;
            --success: #10B981;
            --error: #EF4444;

            /* Typography */
            --font-heading: 'Cairo', sans-serif;
            --font-body: 'Tajawal', sans-serif;

            /* Spacing */
            --container-max-width: 1280px;
            --container-padding: 0 24px;

            /* Border Radius */
            --radius: 12px;
            --radius-lg: 20px;
            --radius-xl: 32px;
            --radius-full: 9999px;

            /* Shadows */
            --shadow: 0 4px 24px rgba(26, 43, 95, 0.08);
            --shadow-md: 0 8px 32px rgba(26, 43, 95, 0.12);
            --shadow-lg: 0 12px 48px rgba(26, 43, 95, 0.18);
            --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.25);

            /* Transitions */
            --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ==========================================
       GLOBAL RESET & BASE STYLES
       ========================================== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
            height: 100%;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg);
            background-image: radial-gradient(at 20% 30%, rgba(201,168,76,0.04) 0px, transparent 40%),
                              radial-gradient(at 80% 80%, rgba(26,43,95,0.04) 0px, transparent 40%);
            color: var(--text-primary);
            min-height: 100%;
            display: flex;
            flex-direction: column;
            line-height: 1.9;
            font-size: 1.08rem;
            font-weight: 500;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        main {
            flex: 1 0 auto;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul,
        ol {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        textarea,
        select {
            font-family: inherit;
            font-size: inherit;
            border: none;
            background: none;
            outline: none;
        }

        button {
            cursor: pointer;
        }

        /* RTL vs LTR Global Tweaks */
        body.rtl {
            direction: rtl;
            text-align: right;
        }

        body.ltr {
            direction: ltr;
            text-align: left;
        }

        /* ==========================================
       CSS KEYFRAMES (ANIMATIONS)
       ========================================== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-40px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(40px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        @keyframes pulseGold {
            0% {
                box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
            }

            70% {
                box-shadow: 0 0 0 15px rgba(201, 168, 76, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
            }
        }

        @keyframes shimmer {
            0% {
                background-position: 0% 50%;
            }

            100% {
                background-position: 200% 50%;
            }
        }

        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes countUp {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideInFromBottom {
            from {
                transform: translateY(100%);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes revealText {
            from {
                width: 0;
            }

            to {
                width: 100%;
            }
        }

        /* Animation Classes */
        .anim-float {
            animation: float 4s ease-in-out infinite;
        }

        .anim-pulse-gold {
            animation: pulseGold 2s infinite;
        }

        /* ==========================================
       SCROLL ANIMATIONS (.animate-on-scroll)
       ========================================== */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: opacity, transform;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Delayed Animations for stagger */
        .delay-100 {
            transition-delay: 100ms;
        }

        .delay-200 {
            transition-delay: 200ms;
        }

        .delay-300 {
            transition-delay: 300ms;
        }

        .delay-400 {
            transition-delay: 400ms;
        }

        .delay-500 {
            transition-delay: 500ms;
        }

        /* ==========================================
       REUSABLE UTILITIES & CLASSES
       ========================================== */
        .container {
            max-width: var(--container-max-width);
            margin-left: auto;
            margin-right: auto;
            padding: var(--container-padding);
            width: 100%;
        }

        .section {
            padding: 60px 0;
        }

        @media (min-width: 1024px) {
            .section {
                padding: 80px 0;
            }
        }

        /* Grid Layouts */
        .grid-2,
        .grid-3,
        .grid-4 {
            display: grid;
            gap: 32px;
        }

        .flex-center {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .flex-between {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .gap-2 {
            gap: 8px;
        }

        .gap-4 {
            gap: 16px;
        }

        .gap-6 {
            gap: 24px;
        }

        .gap-8 {
            gap: 32px;
        }

        .w-full {
            width: 100%;
        }

        /* Responsive Grid Columns */
        @media (min-width: 768px) {
            .grid-2 {
                grid-template-columns: repeat(2, 1fr);
            }

            .grid-3 {
                grid-template-columns: repeat(2, 1fr);
            }

            .grid-4 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .grid-3 {
                grid-template-columns: repeat(3, 1fr);
            }

            .grid-4 {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        /* Alignment Helper */
        .text-center {
            text-align: center;
        }

        .text-start {
            text-align: left;
        }

        .text-end {
            text-align: right;
        }

        body.rtl .text-start {
            text-align: right;
        }

        body.rtl .text-end {
            text-align: left;
        }

        body.ltr .text-start {
            text-align: left;
        }

        body.ltr .text-end {
            text-align: right;
        }

        /* Spacing Helpers */
        .mb-1 {
            margin-bottom: 4px;
        }

        .mb-2 {
            margin-bottom: 8px;
        }

        .mb-3 {
            margin-bottom: 12px;
        }

        .mb-4 {
            margin-bottom: 16px;
        }

        .mb-6 {
            margin-bottom: 24px;
        }

        .mb-8 {
            margin-bottom: 32px;
        }

        .mb-12 {
            margin-bottom: 48px;
        }

        .mb-16 {
            margin-bottom: 64px;
        }

        .mt-1 {
            margin-top: 4px;
        }

        .mt-2 {
            margin-top: 8px;
        }

        .mt-3 {
            margin-top: 12px;
        }

        .mt-4 {
            margin-top: 16px;
        }

        .mt-6 {
            margin-top: 24px;
        }

        .mt-8 {
            margin-top: 32px;
        }

        .mt-12 {
            margin-top: 48px;
        }

        .mt-16 {
            margin-top: 64px;
        }

        /* Background Sections */
        .bg-light {
            background-color: var(--surface);
            color: var(--text-primary);
        }

        .bg-light-2 {
            background-color: var(--surface-2);
            color: var(--text-primary);
        }

        .bg-dark {
            background-color: var(--dark-bg);
            color: var(--bg);
        }

        .bg-darker {
            background-color: var(--darker-bg);
            color: var(--bg);
        }

        .bg-dark h1,
        .bg-dark h2,
        .bg-dark h3,
        .bg-dark h4,
        .bg-dark h5,
        .bg-dark h6,
        .bg-darker h1,
        .bg-darker h2,
        .bg-darker h3,
        .bg-darker h4,
        .bg-darker h5,
        .bg-darker h6 {
            color: var(--bg);
        }

        /* ==========================================
       TEXT CLASSES
       ========================================== */
        .text-gold {
            background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold-dark) 50%, var(--gold-light) 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 3s linear infinite;
            display: inline-block;
            font-weight: 700;
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative;
            font-family: var(--font-heading);
            font-size: 0.82rem;
            font-weight: 800;
            text-transform: uppercase;
            color: var(--gold-dark);
            letter-spacing: 0.8px;
            margin-bottom: 18px;
            gap: 10px;
            padding: 8px 16px;
            border: 1px solid rgba(201, 168, 76, 0.32);
            border-radius: var(--radius-full);
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 249, 252, 0.72)),
                radial-gradient(circle at 20% 50%, rgba(232, 201, 109, 0.22), transparent 48%);
            box-shadow:
                0 10px 28px rgba(26, 43, 95, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .section-label::before {
            content: '';
            display: inline-block;
            width: 9px;
            height: 9px;
            background-color: var(--gold);
            border-radius: 50%;
            box-shadow:
                0 0 0 4px rgba(201, 168, 76, 0.14),
                0 0 14px var(--gold-light);
            flex-shrink: 0;
        }

        .section-label::after {
            content: '';
            position: absolute;
            inset: 1px;
            border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.65) 45%, transparent 72%);
            transform: translateX(120%);
            animation: labelSheen 4.8s ease-in-out infinite;
        }

        .bg-darker .section-label,
        #pricing .section-label,
        #cta-banner .section-label {
            color: var(--gold-light);
            border-color: rgba(232, 201, 109, 0.34);
            background:
                linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
                radial-gradient(circle at 20% 50%, rgba(232, 201, 109, 0.18), transparent 52%);
            box-shadow:
                0 14px 32px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255,255,255,0.14);
        }

        @keyframes labelSheen {
            0%, 62% {
                transform: translateX(120%);
                opacity: 0;
            }
            72% {
                opacity: 1;
            }
            100% {
                transform: translateX(-120%);
                opacity: 0;
            }
        }

        @media (max-width: 520px) {
            .section-label {
                font-size: 0.75rem;
                padding: 7px 12px;
                letter-spacing: 0.3px;
                white-space: normal;
                max-width: 100%;
            }
        }

        .section-title {
            font-family: var(--font-heading);
            font-size: clamp(28px, 4vw, 48px);
            font-weight: 800;
            line-height: 1.2;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .section-title.compact-section-title {
            font-size: 2rem;
            margin-bottom: 8px;
        }

        .section-subtitle {
            font-family: var(--font-body);
            font-size: clamp(15px, 1.5vw, 18px);
            color: var(--text-secondary);
            max-width: 640px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 40px;
            line-height: 1.8;
            font-weight: 400;
        }

        .bg-dark .section-subtitle,
        .bg-darker .section-subtitle {
            color: var(--text-light);
        }

        .text-light-title {
            color: var(--bg) !important;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 14px;
            background-color: rgba(201, 168, 76, 0.1);
            color: var(--gold-dark);
            font-size: 0.75rem;
            font-weight: 700;
            border-radius: var(--radius-full);
            border: 1px solid rgba(201, 168, 76, 0.2);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .badge-primary {
            background-color: rgba(26, 43, 95, 0.08);
            color: var(--primary);
            border: 1px solid rgba(26, 43, 95, 0.15);
        }

        .divider {
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            margin: 24px auto;
            border-radius: var(--radius-full);
        }

        /* ==========================================
       BUTTONS
       ========================================== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
            text-align: center;
            gap: 8px;
            border: none;
            font-family: var(--font-heading);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            color: var(--darker-bg);
            border-radius: var(--radius-full);
            box-shadow: var(--shadow-gold);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: var(--bg);
            border-radius: var(--radius-full);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        .btn-outline {
            border: 2px solid var(--primary);
            color: var(--primary);
            background: transparent;
            border-radius: var(--radius-full);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: var(--bg);
            transform: translateY(-3px);
        }

        .bg-dark .btn-outline,
        .bg-darker .btn-outline {
            border-color: var(--gold);
            color: var(--gold);
        }

        .bg-dark .btn-outline:hover,
        .bg-darker .btn-outline:hover {
            background-color: var(--gold);
            color: var(--darker-bg);
        }

        /* Size variants */
        .btn-sm {
            padding: 8px 16px;
            font-size: 0.875rem;
        }

        .btn-md {
            padding: 12px 28px;
            font-size: 1rem;
        }

        .btn-lg {
            padding: 16px 36px;
            font-size: 1.125rem;
        }

        /* ==========================================
       CARDS
       ========================================== */
        .card {
            background-color: var(--bg);
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: rgba(201, 168, 76, 0.3);
        }

        .card-dark {
            background-color: var(--dark-bg);
            color: var(--bg);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }

        .card-dark:hover {
            background-color: var(--primary-light);
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
            border-color: rgba(201, 168, 76, 0.4);
        }

        .card-gold {
            border: 2px solid var(--gold);
            box-shadow: var(--shadow-gold);
        }

        .card-gold:hover {
            box-shadow: 0 12px 48px rgba(201, 168, 76, 0.35);
        }

        /* ==========================================
       PRELOADER
       ========================================== */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--darker-bg);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
        }

        #preloader.fade-out {
            opacity: 0;
            visibility: hidden;
        }

        .preloader-content {
            position: relative;
            width: 120px;
            height: 120px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .preloader-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 4px solid rgba(201, 168, 76, 0.1);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: spin 1.5s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
        }

        .preloader-logo {
            animation: pulseLogo 1.5s ease-in-out infinite alternate;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes pulseLogo {
            0% {
                transform: scale(0.9);
                opacity: 0.8;
            }

            100% {
                transform: scale(1.1);
                opacity: 1;
            }
        }

        /* ==========================================
       PROGRESS BAR
       ========================================== */
        #progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(to left, #C9A84C, #FFD700);
            z-index: 9999;
            width: 0%;
            transition: width 0.1s ease-out;
        }

        body.rtl #progress-bar {
            right: 0;
            left: auto;
        }

        /* ==========================================
       NAVIGATION NAVBAR
       ========================================== */
        #navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 999;
            background-color: rgba(8, 17, 42, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(201, 168, 76, 0.2);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, height 0.3s ease;
            height: 80px;
        }

        #navbar.scrolled {
            background-color: rgba(5, 10, 26, 0.95);
            box-shadow: var(--shadow-md);
            height: 70px;
        }

        #navbar.hidden {
            transform: translateY(-100%);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
        }

        .logo-link {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--bg);
        }

        .logo-text {
            background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            align-items: center;
        }

        .nav-links a {
            color: rgba(255, 255, 255, 0.85);
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 0.95rem;
            position: relative;
            padding: 8px 0;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--gold);
            transition: var(--transition);
        }

        /* Reverse link underline growth based on language direction */
        body.rtl .nav-links a::after {
            right: 0;
            left: auto;
        }

        body.ltr .nav-links a::after {
            left: 0;
            right: auto;
        }

        .nav-links a:hover {
            color: var(--gold-light);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .lang-switch-container {
            display: flex;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-full);
            padding: 2px;
            background-color: rgba(255, 255, 255, 0.05);
        }

        .lang-btn {
            color: rgba(255, 255, 255, 0.6);
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 0.8rem;
            padding: 4px 12px;
            border-radius: var(--radius-full);
            transition: var(--transition);
        }

        .lang-btn:hover {
            color: var(--gold-light);
        }

        .lang-btn.active {
            color: var(--darker-bg);
            background-color: var(--gold);
            box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
        }

        /* Hamburger Toggle Button */
        #hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 28px;
            height: 18px;
            z-index: 1001;
        }

        #hamburger span {
            width: 100%;
            height: 2px;
            background-color: var(--bg);
            transition: var(--transition);
            border-radius: 2px;
        }

        #hamburger.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        #hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        #hamburger.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* Mobile Drawer Menu */
        #mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            width: 300px;
            height: 100vh;
            background-color: var(--darker-bg);
            border-left: 1px solid rgba(201, 168, 76, 0.2);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            padding: 100px 32px 40px;
            transform: translateX(100%);
            opacity: 0;
            transition: transform 0.3s ease, opacity 0.3s ease;
            box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        }

        #mobile-menu.open {
            transform: translateX(0);
            opacity: 1;
        }

        /* Let LTR and RTL menus open correctly */
        body.ltr #mobile-menu {
            right: 0;
            left: auto;
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .mobile-nav-links a {
            color: var(--bg);
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 600;
            padding: 8px 0;
            display: block;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .mobile-nav-links a:hover {
            color: var(--gold-light);
        }

        .mobile-cta-li {
            margin-top: 20px;
        }

        .mobile-lang-container {
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 24px;
        }

        /* Responsive adjustments for navbar */
        @media (max-width: 1023px) {
            .nav-links {
                display: none;
            }

            .nav-cta {
                display: none;
            }

            .lang-switch-container {
                display: none;
            }

            #hamburger {
                display: flex;
            }
        }

        /* ==========================================
       FLOATING BUTTONS
       ========================================== */
        @keyframes wa-pulse-ring {
            0%   { transform: scale(1);   opacity: 0.6; }
            70%  { transform: scale(1.9); opacity: 0; }
            100% { transform: scale(1.9); opacity: 0; }
        }
        @keyframes wa-bounce {
            0%, 100% { transform: translateY(0) scale(1); }
            30%       { transform: translateY(-8px) scale(1.08); }
            60%       { transform: translateY(-3px) scale(1.03); }
        }

        #whatsapp-float {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: var(--radius-full);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 30px;
            box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
            z-index: 99;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
            animation: wa-bounce 3s ease-in-out infinite;
            animation-delay: 2s;
        }

        #whatsapp-float::before,
        #whatsapp-float::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: rgba(37, 211, 102, 0.45);
            animation: wa-pulse-ring 2.5s ease-out infinite;
        }
        #whatsapp-float::after {
            animation-delay: 1.25s;
        }

        #whatsapp-float:hover {
            transform: translateY(-5px) scale(1.12);
            background-color: #20ba5a;
            box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
            animation-play-state: paused;
        }
        #whatsapp-float:hover::before,
        #whatsapp-float:hover::after {
            animation-play-state: paused;
        }

        #scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--gold);
            color: var(--darker-bg);
            border-radius: var(--radius-full);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            box-shadow: var(--shadow-gold);
            z-index: 99;
            transition: var(--transition);
            opacity: 0;
            visibility: hidden;
            border: none;
        }

        #scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        #scroll-top:hover {
            transform: translateY(-5px);
            background-color: var(--gold-light);
            box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45);
        }

        /* ==========================================
       SERVICES SECTION CUSTOM STYLES
       ========================================== */
        #services {
            background-color: #F8F9FC;
            background-image: radial-gradient(rgba(26, 43, 95, 0.03) 1px, transparent 0);
            background-size: 24px 24px;
        }

        /* ── Category Tiles ── */
        .svc-cat-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 12px;
            margin-bottom: 52px;
        }

        /* Portfolio: 6 tiles */
        .portfolio-filters.svc-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); margin-bottom: 48px; }
        /* FAQ: 4 tiles — display:grid overrides the later .faq2-tabs{display:flex} via higher specificity */
        .faq2-tabs.svc-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 680px; margin-inline: auto; margin-bottom: 28px; flex-direction: unset; }

        @media (max-width: 1024px) {
            .svc-cat-grid { grid-template-columns: repeat(4, 1fr); }
            .portfolio-filters.svc-cat-grid { grid-template-columns: repeat(3, 1fr); }
            .faq2-tabs.svc-cat-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 600px) {
            .svc-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
            .portfolio-filters.svc-cat-grid { grid-template-columns: repeat(3, 1fr); }
            .faq2-tabs.svc-cat-grid { grid-template-columns: repeat(2, 1fr); }
        }

        .svc-cat-tile {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            padding: 18px 10px 16px;
            background: #fff;
            border: 1.5px solid #E8EBF4;
            border-radius: 18px;
            cursor: pointer;
            transition: transform .22s cubic-bezier(.4,0,.2,1),
                        box-shadow .22s, border-color .22s, background .22s;
            position: relative;
            overflow: hidden;
            user-select: none;
        }

        /* shimmer top line */
        .svc-cat-tile::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2.5px;
            background: linear-gradient(90deg, transparent, rgb(var(--cat-rgb, 26,43,95)), transparent);
            opacity: 0;
            transition: opacity .22s;
        }

        .svc-cat-tile:hover::before,
        .svc-cat-tile.active::before { opacity: 1; }

        .svc-cat-icon {
            width: 50px;
            height: 50px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 19px;
            color: rgb(var(--cat-rgb, 26,43,95));
            background: linear-gradient(135deg,
                rgba(var(--cat-rgb, 26,43,95), .11),
                rgba(var(--cat-rgb, 26,43,95), .05));
            border: 1.5px solid rgba(var(--cat-rgb, 26,43,95), .14);
            transition: all .22s cubic-bezier(.4,0,.2,1);
            flex-shrink: 0;
        }

        .svc-cat-label {
            font-family: var(--font-heading);
            font-size: 0.77rem;
            font-weight: 700;
            color: var(--text-secondary);
            text-align: center;
            line-height: 1.3;
            transition: color .22s;
        }

        .svc-cat-count {
            font-size: 0.68rem;
            font-weight: 800;
            padding: 2px 9px;
            border-radius: 50px;
            background: rgba(var(--cat-rgb, 26,43,95), .07);
            color: rgb(var(--cat-rgb, 26,43,95));
            border: 1px solid rgba(var(--cat-rgb, 26,43,95), .1);
            transition: all .22s;
            letter-spacing: .01em;
        }

        /* Hover */
        .svc-cat-tile:hover {
            transform: translateY(-4px);
            border-color: rgba(var(--cat-rgb, 26,43,95), .3);
            box-shadow: 0 10px 28px rgba(var(--cat-rgb, 26,43,95), .16);
        }

        .svc-cat-tile:hover .svc-cat-icon {
            background: rgb(var(--cat-rgb, 26,43,95));
            color: #fff;
            border-color: rgb(var(--cat-rgb, 26,43,95));
            box-shadow: 0 6px 16px rgba(var(--cat-rgb, 26,43,95), .35);
            transform: scale(1.06) rotate(-4deg);
        }

        .svc-cat-tile:hover .svc-cat-label { color: rgb(var(--cat-rgb, 26,43,95)); }

        /* Active */
        .svc-cat-tile.active {
            background: linear-gradient(145deg,
                rgb(var(--cat-rgb, 26,43,95)),
                rgba(var(--cat-rgb, 26,43,95), .82));
            border-color: rgb(var(--cat-rgb, 26,43,95));
            box-shadow: 0 10px 32px rgba(var(--cat-rgb, 26,43,95), .32),
                        inset 0 1px 0 rgba(255,255,255,.15);
            transform: translateY(-3px);
        }

        .svc-cat-tile.active .svc-cat-icon {
            background: rgba(255,255,255,.2);
            color: #fff;
            border-color: rgba(255,255,255,.25);
            box-shadow: 0 4px 12px rgba(0,0,0,.15);
        }

        .svc-cat-tile.active .svc-cat-label { color: #fff; font-weight: 800; }

        .svc-cat-tile.active .svc-cat-count {
            background: rgba(255,255,255,.22);
            color: #fff;
            border-color: rgba(255,255,255,.3);
        }

        /* Wrap cards for transitions */
        .service-card-wrapper {
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: block;
        }

        .service-card-wrapper.hide {
            display: none;
        }

        /* ── Redesigned Service Cards ── */
        .service-card {
            background: #fff;
            border-radius: 20px;
            padding: 28px;
            border: 1.5px solid #E8EBF4;
            box-shadow: 0 4px 20px rgba(13,27,62,.06);
            transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, border-color .3s;
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        /* Colored top stripe */
        .service-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--acc, var(--gold)), color-mix(in srgb, var(--acc, var(--gold)) 60%, #fff));
            border-radius: 20px 20px 0 0;
            transition: height .3s;
        }

        /* ::after is used by the spinning border glow — no override here */

        .service-card:hover {
            transform: translateY(-10px);
            border-color: rgba(var(--acc-rgb, 201,168,76), .35);
            box-shadow:
                0 20px 48px rgba(13,27,62,.10),
                0 0 0 1px rgba(var(--acc-rgb, 201,168,76), .12),
                0 8px 24px rgba(var(--acc-rgb, 201,168,76), .15);
        }

        .service-card:hover::before { height: 4px; }

        /* Card header row: icon (right in RTL) + badge (left in RTL) */
        .service-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .service-icon-container {
            width: 58px;
            height: 58px;
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 22px;
            color: rgb(var(--acc-rgb, 26,43,95));
            background: linear-gradient(135deg,
                rgba(var(--acc-rgb, 26,43,95), .12),
                rgba(var(--acc-rgb, 26,43,95), .06));
            border: 1.5px solid rgba(var(--acc-rgb, 26,43,95), .14);
            transition: all .3s;
            flex-shrink: 0;
        }

        .service-card:hover .service-icon-container {
            background: rgb(var(--acc-rgb, 26,43,95));
            color: #fff;
            border-color: rgb(var(--acc-rgb, 26,43,95));
            transform: rotate(-6deg) scale(1.08);
            box-shadow: 0 8px 24px rgba(var(--acc-rgb, 26,43,95), .35);
        }

        .service-card-title {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .service-card-desc {
            font-family: var(--font-body);
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.75;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .service-features-list {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
            margin-bottom: 20px;
        }

        .service-feature-tag {
            background: rgba(var(--acc-rgb, 26,43,95), .07);
            color: rgb(var(--acc-rgb, 26,43,95));
            font-size: 0.74rem;
            font-weight: 700;
            padding: 4px 11px;
            border-radius: 50px;
            border: 1px solid rgba(var(--acc-rgb, 26,43,95), .12);
            transition: background .2s;
        }

        .service-card:hover .service-feature-tag {
            background: rgba(var(--acc-rgb, 26,43,95), .12);
        }

        .service-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            border-top: 1px solid #EEF0F8;
            padding-top: 18px;
            margin-top: auto;
        }

        .service-price {
            font-family: var(--font-heading);
            font-size: 0.82rem;
            color: var(--gold-dark);
            font-weight: 800;
            min-width: 0;
            flex-shrink: 1;
        }

        .service-price span { font-size: 0.9rem; white-space: nowrap; }

        .service-card-footer .btn { flex-shrink: 0; white-space: nowrap; }

        /* Badge — pill at top-left (in RTL = visual left, opposite icon) */
        .service-card-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 5px 13px;
            background: linear-gradient(135deg, #C9A84C, #A8892E);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 800;
            border-radius: 50px;
            white-space: nowrap;
            box-shadow: 0 3px 10px rgba(168,137,46,.4);
            position: static;
            transform: none;
            letter-spacing: .02em;
        }

        .service-card-badge::before {
            content: '⚡';
            font-size: 0.68rem;
        }

        /* Featured card glow */
        .service-card.is-featured {
            border-color: rgba(201,168,76,.3);
            box-shadow: 0 4px 20px rgba(201,168,76,.12), 0 4px 20px rgba(13,27,62,.06);
        }

        .services-cta-bar {
            margin-top: 60px;
            background-color: var(--dark-bg);
            border-radius: var(--radius-lg);
            padding: 32px 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            color: var(--bg);
            text-align: center;
            border: 1px solid rgba(201, 168, 76, 0.2);
            box-shadow: var(--shadow-md);
        }

        @media (min-width: 768px) {
            .services-cta-bar {
                flex-direction: row;
                text-align: right;
            }

            body.ltr .services-cta-bar {
                text-align: left;
            }
        }

        .services-cta-title {
            font-family: var(--font-heading);
            font-size: 1.25rem;
            font-weight: 700;
        }

        /* ==========================================
       DIGITAL STORE CUSTOM STYLES
       ========================================== */
        #store {
            background-color: var(--bg);
        }

        .store-filter-bar {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 48px;
        }

        .store-filter-btn {
            padding: 10px 24px;
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--text-secondary);
            border-radius: var(--radius-full);
            background-color: var(--surface);
            border: 1px solid var(--border);
            transition: var(--transition);
        }

        .store-filter-btn:hover {
            background-color: var(--surface-2);
            color: var(--primary);
        }

        .store-filter-btn.active {
            background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            color: var(--darker-bg);
            border-color: var(--gold);
            box-shadow: var(--shadow-gold);
        }

        .product-card-wrapper {
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: block;
        }

        .product-card-wrapper.hide {
            display: none;
        }

        .product-card {
            background: #fff;
            border-radius: 20px;
            border: 1.5px solid #E8EBF4;
            box-shadow: 0 4px 20px rgba(13,27,62,.06);
            transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, border-color .3s;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
        }

        .product-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, rgba(var(--prd-rgb,201,168,76),.7), rgba(var(--prd-rgb,201,168,76),1));
            opacity: 0;
            transition: opacity .3s;
            z-index: 5;
        }

        .product-card:hover::before { opacity: 1; }

        .product-card:hover {
            transform: translateY(-10px) scale(1.015);
            border-color: rgba(var(--prd-rgb, 201,168,76), .35);
            box-shadow:
                0 24px 56px rgba(var(--prd-rgb, 13,27,62), .18),
                0 0 0 1px rgba(var(--prd-rgb, 201,168,76), .15),
                0 8px 32px rgba(var(--prd-rgb, 201,168,76), .22);
        }

        .product-cover-container {
            height: 200px;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .product-cover-container::after {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,.5));
            z-index: 1;
            transition: opacity .3s;
        }

        .product-card:hover .product-cover-container::after {
            opacity: .7;
        }

        .product-cover-bg {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            transition: transform .5s cubic-bezier(.4,0,.2,1);
            z-index: 0;
        }

        .product-cover-bg::before {
            content: '';
            position: absolute;
            top: -35px; right: -35px;
            width: 130px; height: 130px;
            border-radius: 50%;
            background: rgba(255,255,255,.09);
            pointer-events: none;
        }

        .product-cover-bg::after {
            content: '';
            position: absolute;
            bottom: -25px; left: -25px;
            width: 100px; height: 100px;
            border-radius: 50%;
            background: rgba(255,255,255,.06);
            pointer-events: none;
        }

        .product-card:hover .product-cover-bg {
            transform: scale(1.1);
        }

        .product-cover-icon {
            font-size: 3.6rem;
            color: rgba(255,255,255,.95);
            filter: drop-shadow(0 6px 20px rgba(0,0,0,.4));
            z-index: 2;
            transition: transform .4s cubic-bezier(.34,1.56,.64,1), filter .3s;
        }

        .product-card:hover .product-cover-icon {
            transform: scale(1.14) translateY(-5px) rotate(-6deg);
            filter: drop-shadow(0 10px 28px rgba(0,0,0,.5));
        }

        .product-cover-cat-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            z-index: 3;
            display: inline-flex;
            align-items: center;
            background: rgba(255,255,255,.18);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,.32);
            color: #fff;
            font-family: var(--font-heading);
            font-size: .7rem;
            font-weight: 700;
            padding: 5px 13px;
            border-radius: 50px;
            box-shadow: 0 2px 10px rgba(0,0,0,.25);
            letter-spacing: .03em;
            white-space: nowrap;
        }

        .product-cover-discount-badge {
            position: absolute;
            top: 14px;
            right: 14px;
            z-index: 3;
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg,#C9A84C,#A8892E);
            color: #fff;
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: .7rem;
            padding: 5px 13px;
            border-radius: 50px;
            box-shadow: 0 3px 12px rgba(168,137,46,.45);
            letter-spacing: .02em;
            white-space: nowrap;
        }

        /* Force badge placements physically for RTL and LTR symmetry */
        body.rtl .product-cover-cat-badge,
        body.ltr .product-cover-cat-badge {
            left: 14px;
            right: auto;
        }

        body.rtl .product-cover-discount-badge,
        body.ltr .product-cover-discount-badge {
            right: 14px;
            left: auto;
        }

        .badge-success {
            background-color: var(--success);
            color: white;
            border-color: var(--success);
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        }

        .product-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .product-cat {
            font-family: var(--font-heading);
            font-size: 0.775rem;
            font-weight: 700;
            color: var(--gold-dark);
            text-transform: uppercase;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .product-title {
            font-family: var(--font-heading);
            font-size: 17px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            min-height: 48px;
            /* ensures grid alignment */
        }

        .product-desc {
            font-family: var(--font-body);
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 16px;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            min-height: 62px;
            /* aligns description boxes */
        }

        .product-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-secondary);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: 10px 0;
            margin-bottom: 16px;
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            color: #FFB100;
        }

        .product-rating span {
            color: var(--text-secondary);
            font-weight: 600;
        }

        .product-buyers {
            font-weight: 500;
        }

        .product-price-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            justify-content: flex-start;
        }

        .product-old-price {
            font-size: 0.85rem;
            color: var(--text-light);
            text-decoration: line-through;
        }

        .product-new-price {
            font-size: 22px;
            font-weight: 800;
            color: var(--gold-dark);
            font-family: var(--font-heading);
        }

        .product-new-price span {
            font-size: 0.9rem;
            font-weight: 600;
        }

        .product-footer {
            width: 100%;
            margin-top: auto;
        }

        .product-footer .btn {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Product Covers — each category gets its own distinct color */
        .product-cover-1 {
            background: linear-gradient(135deg, #9a3412, #c2410c);  /* ebook — deep orange */
        }

        .product-cover-2 {
            background: linear-gradient(135deg, #14532d, #15803d);  /* course — forest green */
        }

        .product-cover-3 {
            background: linear-gradient(135deg, #4c1d95, #6d28d9);  /* template — purple */
        }

        .product-cover-4 {
            background: linear-gradient(135deg, #1e3a8a, #1d4ed8);  /* course — indigo blue */
        }

        .product-cover-5 {
            background: linear-gradient(135deg, #134e4a, #0f766e);  /* tool — teal */
        }

        .product-cover-6 {
            background: linear-gradient(135deg, #7c2d12, #b45309);  /* ebook — amber */
        }

        .product-cover-7 {
            background: linear-gradient(135deg, #064e3b, #047857);  /* course — emerald */
        }

        .product-cover-8 {
            background: linear-gradient(135deg, #713f12, #a16207);  /* template — warm gold */
        }

        .product-cover-text {
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 1.15rem;
            color: var(--gold-light);
            text-align: center;
            z-index: 2;
            padding: 0 16px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            line-height: 1.4;
            display: none;
        }

        .product-cover-6 .product-cover-text {
            display: block;
            border: 1px solid rgba(201, 168, 76, 0.3);
            background: rgba(8, 17, 42, 0.5);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            padding: 10px 18px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-gold);
        }

        /* Trust Badges & View All Button styles */
        .store-footer-actions {
            margin-top: 56px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 28px;
        }

        .trust-badges-row {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 24px;
            margin-top: 8px;
        }

        .trust-badge-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.925rem;
            font-weight: 600;
            color: var(--text-secondary);
            background-color: var(--surface);
            border: 1px solid var(--border);
            padding: 8px 18px;
            border-radius: var(--radius-full);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
            transition: var(--transition);
        }

        .trust-badge-item:hover {
            transform: translateY(-2px);
            border-color: var(--gold);
            box-shadow: 0 4px 15px rgba(201, 168, 76, 0.1);
            color: var(--primary);
        }

        .trust-badge-item i {
            font-size: 1rem;
        }

        /* ==========================================
       PRICING SECTION CUSTOM STYLES
       ========================================== */
        #pricing {
            background-color: var(--dark-bg);
            background-image: radial-gradient(rgba(201, 168, 76, 0.12) 1.5px, transparent 0);
            background-size: 32px 32px;
            position: relative;
        }

        .pricing-toggle-container {
            display: inline-flex;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 4px;
            border-radius: var(--radius-full);
            margin-bottom: 40px;
        }

        .pricing-toggle-btn {
            padding: 8px 24px;
            font-size: 0.9rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.7);
            border-radius: var(--radius-full);
            transition: var(--transition);
        }

        .pricing-toggle-btn.active {
            background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            color: var(--darker-bg);
            box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
        }

        .pricing-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            transition: var(--transition);
            overflow: visible !important;
            color: var(--bg);
            padding: 36px 28px !important; /* REQUIREMENT 1: Padding */
        }

        .card-glass {
            background-color: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: var(--bg);
        }

        .card-glass:hover {
            background-color: rgba(255, 255, 255, 0.04);
            border-color: rgba(201, 168, 76, 0.3);
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
        }

        .card-pro {
            background-color: rgba(26, 43, 95, 0.25);
            border: 2px solid var(--gold);
            box-shadow: var(--shadow-gold);
            transform: scale(1.03);
            z-index: 2;
            color: var(--bg);
            overflow: visible !important;
        }

        .card-pro:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 20px 50px rgba(201, 168, 76, 0.35);
        }

        .pricing-ribbon {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translate(-50%, -50%);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 34px;
            padding: 8px 22px;
            border-radius: var(--radius-full);
            border: 1px solid rgba(255,255,255,0.34);
            background:
                linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)),
                linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            color: #111827;
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0;
            box-shadow:
                0 12px 24px rgba(0,0,0,0.18),
                0 0 0 6px rgba(201,168,76,0.14);
            z-index: 10;
            text-align: center;
            white-space: nowrap;
        }

        .pricing-ribbon::before {
            content: '✓';
            width: 18px;
            height: 18px;
            margin-inline-end: 7px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(13,27,62,0.88);
            color: var(--gold-light);
            font-size: 0.7rem;
            line-height: 1;
        }

        .card-royal {
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(201, 168, 76, 0.4);
        }

        .card-royal:hover {
            border-color: var(--gold-light);
        }

        .pricing-price-box {
            margin: 16px 0;
            min-height: 84px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .pricing-value {
            font-size: 2.8rem; /* REQUIREMENT 3: Font-size */
            font-weight: 800;
            color: var(--gold-light);
            line-height: 1.1;
            font-family: var(--font-heading);
            text-shadow: 0 2px 8px rgba(201, 162, 39, 0.3); /* REQUIREMENT 3: Text-shadow */
        }

        .pricing-period {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-top: 4px;
            font-weight: 500;
        }

        .pricing-features {
            text-align: start;
            margin: 24px 0;
            display: flex;
            flex-direction: column;
            gap: 0; /* Changed from 12px to use margin-bottom instead */
            flex-grow: 1;
        }

        .pricing-feature-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 0.925rem;
            line-height: 1.8; /* REQUIREMENT 2: Line-height */
            margin-bottom: 8px; /* REQUIREMENT 2: Margin-bottom */
        }

        /* REQUIREMENT 2: Divider between included and excluded features */
        .pricing-feature-item.included + .pricing-feature-item.excluded {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .pricing-feature-item.included {
            color: var(--bg);
        }

        .pricing-feature-item.excluded {
            color: rgba(255, 255, 255, 0.3);
            text-decoration: line-through;
        }

        .pricing-feature-item i {
            margin-top: 4px;
            font-size: 0.95rem;
        }

        .pricing-feature-item.included i {
            color: var(--success);
        }

        .pricing-feature-item.excluded i {
            color: var(--error);
            opacity: 0.6;
        }

        /* REQUIREMENT 6: CTA Button height and hover glow */
        .pricing-card .btn {
            height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .pricing-card .btn:hover {
            box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
        }

        .pricing-note {
            font-size: 0.825rem;
            color: var(--text-light);
            margin-top: 24px;
            opacity: 0.8;
        }

        /* ══════════════════════════════════════════════
           MONTHLY SUBSCRIPTION TABLE — PREMIUM
        ══════════════════════════════════════════════ */
        .pricing-table-container {
            margin-top: 64px;
            max-width: 900px;
            margin-left: auto; margin-right: auto;
            background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
            border: 1px solid rgba(255,255,255,.1);
            border-radius: 24px;
            overflow: hidden;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 12px 56px rgba(0,0,0,.35), 0 0 0 1px rgba(201,168,76,.1);
        }

        .pricing-table-title {
            font-family: var(--font-heading);
            font-size: 1.3rem; font-weight: 900;
            color: #fff;
            padding: 26px 28px 6px;
            margin: 0;
            display: flex; align-items: center; gap: 12px;
        }
        .pricing-table-title::before {
            content: '';
            width: 4px; height: 24px; border-radius: 2px; flex-shrink: 0;
            background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
        }

        /* Column headers */
        .pricing-table { width: 100%; border-collapse: collapse; text-align: start; }
        .pricing-table thead tr {
            background: rgba(255,255,255,.04);
            border-bottom: 1px solid rgba(255,255,255,.08);
        }
        .pricing-table th {
            padding: 12px 28px;
            font-size: .7rem; font-weight: 700;
            color: rgba(255,255,255,.38); letter-spacing: .7px; text-transform: uppercase;
        }

        /* Data rows — styled as card strips */
        .pricing-table tbody tr {
            border-bottom: 1px solid rgba(255,255,255,.05);
            transition: background .22s ease;
            position: relative;
        }
        .pricing-table tbody tr:last-child { border-bottom: none; }
        .pricing-table tbody tr:hover { background: rgba(255,255,255,.06); }
        .pricing-table tbody tr:hover td:first-child {
            box-shadow: inset -4px 0 0 var(--svc-color, rgba(201,168,76,.7));
        }
        /* Color-coded service rows */
        .pricing-table tbody tr:nth-child(1) { --svc-color: #3b82f6; }
        .pricing-table tbody tr:nth-child(2) { --svc-color: #a855f7; }
        .pricing-table tbody tr:nth-child(3) { --svc-color: #10b981; }
        .pricing-table tbody tr:nth-child(4) { --svc-color: #f97316; }

        /* Service name cell */
        .pricing-table td {
            padding: 18px 28px;
            font-size: .9rem; color: rgba(255,255,255,.82); font-weight: 500;
            border-bottom: none;
        }
        .pricing-table td:first-child {
            display: table-cell;
            transition: box-shadow .22s ease;
        }
        /* Service icon */
        .pricing-svc-icon {
            display: inline-flex; align-items: center; justify-content: center;
            width: 32px; height: 32px; border-radius: 9px;
            background: rgba(255,255,255,.1); margin-left: 12px;
            font-size: .8rem; color: rgba(255,255,255,.9);
            vertical-align: middle; flex-shrink: 0;
            border: 1px solid rgba(255,255,255,.12);
        }
        .pricing-table tbody tr:nth-child(1) .pricing-svc-icon { background: rgba(59,130,246,.22); color: #93c5fd; border-color: rgba(59,130,246,.3); }
        .pricing-table tbody tr:nth-child(2) .pricing-svc-icon { background: rgba(168,85,247,.22); color: #d8b4fe; border-color: rgba(168,85,247,.3); }
        .pricing-table tbody tr:nth-child(3) .pricing-svc-icon { background: rgba(16,185,129,.22); color: #6ee7b7; border-color: rgba(16,185,129,.3); }
        .pricing-table tbody tr:nth-child(4) .pricing-svc-icon { background: rgba(249,115,22,.22); color: #fed7aa; border-color: rgba(249,115,22,.3); }

        /* Price cell */
        .pricing-table td.price-cell {
            font-weight: 800; font-family: var(--font-heading);
            font-size: .88rem; white-space: nowrap;
        }
        .pricing-price-badge {
            display: inline-flex; align-items: center;
            background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.08));
            color: var(--gold-light);
            padding: 6px 16px; border-radius: 999px;
            border: 1px solid rgba(201,168,76,.3);
            font-size: .82rem; font-weight: 800;
            text-shadow: 0 0 20px rgba(201,168,76,.3);
        }

        /* Row entrance animation */
        @keyframes subRowIn {
            from { opacity:0; transform: translateX(-12px); }
            to   { opacity:1; transform: translateX(0); }
        }
        .pricing-table-container.visible .pricing-table tbody tr {
            animation: subRowIn .4s cubic-bezier(.2,.8,.2,1) both;
        }
        .pricing-table-container.visible .pricing-table tbody tr:nth-child(1) { animation-delay:.08s }
        .pricing-table-container.visible .pricing-table tbody tr:nth-child(2) { animation-delay:.18s }
        .pricing-table-container.visible .pricing-table tbody tr:nth-child(3) { animation-delay:.28s }
        .pricing-table-container.visible .pricing-table tbody tr:nth-child(4) { animation-delay:.38s }

        @media (max-width: 767px) {
            .pricing-table-container { border-radius: 16px; }
            .pricing-table th,
            .pricing-table td { padding: 14px 16px; font-size: .82rem; }

            .pricing-card.card-pro {
                transform: scale(1);
            }

            .pricing-card.card-pro:hover {
                transform: translateY(-8px);
            }
        }

        /* ==========================================
       PORTFOLIO SECTION CUSTOM STYLES
       ========================================== */
        #portfolio {
            background-color: var(--bg);
        }

        .portfolio-card-wrapper {
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: block;
        }

        .portfolio-card-wrapper.hide {
            display: none;
        }

        .portfolio-card {
            background: #fff;
            border-radius: 20px;
            border: 1.5px solid #E8EBF4;
            box-shadow: 0 4px 20px rgba(13,27,62,.06);
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
            transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, border-color .3s;
            position: relative;
        }

        .portfolio-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, rgba(var(--prd-rgb,201,168,76),.7), rgb(var(--prd-rgb,201,168,76)));
            opacity: 0;
            transition: opacity .3s;
            z-index: 5;
        }

        .portfolio-card:hover::before { opacity: 1; }

        .portfolio-card:hover {
            transform: translateY(-10px) scale(1.015);
            border-color: rgba(var(--prd-rgb,201,168,76), .35);
            box-shadow:
                0 24px 56px rgba(var(--prd-rgb,13,27,62), .18),
                0 0 0 1px rgba(var(--prd-rgb,201,168,76), .15),
                0 8px 32px rgba(var(--prd-rgb,201,168,76), .22);
        }

        .portfolio-cover {
            height: 220px;
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .portfolio-cover::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,.55));
            z-index: 1;
            transition: opacity .3s;
        }

        .portfolio-card:hover .portfolio-cover::after { opacity: .7; }

        .portfolio-cover-bg {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            transition: transform .5s cubic-bezier(.4,0,.2,1);
            z-index: 0;
        }

        .portfolio-cover-bg::before {
            content: '';
            position: absolute;
            top: -35px; right: -35px;
            width: 130px; height: 130px;
            border-radius: 50%;
            background: rgba(255,255,255,.09);
            pointer-events: none;
        }

        .portfolio-cover-bg::after {
            content: '';
            position: absolute;
            bottom: -25px; left: -25px;
            width: 100px; height: 100px;
            border-radius: 50%;
            background: rgba(255,255,255,.06);
            pointer-events: none;
        }

        .portfolio-card:hover .portfolio-cover-bg {
            transform: scale(1.1);
        }

        /* Cover backgrounds — لون مختلف لكل فئة */
        .portfolio-cover-1 { background: linear-gradient(135deg, #1e3a8a, #1d4ed8); } /* website — blue */
        .portfolio-cover-2 { background: linear-gradient(135deg, #4c1d95, #6d28d9); } /* brand — purple */
        .portfolio-cover-3 { background: linear-gradient(135deg, #14532d, #15803d); } /* automation — green */
        .portfolio-cover-4 { background: linear-gradient(135deg, #1e3a8a, #2563eb); } /* website — indigo */
        .portfolio-cover-5 { background: linear-gradient(135deg, #134e4a, #0f766e); } /* training — teal */
        .portfolio-cover-6 { background: linear-gradient(135deg, #9a3412, #c2410c); } /* digital — orange */

        .portfolio-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            z-index: 3;
            display: inline-flex;
            align-items: center;
            background: rgba(255,255,255,.18);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,.32);
            color: #fff;
            font-family: var(--font-heading);
            font-size: .7rem;
            font-weight: 700;
            padding: 5px 13px;
            border-radius: 50px;
            box-shadow: 0 2px 10px rgba(0,0,0,.25);
            letter-spacing: .03em;
            white-space: nowrap;
        }

        body.rtl .portfolio-badge,
        body.ltr .portfolio-badge {
            left: 14px;
            right: auto;
        }

        .portfolio-result-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 16px 20px;
            background: linear-gradient(to top, rgba(8, 17, 42, 0.92) 30%, transparent);
            z-index: 1;
            color: var(--gold-light);
            font-weight: 700;
            font-size: 0.95rem;
            text-align: start;
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: var(--font-heading);
        }

        .portfolio-body {
            padding: 20px;
            text-align: start;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .portfolio-client {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 4px;
        }

        .portfolio-industry {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 12px;
            font-weight: 600;
        }

        .portfolio-service {
            font-size: 0.9rem;
            color: var(--text-primary);
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .portfolio-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: auto;
        }

        .portfolio-tag {
            background-color: var(--surface);
            color: var(--text-secondary);
            font-size: 0.725rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 4px;
            border: 1px solid var(--border);
        }

        /* ==========================================
       TESTIMONIALS SECTION CUSTOM STYLES
       ========================================== */
        #testimonials {
            background-color: var(--surface);
            background-image: radial-gradient(rgba(26, 43, 95, 0.04) 1.5px, transparent 0);
            background-size: 24px 24px;
            position: relative;
            padding: 50px 0;
        }
        @media (min-width: 1024px) {
            #testimonials { padding: 60px 0; }
        }

        .testimonials-rating-summary {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            margin-bottom: 32px;
        }

        .testimonials-rating-stars {
            color: var(--gold-dark);
            font-size: 1.25rem;
            letter-spacing: 2px;
        }

        .testimonials-rating-text {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
        }

        .testimonials-slider-container {
            position: relative;
            width: 100%;
            margin-top: 40px;
        }

        .testimonials-track-wrapper {
            overflow-x: auto;
            overflow-y: hidden;
            direction: ltr;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            padding: 15px 0; /* padding جانبي على الـ container فقط */
            margin: 0 52px;  /* مساحة جانبية للأسهم دون التأثير على عرض البطاقات */
        }

        .testimonials-track-wrapper::-webkit-scrollbar {
            display: none;
        }

        .testimonials-track {
            display: flex;
            gap: 24px;
            width: 100%;
        }

        .testimonial-card-wrapper {
            flex: 0 0 100%;
            /* default mobile */
            display: flex;
            scroll-snap-align: start;
        }

        @media (min-width: 768px) {
            .testimonial-card-wrapper {
                flex: 0 0 calc((100% - 24px) / 2);
            }
        }

        @media (min-width: 1024px) {
            .testimonial-card-wrapper {
                flex: 0 0 calc((100% - 48px) / 3);
            }
        }

        .testimonial-card {
            background-color: var(--bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            padding: 32px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 100%;
            transition: var(--transition);
            border: 1px solid rgba(0, 0, 0, 0.02);
            min-height: 360px;
        }

        body.rtl .testimonial-card {
            direction: rtl;
            text-align: right;
        }

        body.ltr .testimonial-card {
            direction: ltr;
            text-align: left;
        }

        .testimonial-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(201, 168, 76, 0.15);
        }

        .testimonial-quote-icon {
            position: absolute;
            top: 24px;
            inset-inline-end: 24px;
            width: 40px;
            height: 40px;
            opacity: 0.08;
            color: var(--gold);
            pointer-events: none;
        }

        .testimonial-stars {
            color: var(--gold-dark);
            font-size: 0.95rem;
            margin-bottom: 16px;
        }

        .testimonial-text {
            font-style: italic;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.65;
            margin-bottom: 24px;
            flex-grow: 1;
            min-height: 150px;
        }

        .testimonial-divider {
            border-top: 1px solid var(--border);
            margin-bottom: 20px;
        }

        .testimonial-client {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .testimonial-avatar-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.15rem;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        /* Gradients for avatars */
        .avatar-grad-1 {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        }

        .avatar-grad-2 {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
        }

        .avatar-grad-3 {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary) 100%);
        }

        .avatar-grad-4 {
            background: linear-gradient(135deg, #7C3AED 0%, #C084FC 100%);
        }

        .avatar-grad-5 {
            background: linear-gradient(135deg, #0D9488 0%, #2DD4BF 100%);
        }

        .avatar-grad-6 {
            background: linear-gradient(135deg, #E11D48 0%, #FB7185 100%);
        }

        .avatar-grad-7 {
            background: linear-gradient(135deg, #EA580C 0%, #FDBA74 100%);
        }

        .avatar-grad-8 {
            background: linear-gradient(135deg, #16A34A 0%, #4ADE80 100%);
        }

        .testimonial-details {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .testimonial-name {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--text-primary);
        }

        .testimonial-title {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .testimonial-date {
            font-size: 0.7rem;
            color: var(--text-secondary);
            margin-inline-start: auto;
            align-self: flex-end;
        }

        /* Slider Arrows */
        .slider-arrow {
            position: absolute;
            top: calc(50% - 24px);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--bg);
            border: 1px solid var(--border);
            color: var(--text-primary);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: var(--transition);
        }

        .slider-arrow:hover {
            background-color: var(--primary);
            border-color: var(--primary);
            color: var(--gold);
        }

        .slider-arrow-prev {
            inset-inline-start: 8px;
        }

        .slider-arrow-next {
            inset-inline-end: 8px;
        }

        /* إظهار الأسهم على جميع الشاشات */
        @media (max-width: 1023px) {
            .slider-arrow {
                display: flex;
                width: 38px !important;
                height: 38px !important;
            }
        }
        @media (max-width: 600px) {
            .slider-arrow {
                width: 32px !important;
                height: 32px !important;
            }
            .testimonials-track-wrapper {
                margin: 0 40px;
            }
        }

        /* Slider Dots */
        .slider-dots {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin-top: 32px;
            flex-wrap: wrap;
        }

        .testimonial-page-status {
            margin-top: 12px;
            font-size: 0.85rem;
            color: var(--text-secondary);
            font-weight: 600;
        }

        .slider-dot,
        .testimonial-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--border);
            cursor: pointer;
            transition: var(--transition);
        }

        .slider-dot.active,
        .testimonial-dot.active {
            width: 24px;
            border-radius: var(--radius-full);
            background-color: var(--gold);
        }

        /* ==========================================
       HERO (#home) CUSTOM STYLES
       ========================================== */
        #home {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, #08112A 0%, #1A2B5F 50%, #0D1B3E 100%);
            overflow: hidden;
            padding-top: 120px;
            padding-bottom: 60px;
            z-index: 1;
        }

        /* Subtle grid pattern overlay */
        #home::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 30 0 L 0 0 0 30' fill='none' stroke='rgba%28255, 255, 255, 0.04%29' stroke-width='1'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 2;
        }

        /* Animated mesh blobs */
        .mesh-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.15;
            z-index: 1;
            pointer-events: none;
        }

        .mesh-1 {
            width: 450px;
            height: 450px;
            background: var(--gold);
            top: -10%;
            right: 10%;
            animation: float-mesh-1 20s ease-in-out infinite alternate;
        }

        .mesh-2 {
            width: 500px;
            height: 500px;
            background: #1A2B5F;
            bottom: -10%;
            left: 10%;
            animation: float-mesh-2 25s ease-in-out infinite alternate;
        }

        .mesh-3 {
            width: 300px;
            height: 300px;
            background: var(--gold-light);
            top: 40%;
            left: 30%;
            animation: float-mesh-3 15s ease-in-out infinite alternate;
        }

        @keyframes float-mesh-1 {
            0% {
                transform: translate(0, 0) scale(1);
            }

            50% {
                transform: translate(60px, -40px) scale(1.1);
            }

            100% {
                transform: translate(0, 0) scale(1);
            }
        }

        @keyframes float-mesh-2 {
            0% {
                transform: translate(0, 0) scale(1.1);
            }

            50% {
                transform: translate(-80px, 50px) scale(0.9);
            }

            100% {
                transform: translate(0, 0) scale(1.1);
            }
        }

        @keyframes float-mesh-3 {
            0% {
                transform: translate(0, 0) scale(1);
            }

            50% {
                transform: translate(40px, 60px) scale(1.2);
            }

            100% {
                transform: translate(0, 0) scale(1);
            }
        }

        .hero-container {
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: calc(100vh - 180px);
            width: 100%;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            align-items: center;
            width: 100%;
            flex-grow: 1;
        }

        @media (min-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1.2fr 0.8fr;
            }
        }

        .hero-content {
            position: relative;
            background: radial-gradient(circle at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
            padding: 20px;
            border-radius: var(--radius-lg);
            text-align: start;
        }

        body.rtl .hero-content {
            text-align: right;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            background-color: rgba(201, 168, 76, 0.1);
            color: var(--gold-light);
            font-size: 0.825rem;
            font-weight: 700;
            border-radius: var(--radius-full);
            border: 1px solid rgba(201, 168, 76, 0.3);
            margin-bottom: 24px;
            gap: 8px;
        }

        .hero-title {
            font-family: var(--font-heading);
            font-size: clamp(38px, 5vw, 72px);
            font-weight: 800;
            color: var(--bg);
            line-height: 1.2;
            margin-bottom: 24px;
        }

        .hero-title span,
        .hero h1 em,
        .hero h1 span {
            font-style: normal !important;
        }

        .hero-title .word-span {
            display: inline-block;
            opacity: 0;
            transform: translateY(20px);
            animation: wordFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        }

        .hero-title .word-gradient {
            background: none;
            -webkit-background-clip: initial;
            background-clip: initial;
            -webkit-text-fill-color: initial;
            color: #C9A84C;
            font-style: normal !important;
            font-weight: 800;
        }

        @keyframes wordFadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-subtitle {
            font-size: clamp(16px, 1.8vw, 20px);
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.8;
            max-width: 520px;
            margin-bottom: 36px;
        }

        .hero-ctas {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 24px;
        }

        .cta-arrow {
            transition: var(--transition);
        }

        .btn-primary:hover .cta-arrow {
            transform: translateX(-5px);
        }

        body.ltr .btn-primary:hover .cta-arrow {
            transform: translateX(5px) rotate(180deg);
        }

        body.ltr .cta-arrow {
            transform: rotate(180deg);
        }

        .hero-trust-badges {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 16px;
        }

        .hero-trust-badges span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .hero-trust-badges .bullet {
            color: var(--gold);
            opacity: 0.7;
        }

        /* Left Visual Column */
        .hero-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            min-height: 350px;
        }

        .hero-svg-container {
            position: relative;
            width: 100%;
            max-width: 400px;
            aspect-ratio: 1;
        }

        .hero-svg {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.15));
        }

        /* Concentric rings rotation */
        .svg-ring-outer {
            transform-origin: 50px 50px;
            animation: rotate-clockwise 30s linear infinite;
        }

        .svg-ring-middle {
            transform-origin: 50px 50px;
            animation: rotate-counter-clockwise 25s linear infinite;
        }

        .svg-ring-inner {
            transform-origin: 50px 50px;
            animation: rotate-clockwise 15s linear infinite;
        }

        .svg-pulsing-core {
            animation: pulse-core 3s ease-in-out infinite;
        }

        @keyframes rotate-clockwise {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        @keyframes rotate-counter-clockwise {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(-360deg);
            }
        }

        @keyframes pulse-core {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.8;
                filter: drop-shadow(0 0 2px var(--gold));
            }

            50% {
                transform: scale(1.25);
                opacity: 1;
                filter: drop-shadow(0 0 12px var(--gold-light));
            }
        }

        /* HTML floating particle elements */
        .hero-particles {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 2;
        }

        .hero-particle {
            position: absolute;
            width: 5px;
            height: 5px;
            background-color: var(--gold-light);
            border-radius: 50%;
            opacity: 0.5;
        }

        .hp-1 {
            top: 20%;
            left: 10%;
            animation: float-particle 8s ease-in-out infinite;
        }

        .hp-2 {
            top: 75%;
            left: 15%;
            animation: float-particle 12s ease-in-out infinite 2s;
        }

        .hp-3 {
            top: 30%;
            right: 10%;
            animation: float-particle 10s ease-in-out infinite 1s;
        }

        .hp-4 {
            bottom: 20%;
            right: 20%;
            animation: float-particle 9s ease-in-out infinite 3s;
        }

        @keyframes float-particle {

            0%,
            100% {
                transform: translateY(0) translateX(0);
                opacity: 0.4;
            }

            50% {
                transform: translateY(-20px) translateX(15px);
                opacity: 0.8;
            }
        }

        /* Client Logos Strip */
        .hero-logos-strip {
            margin-top: 48px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 24px;
            width: 100%;
        }

        .logos-label {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 16px;
            font-weight: 600;
            text-align: center;
        }

        .logos-marquee {
            overflow: hidden;
            width: 100%;
            display: flex;
            mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        }

        .logos-track {
            display: flex;
            gap: 80px;
            width: max-content;
            animation: marquee-scroll 30s linear infinite;
        }

        .logo-item {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 40px;
        }

        .logo-item svg {
            height: 30px;
            fill: #64748B;
            color: #64748B;
            opacity: 0.45;
            transition: var(--transition);
            cursor: pointer;
        }

        .logo-item svg:hover {
            opacity: 1;
            fill: var(--gold-light);
            color: var(--gold-light);
            filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.3));
        }

        @keyframes marquee-scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(calc(-50% - 40px));
            }
        }

        /* Mobile stack adjust */
        @media (max-width: 1023px) {
            #home {
                min-height: auto;
                padding-top: 120px;
                padding-bottom: 40px;
            }

            .hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 32px;
            }

            .hero-content {
                text-align: center;
            }

            body.rtl .hero-content {
                text-align: center;
            }

            .hero-subtitle {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-ctas {
                justify-content: center;
            }

            .hero-trust-badges {
                justify-content: center;
            }

            .hero-visual {
                min-height: auto;
                order: 2;
            }

            .hero-svg-container {
                max-width: 280px;
            }

            .hero-content {
                order: 1;
            }
        }

        /* ==========================================
       STATS & WHY US ENHANCEMENTS
       ========================================== */
        .stat-card {
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.03);
        }

        .stat-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }

        .why-us-icon-box {
            width: 70px;
            height: 70px;
            border-radius: var(--radius);
            background-color: rgba(201, 168, 76, 0.1);
            color: var(--gold-dark);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            margin-bottom: 20px;
            transition: var(--transition);
        }

        .card:hover .why-us-icon-box {
            background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            color: var(--darker-bg);
            transform: scale(1.1) rotate(5deg);
        }

        .why-us-badge {
            display: inline-block;
            background-color: rgba(201, 168, 76, 0.08);
            color: var(--gold-dark);
            padding: 4px 12px;
            border-radius: var(--radius-full);
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 12px;
            transition: var(--transition);
            border: 1px solid rgba(201, 168, 76, 0.15);
        }

        .card:hover .why-us-badge {
            background: var(--gold);
            color: var(--dark-bg);
            border-color: var(--gold);
        }

        /* ==========================================
       CUSTOMER JOURNEY / PROCESS SECTION
       ========================================== */
        #process {
            background-color: var(--bg);
            position: relative;
            overflow: hidden;
        }

        .process-steps {
            display: grid;
            grid-template-columns: 1fr;
            gap: 32px;
            position: relative;
            margin-top: 48px;
        }

        @media (min-width: 1024px) {
            .process-steps {
                grid-template-columns: repeat(4, 1fr);
                gap: 24px;
            }
            
            /* Dotted connecting line on desktop */
            .process-steps::before {
                content: '';
                position: absolute;
                top: 50px;
                left: 10%;
                right: 10%;
                height: 2px;
                border-top: 2px dashed rgba(201, 168, 76, 0.3);
                z-index: 0;
            }
        }

        .process-step-card {
            background-color: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            position: relative;
            z-index: 1;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .process-step-card:hover {
            transform: translateY(-5px);
            border-color: var(--gold);
            box-shadow: var(--shadow-md);
            background-color: var(--bg);
        }

        .process-step-number {
            width: 50px;
            height: 50px;
            background-color: var(--gold);
            color: var(--dark-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
            transition: var(--transition);
        }

        .process-step-card:hover .process-step-number {
            transform: scale(1.1);
            background-color: var(--primary);
            color: var(--gold);
        }

        .process-step-title {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 12px;
        }

        .process-step-desc {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }
        
        /* Custom validation error styles */
        .contact-form-group input[aria-invalid="true"],
        .contact-form-group select[aria-invalid="true"],
        .contact-form-group textarea[aria-invalid="true"] {
            border-color: var(--error) !important;
            box-shadow: 0 0 10px rgba(239, 68, 68, 0.15) !important;
        }

        /* ==========================================
       ABOUT SECTION CUSTOM STYLES
       ========================================== */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 48px;
            align-items: flex-start;
            text-align: start;
        }

        body.rtl .about-grid {
            text-align: right;
        }

        @media (min-width: 1024px) {
            .about-grid {
                grid-template-columns: 1.2fr 0.8fr;
            }
        }

        .about-left {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .about-p {
            font-size: 1.05rem;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        .mvv-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-top: 16px;
        }

        @media (min-width: 640px) {
            .mvv-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .mvv-card {
            background-color: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            gap: 12px;
            position: relative;
            overflow: hidden;
        }

        .mvv-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background-color: var(--gold);
            transform: scaleY(0);
            transition: var(--transition);
            transform-origin: bottom;
        }

        body.rtl .mvv-card::before {
            left: auto;
            right: 0;
        }

        .mvv-card:hover::before {
            transform: scaleY(1);
        }

        .mvv-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
            border-color: rgba(201, 168, 76, 0.2);
        }

        .mvv-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: rgba(201, 168, 76, 0.1);
            color: var(--gold-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            transition: var(--transition);
        }

        .mvv-card:hover .mvv-icon {
            background-color: var(--gold);
            color: var(--darker-bg);
            transform: rotate(360deg);
        }

        .mvv-title {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .mvv-text {
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .achievements-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .achievement-card {
            background-color: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            transition: var(--transition);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .achievement-card:hover {
            transform: translateY(-6px);
            background-color: var(--bg);
            box-shadow: var(--shadow);
            border-color: rgba(201, 168, 76, 0.25);
        }

        .achievement-icon {
            font-size: 2rem;
            margin-bottom: 4px;
        }

        .achievement-number {
            font-family: var(--font-heading);
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
        }

        .achievement-card:hover .achievement-number {
            background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .achievement-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            font-weight: 600;
        }

        /* Team Section Styles */
        .team-container {
            margin-top: 80px;
            border-top: 1px solid var(--border);
            padding-top: 60px;
        }

        .team-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 32px;
            margin-top: 40px;
        }

        @media (min-width: 640px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .team-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .team-card {
            background-color: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            text-align: center;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            height: 100%;
        }

        .team-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: rgba(201, 168, 76, 0.3);
        }

        .team-avatar {
            position: relative;
            width: 112px;
            height: 112px;
            margin: 0 auto;
        }

        .team-avatar-img {
            width: 112px;
            height: 112px;
            border-radius: 50%;
            border: 3px solid #c9a227;
            object-fit: cover;
            object-position: center top;
            transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease;
            display: block;
            background: linear-gradient(135deg, var(--surface), #fff);
        }

        .team-card:hover .team-avatar-img,
        .team-card:focus-within .team-avatar-img {
            transform: scale(1.12);
            box-shadow: 0 14px 28px rgba(13, 27, 62, 0.18);
        }

        .team-avatar .status-dot {
            position: absolute;
            bottom: 7px;
            right: 8px;
            width: 12px;
            height: 12px;
            background-color: #2ec4b6; /* لون أخضر جذاب للحالة نشط */
            border: 2px solid var(--bg);
            border-radius: 50%;
            z-index: 2;
        }

        @media (max-width: 520px) {
            .team-avatar,
            .team-avatar-img {
                width: 96px;
                height: 96px;
            }

            .team-avatar .status-dot {
                bottom: 6px;
                right: 7px;
            }
        }

        .avatar-blue-grad {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        }

        .avatar-gold-grad {
            background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
        }

        .avatar-purple-grad {
            background: linear-gradient(135deg, #7C3AED 0%, #C084FC 100%);
        }

        .avatar-rose-grad {
            background: linear-gradient(135deg, #E11D48 0%, #FB7185 100%);
        }

        .team-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .team-name {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .team-role {
            font-size: 0.825rem;
            font-weight: 700;
            color: var(--gold-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .team-bio {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .team-skills {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
            margin-top: auto;
        }

        .team-skill-tag {
            background-color: var(--surface);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            font-size: 0.7rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: var(--radius-full);
        }

        /* Partners Strip Styles */
        .partners-section {
            margin-top: 64px;
            border-top: 1px solid var(--border);
            padding-top: 40px;
            width: 100%;
        }

        .partners-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 40px;
        }

        .partner-logo-item {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--text-light);
            opacity: 0.5;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
        }

        .partner-logo-item i {
            font-size: 1.25rem;
        }

        .partner-logo-item:hover {
            opacity: 1;
            color: var(--primary);
        }

        body.rtl .partner-logo-item:hover {
            color: var(--gold-dark);
        }

        /* ==========================================
       BLOG SECTION CUSTOM STYLES
       ========================================== */
        .blog-card {
            background-color: var(--bg);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
            transition: var(--transition);
        }


        .art-image {
            position: absolute; inset: 0; width: 100%; height: 100%;
            object-fit: cover; z-index: 0;
            transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
            opacity: 0.9;
        }
        .blog-card:hover .art-image { transform: scale(1.08); }
        .art-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(13,27,62,0.9) 0%, rgba(13,27,62,0.1) 80%);
            z-index: 1; transition: opacity 0.4s;
        }
        .blog-card:hover .art-overlay { opacity: 0.5; }

        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(201, 168, 76, 0.15), 0 5px 15px rgba(13, 27, 62, 0.1) !important;
            
        }

        .blog-cover {
            height: 200px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .blog-cover-bg {
            position: absolute;
            inset: 0;
            transition: var(--transition);
            z-index: 0;
        }

        .blog-card:hover .blog-cover-bg {
            transform: scale(1.08);
        }

        .blog-cover-1 {
            background: linear-gradient(135deg, #08112A 0%, #1A2B5F 100%);
        }

        .blog-cover-2 {
            background: linear-gradient(135deg, #A8892E 0%, #E8C96D 100%);
        }

        .blog-cover-3 {
            background: linear-gradient(135deg, #7C3AED 0%, #C084FC 100%);
        }

        .blog-cover-pattern {
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14z' fill='rgba%28255,255,255,0.05%29' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.4;
            z-index: 1;
        }

        .blog-cover-icon {
            font-size: 3.5rem;
            color: rgba(255, 255, 255, 0.95);
            filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
            z-index: 2;
            transition: var(--transition);
        }

        .blog-card:hover .blog-cover-icon {
            transform: scale(1.15) rotate(-5deg);
        }

        .blog-cover-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 3;
        }

        body.ltr .blog-cover-badge {
            right: auto;
            left: 16px;
        }

        .blog-cover-badge .badge {
            background-color: var(--gold) !important;
            color: var(--dark-bg) !important;
            border: none !important;
            font-weight: 800 !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
            backdrop-filter: none !important;
            text-shadow: none !important;
            padding: 6px 14px !important;
        }

        .blog-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .blog-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }

        .blog-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .blog-title {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.45;
            margin-bottom: 10px;
            transition: var(--transition);
            font-family: var(--font-heading);
            cursor: pointer;
            text-align: start;
        }

        body.rtl .blog-title {
            text-align: right;
        }

        .blog-title:hover {
            color: var(--gold-dark);
        }

        .blog-excerpt {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.6;
            text-align: justify;
            text-justify: inter-word;
            margin-bottom: 16px;
            text-align: start;
        }

        body.rtl .blog-excerpt {
            text-align: right;
        }

        .blog-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 20px;
            margin-top: auto;
        }

        .blog-tag {
            background-color: var(--surface-2);
            color: var(--primary);
            font-size: 0.725rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: var(--radius-full);
            border: 1px solid rgba(26, 43, 95, 0.05);
        }

        .blog-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid var(--border);
            padding-top: 16px;
            margin-top: auto;
        }

        .blog-author-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .blog-author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
            font-family: var(--font-heading);
        }

        .blog-author-name {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .blog-read-link {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--gold-dark);
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: var(--transition);
        }

        .blog-read-link:hover {
            color: var(--gold-dark);
        }

        body.rtl .blog-read-link i {
            transform: scaleX(-1);
        }

        .blog-btn-container {
            margin-top: 48px;
        }

        /* Hot badge on cover overlay */
        .blog-hot-badge {
            position: absolute;
            top: 16px;
            left: 16px;
            z-index: 3;
            background-color: var(--error);
            color: white;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: var(--radius-full);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
        }

        body.ltr .blog-hot-badge {
            left: auto;
            right: 16px;
        }

        /* ==========================================
       CTA BANNER SECTION CUSTOM STYLES
       ========================================== */
        #cta-banner {
            background: linear-gradient(135deg, #08112A 0%, #1A2B5F 50%, #0D1B3E 100%);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        /* Animated Gold Particles */
        .cta-particles-container {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
        }

        .cta-particle {
            position: absolute;
            background-color: var(--gold);
            border-radius: 50%;
            opacity: 0.4;
            animation: ctaFloat 8s ease-in-out infinite alternate;
        }

        @keyframes ctaFloat {
            0% {
                transform: translateY(0) translateX(0);
            }

            100% {
                transform: translateY(-40px) translateX(30px);
            }
        }

        /* Define individual floating coordinates for 10 particles */
        .cta-particle:nth-child(1) {
            width: 8px;
            height: 8px;
            top: 15%;
            left: 10%;
            animation-duration: 6s;
        }

        .cta-particle:nth-child(2) {
            width: 6px;
            height: 6px;
            top: 75%;
            left: 15%;
            animation-duration: 9s;
            animation-delay: 1s;
        }

        .cta-particle:nth-child(3) {
            width: 10px;
            height: 10px;
            top: 35%;
            left: 45%;
            animation-duration: 7s;
            animation-delay: 0.5s;
        }

        .cta-particle:nth-child(4) {
            width: 5px;
            height: 5px;
            top: 85%;
            left: 55%;
            animation-duration: 10s;
            animation-delay: 2s;
        }

        .cta-particle:nth-child(5) {
            width: 8px;
            height: 8px;
            top: 20%;
            left: 80%;
            animation-duration: 8s;
            animation-delay: 1.5s;
        }

        .cta-particle:nth-child(6) {
            width: 6px;
            height: 6px;
            top: 60%;
            left: 85%;
            animation-duration: 7s;
        }

        .cta-particle:nth-child(7) {
            width: 7px;
            height: 7px;
            top: 45%;
            left: 8%;
            animation-duration: 9s;
            animation-delay: 0.3s;
        }

        .cta-particle:nth-child(8) {
            width: 9px;
            height: 9px;
            top: 10%;
            left: 60%;
            animation-duration: 6s;
            animation-delay: 1.2s;
        }

        .cta-particle:nth-child(9) {
            width: 8px;
            height: 8px;
            top: 90%;
            left: 30%;
            animation-duration: 8s;
        }

        .cta-particle:nth-child(10) {
            width: 5px;
            height: 5px;
            top: 50%;
            left: 70%;
            animation-duration: 11s;
            animation-delay: 0.7s;
        }

        .cta-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 48px;
            align-items: center;
            text-align: start;
            position: relative;
            z-index: 2;
        }

        body.rtl .cta-grid {
            text-align: right;
        }

        @media (min-width: 1024px) {
            .cta-grid {
                grid-template-columns: 1.2fr 0.8fr;
            }
        }

        .cta-left-decor {
            display: none;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        @media (min-width: 1024px) {
            .cta-left-decor {
                display: flex;
            }
        }

        @keyframes ctaSvgRotate {
            0% {
                transform: rotate(0deg) translateY(0);
            }

            50% {
                transform: rotate(180deg) translateY(-15px);
            }

            100% {
                transform: rotate(360deg) translateY(0);
            }
        }

        .cta-svg-motif {
            width: 300px;
            height: 300px;
            opacity: 0.7;
            animation: ctaSvgRotate 25s linear infinite;
        }

        .cta-buttons-row {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-top: 32px;
            justify-content: flex-start;
        }

        body.rtl .cta-buttons-row {
            justify-content: flex-start;
        }

        @media (max-width: 640px) {
            .cta-buttons-row {
                flex-direction: column;
            }

            .cta-buttons-row .btn {
                width: 100%;
            }
        }

        .cta-trust-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 32px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.875rem;
            align-items: center;
            justify-content: flex-start;
        }

        .cta-trust-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        /* ==========================================
       CONTACT SECTION CUSTOM STYLES
       ========================================== */
        .contact-grid-60-40 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 48px;
            align-items: flex-start;
            text-align: start;
        }

        body.rtl .contact-grid-60-40 {
            text-align: right;
        }

        @media (min-width: 1024px) {
            .contact-grid-60-40 {
                grid-template-columns: 1.2fr 0.8fr;
            }
        }

        .contact-form-wrapper {
            background-color: var(--bg);
        }

        .form-row-2 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        @media (min-width: 640px) {
            .form-row-2 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .contact-form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .contact-form-group label {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--primary);
        }

        .contact-form-group input,
        .contact-form-group select,
        .contact-form-group textarea {
            width: 100%;
            padding: 14px 16px;
            background-color: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            color: var(--text-primary);
            font-family: var(--font-body);
            font-size: 0.95rem;
            transition: var(--transition);
            outline: none;
        }

        .contact-form-group input:focus,
        .contact-form-group select:focus,
        .contact-form-group textarea:focus {
            
            background-color: var(--bg);
            box-shadow: 0 0 12px rgba(201, 168, 76, 0.2) !important;
        }

        /* Custom select dropdown arrows */
        .contact-form-group select {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg fill='%231A2B5F' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/%3E</svg>");
            background-repeat: no-repeat;
            background-position: left 14px center;
            padding-left: 40px !important;
        }

        body.rtl .contact-form-group select {
            background-position: right 14px center;
            padding-right: 40px !important;
            padding-left: 14px !important;
        }

        .contact-checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-top: 10px;
        }

        .contact-checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            border: 1px solid var(--border);
            border-radius: 4px;
            cursor: pointer;
            accent-color: var(--gold);
            flex-shrink: 0;
            margin-top: 3px;
        }

        .contact-checkbox-group label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
            cursor: pointer;
        }

        /* Form submit status messages */
        .form-status {
            display: none;
            padding: 16px;
            border-radius: var(--radius);
            margin-bottom: 24px;
            font-size: 0.95rem;
            font-weight: 600;
            text-align: center;
            line-height: 1.5;
        }

        .form-status.success {
            display: block;
            background-color: rgba(16, 185, 129, 0.12);
            border: 1px solid var(--success);
            color: var(--success);
        }

        .form-status.error {
            display: block;
            background-color: rgba(239, 68, 68, 0.12);
            border: 1px solid var(--error);
            color: var(--error);
        }

        /* Submit Button Spinner */
        .btn-submit-text {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .submit-spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease infinite;
        }

        /* Contact Info Panel */
        .contact-info-col {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark-bg) 100%);
            color: white;
            border-radius: var(--radius-lg);
            padding: 40px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .contact-info-col::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23C9A84C' stroke-width='1' opacity='0.05'/%3E%3C/svg%3E");
            background-size: 60px 60px;
            pointer-events: none;
            z-index: -1;
        }

        .contact-info-title {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold);
        }

        .contact-info-items {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        .contact-info-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.08);
            color: var(--gold-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .contact-info-content {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .contact-info-label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 700;
            text-transform: uppercase;
        }

        .contact-info-value {
            font-size: 1rem;
            font-weight: 600;
            color: white;
        }

        .contact-info-value a {
            color: white;
            transition: var(--transition);
        }

        .contact-info-value a:hover {
            color: var(--gold-light);
        }

        .btn-whatsapp-action {
            background-color: #25D366;
            color: white;
            font-weight: 700;
            padding: 10px 20px;
            border-radius: var(--radius);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
            margin-top: 10px;
            text-decoration: none;
            width: fit-content;
            font-size: 0.9rem;
        }

        .btn-whatsapp-action:hover {
            background-color: #20ba5a;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
            color: white;
        }

        .contact-info-social-title {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--gold-light);
        }

        .contact-info-social-links {
            display: flex;
            gap: 12px;
            margin-top: 12px;
        }

        .contact-info-social-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .contact-info-social-btn:hover {
            background-color: var(--gold) !important;
            color: var(--darker-bg) !important;
            transform: translateY(-3px);
            box-shadow: var(--shadow-gold);
        }

        /* ==========================================
       FOOTER SECTION CUSTOM STYLES
       ========================================== */
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: start;
            margin-bottom: 48px;
        }

        body.rtl .footer-grid {
            text-align: right;
        }

        @media (min-width: 640px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
            }
        }

        .footer-col {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .footer-desc {
            font-size: 0.875rem;
            color: var(--text-light);
            line-height: 1.7;
        }

        .footer-col-title {
            font-family: var(--font-heading);
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--bg);
            position: relative;
            padding-bottom: 8px;
        }

        .footer-col-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: var(--gold);
        }

        body.rtl .footer-col-title::after {
            left: auto;
            right: 0;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        ul.footer-links {
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        .footer-links a {
            font-size: 0.875rem;
            color: var(--text-light);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--gold-light);
            transform: translateX(3px);
        }

        body.rtl .footer-links a:hover {
            transform: translateX(-3px);
        }

        body.ltr .footer-links a i {
            transform: rotate(180deg);
        }

        .footer-divider {
            border: 0;
            height: 1px;
            background-color: var(--gold);
            opacity: 0.3;
            margin: 40px 0 24px 0;
        }

        .footer-newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .newsletter-input-group {
            display: flex;
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius);
            padding: 4px;
        }

        .newsletter-input-group input {
            flex-grow: 1;
            padding: 10px;
            color: white;
            font-size: 0.875rem;
            background: transparent;
            border: none;
            outline: none;
        }

        .newsletter-input-group button {
            background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            color: var(--darker-bg);
            border-radius: 8px;
            padding: 0 16px;
            font-weight: 700;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            position: relative;
            animation: footerSubscribePulse 2.4s ease-in-out infinite;
        }

        .newsletter-input-group button:hover {
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            transform: scale(1.02);
            animation-play-state: paused;
        }

        .newsletter-input-group button:focus-visible {
            outline: 2px solid var(--gold-light);
            outline-offset: 3px;
            animation-play-state: paused;
        }

        @keyframes footerSubscribePulse {
            0%, 100% {
                box-shadow:
                    0 0 0 0 rgba(201, 168, 76, 0.45),
                    0 4px 12px rgba(201, 168, 76, 0.18);
                transform: translateY(0);
            }
            45% {
                box-shadow:
                    0 0 0 8px rgba(201, 168, 76, 0),
                    0 8px 22px rgba(201, 168, 76, 0.34);
                transform: translateY(-1px);
            }
        }

        .footer-status {
            display: none;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--success);
            margin-top: 4px;
        }

        .footer-status.visible {
            display: block;
        }

        .footer-vat {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 8px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            align-items: center;
        }

        @media (min-width: 768px) {
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
            }
        }

        .footer-copyright {
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .footer-bottom-links {
            display: flex;
            gap: 20px;
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .footer-bottom-links a:hover {
            color: var(--gold-light);
        }

        /* Footer brand social buttons */
        .footer-brand-social {
            display: flex;
            gap: 10px;
            margin-top: 16px;
        }

        .footer-social-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .footer-social-btn:hover {
            background-color: var(--gold) !important;
            color: var(--darker-bg) !important;
            transform: translateY(-3px);
            box-shadow: var(--shadow-gold);
        }


        /* Services Card Hover Effects */
        /* service-card transitions — see consolidated block near end of styles */

        /* ==========================================
           FOOTER TYPOGRAPHY & READABILITY OVERRIDES
           ========================================== */
        footer a, 
        footer p, 
        footer li, 
        footer span:not([data-i18n="nav.logoText"]) {
            font-size: 13.5px !important;
            line-height: 1.9 !important;
            color: #A0AEC0 !important;
        }
        footer h4, 
        footer h3 {
            font-size: 15px !important;
            color: #E2E8F0 !important;
        }
        footer a:hover {
            color: #C9A84C !important;
        }
        #footer .footer-col {
            line-height: 1.9 !important;
        }
        #footer .footer-links a,
        #footer .footer-bottom-links a {
            padding-top: 6px !important;
            padding-bottom: 6px !important;
        }
        #footer .footer-brand-social {
            margin-top: 12px !important;
            gap: 12px !important;
        }
        #footer .footer-bottom-links {
            gap: 24px !important;
        }

        /* ==========================================
           HERO ROTATING TEXT OVERLAY & CORE BACKDROP
           ========================================== */
        .hero-rotating-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            white-space: nowrap;
            pointer-events: none;
            z-index: 10;
            opacity: 1;
            text-shadow: 0 2px 10px rgba(13, 27, 62, 0.9), 0 0 4px rgba(13, 27, 62, 0.9);
        }
        #hero-word {
            color: #C9A84C !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            transition: opacity 0.3s ease !important;
        }
        .svg-pulsing-core {
            fill: rgba(13, 27, 62, 0.65) !important;
            stroke: var(--gold) !important;
            stroke-width: 1px !important;
            transform-origin: 50px 50px;
        }

        /* ==========================================
           TESTIMONIALS SLIDER FIXES (Fix 6 — مُصلَّح)
           ========================================== */
        .testimonials-slider, #testimonials-slider {
            overflow: visible !important; /* يجب أن يكون visible حتى تظهر الأسهم */
        }
        .slider-arrow {
            width: 44px !important;
            height: 44px !important;
            border-radius: 50% !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            display: flex !important;  /* إظهار الأسهم دائماً */
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 20 !important;
        }
        .slider-arrow:hover {
            background-color: var(--primary) !important;
            border-color: var(--primary) !important;
            color: var(--gold) !important;
            transform: translateY(-50%) scale(1.08) !important;
        }
        .slider-dot {
            width: 8px !important;
            height: 8px !important;
            border-radius: 50% !important;
            background-color: var(--border) !important;
        }
        .slider-dot.active {
            width: 12px !important;
            height: 12px !important;
            border-radius: 50% !important;
            background-color: #C9A84C !important;
        }

        /* ==========================================
           FAQ ACCORDION SECTION CUSTOM STYLES
           ========================================== */
        .faq-accordion-container {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
        }
        .faq-item {
            background: #FFFFFF !important;
            border: 1px solid var(--border) !important;
            border-radius: var(--radius) !important;
            margin-bottom: 16px !important;
            overflow: hidden !important;
            transition: all 0.3s ease !important;
        }
        .faq-question-btn {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px !important;
            background: transparent !important;
            border: none !important;
            outline: none !important;
            color: var(--text-primary) !important;
            font-size: 1.1rem !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
        }
        body.rtl .faq-question-btn {
            text-align: right !important;
        }
        body.ltr .faq-question-btn {
            text-align: left !important;
        }
        .faq-question-btn:hover {
            color: var(--gold-dark) !important;
            background: rgba(26, 43, 95, 0.02) !important;
        }
        .faq-icon {
            color: var(--gold-dark) !important;
            font-size: 1rem !important;
            transition: transform 0.3s ease !important;
        }
        .faq-answer-panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease-out;
            padding: 0 24px !important;
            background: rgba(26, 43, 95, 0.02) !important;
        }
        .faq-answer-panel p {
            color: var(--text-secondary) !important;
            font-size: 0.95rem !important;
            line-height: 1.8 !important;
            padding-bottom: 20px !important;
            margin: 0 !important;
        }
        .faq-item.active {
            
            box-shadow: var(--shadow) !important;
        }
        .faq-item.active .faq-question-btn {
            color: var(--gold-dark) !important;
        }
        body.rtl .faq-item.active .faq-question-btn {
            border-right: 3px solid var(--gold) !important;
        }
        body.ltr .faq-item.active .faq-question-btn {
            border-left: 3px solid var(--gold) !important;
        }
        .faq-item.active .faq-icon {
            transform: rotate(45deg) !important;
            color: var(--gold-dark) !important;
        }
    
/* ── Scroll Progress Bar ── */
#progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  overflow: visible; /* مهم جداً */
}
#progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #C9A84C, #E8C96A);
  transition: width 0.15s ease;
  position: relative;
}
#progress-label {
  position: absolute;
  right: 4px;         /* دائماً على يمين الـ container */
  top: 6px;           /* تعديل: تم تغييرها من -10px إلى 6px لتكون مرئية أسفل الشريط بدلاً من أن تكون خارج الشاشة */
  white-space: nowrap;
  font-size: 11px;
  color: #c9a227;  /* أو لونك الذهبي الحالي */
  font-weight: bold;
  background: rgba(0,0,0,0.5);
  padding: 1px 4px;
  border-radius: 3px;
  pointer-events: none;
}



/* ── Admin Hidden Trigger ── */
#admin-secret-link:focus {
  opacity: 0 !important;
  pointer-events: none !important;
  outline: none;
}

        /* ── Animated Performance Dashboard ── */
        .perf-dashboard {
            background: rgba(13, 27, 62, 0.45);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(201, 168, 76, 0.2);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
            position: relative;
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            color: #fff;
            overflow: visible;
        }
        .dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding-bottom: 12px;
        }
        .dashboard-title {
            font-family: var(--font-heading);
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .dashboard-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            color: #3CD070;
            font-weight: 600;
        }
        .status-pulse {
            width: 8px;
            height: 8px;
            background-color: #3CD070;
            border-radius: 50%;
            box-shadow: 0 0 0 0 rgba(60, 208, 112, 0.7);
            animation: status-pulse-anim 1.5s infinite;
        }
        @keyframes status-pulse-anim {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(60, 208, 112, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(60, 208, 112, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(60, 208, 112, 0); }
        }
        .dashboard-graph-wrapper {
            position: relative;
            height: 180px;
            width: 100%;
        }
        .dashboard-graph-svg {
            width: 100%;
            height: 100%;
            overflow: visible;
        }
        .graph-path {
            stroke-dasharray: 600;
            stroke-dashoffset: 600;
            animation: draw-graph-anim 3s ease-out forwards;
        }
        @keyframes draw-graph-anim {
            to { stroke-dashoffset: 0; }
        }
        .graph-grid {
            stroke: rgba(255, 255, 255, 0.05);
            stroke-width: 1;
        }

        /* ── Pricing Countdown Timer Widget ── */
        .pricing-timer {
            background: rgba(255, 255, 255, 0.05);
            border: none;
            border-radius: 8px;
            padding: 12px;
            margin: 16px 0;
            text-align: center;
        }
        .timer-title {
            font-size: 0.75rem;
            color: var(--text-secondary);
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
        }
        .timer-countdown {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            direction: ltr;
        }
        .timer-segment {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 32px;
        }
        .timer-num {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--gold);
            line-height: 1;
        }
        .timer-unit {
            font-size: 0.6rem;
            color: var(--text-muted);
            margin-top: 2px;
        }
        .timer-divider {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--gold);
            animation: timer-flash 1s infinite;
        }
        @keyframes timer-flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

        /* ── Cookie Consent Banner ── */
        .cookie-banner-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            left: 24px;
            background: rgba(13, 27, 62, 0.85);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(201, 168, 76, 0.25);
            border-radius: var(--radius-lg);
            padding: 18px 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            z-index: 9999;
            transform: translateY(180%);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        @media (min-width: 768px) {
            .cookie-banner-container { flex-direction: row; right: 32px; left: auto; max-width: 500px; }
        }
        .cookie-banner-container.show-banner { transform: translateY(0); }
        .cookie-content { display: flex; align-items: center; gap: 12px; }
        .cookie-icon { font-size: 1.5rem; }
        .cookie-text { font-size: 0.85rem; color: #fff; line-height: 1.5; margin: 0; text-align: right; }
        [dir=ltr] .cookie-text { text-align: left; }
        .cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
        .cookie-buttons button { padding: 8px 16px; font-size: 0.8rem; font-weight: 700; }

        /* ── Exit Intent Popup ── */
        .exit-popup-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(6, 12, 30, 0.9);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.45s ease;
        }
        .exit-popup-overlay.show-popup { opacity: 1; pointer-events: auto; }

        .exit-popup-card {
            background: linear-gradient(145deg, #0B1630 0%, #172248 55%, #080F22 100%);
            border: 1px solid rgba(201,168,76,0.22);
            border-radius: 22px;
            max-width: 460px;
            width: 92%;
            padding: 0;
            box-shadow:
                0 0 0 1px rgba(255,255,255,0.04) inset,
                0 32px 80px rgba(0,0,0,0.65),
                0 0 60px rgba(201,168,76,0.07);
            position: relative;
            transform: scale(0.82) translateY(24px);
            transition: transform 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
            text-align: center;
            overflow: hidden;
        }
        .exit-popup-overlay.show-popup .exit-popup-card {
            transform: scale(1) translateY(0);
        }

        /* Gold top accent line */
        .exit-popup-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg,
                transparent 0%,
                var(--gold-dark) 25%,
                var(--gold-light) 50%,
                var(--gold-dark) 75%,
                transparent 100%);
            z-index: 3;
        }

        /* Background radial glow */
        .exit-popup-card::after {
            content: '';
            position: absolute;
            bottom: -80px; left: 50%;
            transform: translateX(-50%);
            width: 340px; height: 200px;
            background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
            pointer-events: none;
            z-index: 0;
        }

        .exit-popup-close-btn {
            position: absolute;
            top: 14px; right: 14px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50%;
            width: 34px; height: 34px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.15rem;
            color: rgba(255,255,255,0.4);
            cursor: pointer;
            z-index: 10;
            line-height: 1;
            transition: all 0.25s ease;
        }
        .exit-popup-close-btn:hover {
            background: rgba(201,168,76,0.15);
            border-color: rgba(201,168,76,0.35);
            color: var(--gold-light);
            transform: rotate(90deg);
        }

        .exit-popup-content {
            padding: 34px 30px 28px;
            position: relative;
            z-index: 2;
        }

        @keyframes badge-shimmer {
            0%   { background-position: -200% center; }
            100% { background-position:  200% center; }
        }
        .exit-popup-badge {
            background: linear-gradient(90deg,
                rgba(201,168,76,0.08) 0%,
                rgba(201,168,76,0.24) 40%,
                rgba(201,168,76,0.08) 100%);
            background-size: 200% auto;
            color: var(--gold-light);
            border: 1px solid rgba(201,168,76,0.32);
            padding: 7px 18px;
            border-radius: 50px;
            font-size: 0.78rem;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 18px;
            letter-spacing: 0.4px;
            animation: badge-shimmer 3s linear infinite;
        }

        .popup-icon-wrap {
            font-size: 3rem;
            display: block;
            margin-bottom: 14px;
            filter: drop-shadow(0 0 18px rgba(201,168,76,0.45));
            animation: icon-sway 3s ease-in-out infinite;
        }
        @keyframes icon-sway {
            0%, 100% { transform: rotate(-4deg) scale(1); }
            50%       { transform: rotate(4deg)  scale(1.07); }
        }

        .exit-popup-title {
            font-family: var(--font-heading);
            color: #FFFFFF;
            font-size: 1.55rem;
            font-weight: 800;
            margin-bottom: 14px;
            line-height: 1.35;
        }

        .popup-value-box {
            background: linear-gradient(135deg,
                rgba(201,168,76,0.12) 0%,
                rgba(201,168,76,0.05) 100%);
            border: 1px solid rgba(201,168,76,0.2);
            border-radius: 12px;
            padding: 11px 20px;
            margin: 0 0 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
        }
        .popup-value-striked {
            font-size: 0.9rem;
            color: rgba(255,255,255,0.3);
            text-decoration: line-through;
            text-decoration-color: rgba(201,168,76,0.5);
            font-weight: 600;
        }
        .popup-value-free {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--gold-light);
            font-family: var(--font-heading);
        }

        .exit-popup-desc {
            font-size: 0.87rem;
            color: rgba(255,255,255,0.55);
            line-height: 1.7;
            margin-bottom: 18px;
        }

        .popup-trust-row {
            display: flex;
            justify-content: center;
            gap: 14px;
            margin-bottom: 22px;
            flex-wrap: wrap;
        }
        .popup-trust-item {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.78rem;
            color: rgba(255,255,255,0.5);
        }
        .popup-trust-item i {
            color: #4ade80;
            font-size: 0.65rem;
            filter: drop-shadow(0 0 3px rgba(74,222,128,0.5));
        }

        .exit-popup-cta-wrap {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .exit-popup-cta-wrap .btn-primary {
            background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
            color: #0D1B3E;
            font-weight: 800;
            border: none;
            box-shadow: 0 6px 24px rgba(201,168,76,0.35);
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
        .exit-popup-cta-wrap .btn-primary:hover {
            box-shadow: 0 10px 36px rgba(201,168,76,0.5);
            transform: translateY(-2px);
        }
        .popup-soft-close {
            background: none;
            border: none;
            font-size: 0.78rem;
            color: rgba(255,255,255,0.28);
            cursor: pointer;
            padding: 4px 8px;
            transition: color 0.2s ease;
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-color: rgba(255,255,255,0.15);
        }
        .popup-soft-close:hover { color: rgba(255,255,255,0.55); }

        /* ── WhatsApp Greeting Bubble ── */
        #whatsapp-wrapper {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 999;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
        .whatsapp-greeting-bubble {
            background: #25D366;
            color: white;
            padding: 10px 16px;
            border-radius: var(--radius-md);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            position: relative;
            font-size: 0.85rem;
            font-weight: 600;
            max-width: 220px;
            opacity: 0;
            transform: scale(0.8) translateY(10px);
            transform-origin: bottom left;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            pointer-events: none;
        }
        .whatsapp-greeting-bubble.show-bubble {
            opacity: 1;
            transform: scale(1) translateY(0);
            pointer-events: auto;
        }
        .whatsapp-greeting-bubble::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 22px;
            border-width: 6px 6px 0;
            border-style: solid;
            border-color: #25D366 transparent;
            display: block;
            width: 0;
        }
        .whatsapp-greeting-close-btn {
            position: absolute;
            top: 2px;
            left: 6px;
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.95rem;
            cursor: pointer;
            font-weight: 700;
            line-height: 1;
        }
        .whatsapp-greeting-close-btn:hover { color: white; }
        .whatsapp-greeting-text { margin: 0; padding-left: 10px; text-align: right; }
        [dir=ltr] .whatsapp-greeting-text { padding-left: 0; padding-right: 10px; text-align: left; }

/* ==========================================
   HERO ANIMATED DASHBOARD - PATCHED VERSION
   ========================================== */
.dash-shell{
  width:100%;max-width:460px;margin:0 auto;
  background:linear-gradient(145deg,#0a1628,#0d1b3e);
  border-radius:20px;border:1px solid rgba(201,168,76,.25);
  box-shadow:0 0 0 1px rgba(201,168,76,.08),0 24px 64px rgba(0,0,0,.55),0 8px 24px rgba(201,168,76,.08);
  overflow:hidden;position:relative;direction:ltr;
  opacity:0;animation:dashReveal .8s ease both .3s;
}
@keyframes dashReveal{
  from{opacity:0;transform:translateY(20px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.dash-titlebar{
  display:flex;align-items:center;gap:8px;padding:12px 16px;
  background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.06);
}
.dash-dots{display:flex;gap:5px}
.dash-dot{width:10px;height:10px;border-radius:50%}
.dd-r{background:#ff5f57}.dd-y{background:#febc2e}.dd-g{background:#28c840}
.dash-url{
  flex:1;background:rgba(255,255,255,.07);border-radius:6px;
  padding:4px 10px;font-size:.7rem;color:rgba(255,255,255,.45);font-family:monospace;
}
.dash-body{padding:16px;display:flex;flex-direction:column;gap:12px}

/* بطاقات الإحصاء */
.dash-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.dash-stat-card{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);
  border-radius:10px;padding:10px 8px;text-align:center;
  position:relative;overflow:hidden;
}
.dash-stat-card::before{
  content:'';position:absolute;inset:0;opacity:0;
  background:linear-gradient(135deg,rgba(201,168,76,.15),transparent);
  animation:cardGlow 3s ease-in-out infinite;
}
.dash-stat-card:nth-child(2)::before{animation-delay:1s}
.dash-stat-card:nth-child(3)::before{animation-delay:2s}
@keyframes cardGlow{0%,100%{opacity:0}50%{opacity:1}}
.dsc-icon{font-size:.95rem;margin-bottom:4px}
.dsc-val{
  font-size:1.05rem;font-weight:800;color:#C9A84C;
  line-height:1;font-family:'Cairo',sans-serif;
}
.dsc-lbl{font-size:.58rem;color:rgba(255,255,255,.4);margin-top:2px;font-family:'Tajawal',sans-serif}

/* الرسم البياني */
.dash-chart-wrap{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);
  border-radius:12px;padding:12px;
}
.dash-chart-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.dch-title{font-size:.7rem;font-weight:700;color:rgba(255,255,255,.7)}
.dch-badge{
  font-size:.6rem;background:rgba(39,174,96,.2);color:#2ecc71;
  border-radius:20px;padding:2px 8px;
  animation:badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse{0%,100%{opacity:.7}50%{opacity:1}}
.dash-svg-chart{width:100%;height:76px;overflow:visible}
.chart-area{fill:url(#aG);opacity:0;animation:fadeArea .8s ease forwards 2.2s}
.chart-line{
  fill:none;stroke:url(#lG);stroke-width:2.5;
  stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:600;stroke-dashoffset:600;
  animation:drawLine 2s ease forwards .5s;
}
@keyframes drawLine{to{stroke-dashoffset:0}}
@keyframes fadeArea{to{opacity:1}}
.chart-dot{
  fill:#C9A84C;opacity:0;
  transform-box:fill-box;transform-origin:center;
  animation:dotPop .3s ease forwards;
}
.chart-dot:nth-of-type(1){animation-delay:.9s}
.chart-dot:nth-of-type(2){animation-delay:1.1s}
.chart-dot:nth-of-type(3){animation-delay:1.3s}
.chart-dot:nth-of-type(4){animation-delay:1.5s}
.chart-dot:nth-of-type(5){animation-delay:1.7s}
.chart-dot:nth-of-type(6){animation-delay:1.9s}
.chart-dot:nth-of-type(7){animation-delay:2.1s}
@keyframes dotPop{
  0%{opacity:0;transform:scale(0)}
  80%{transform:scale(1.5)}
  100%{opacity:1;transform:scale(1)}
}
.chart-labels{display:flex;justify-content:space-between;padding:4px 2px 0}
.chart-labels span{font-size:.54rem;color:rgba(255,255,255,.3)}

/* أشرطة التقدم */
.dash-proj-wrap{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);
  border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:7px;
}
.dash-proj-header{display:flex;justify-content:space-between;margin-bottom:2px}
.dph-t{font-size:.65rem;font-weight:700;color:rgba(255,255,255,.6)}
.dph-c{font-size:.65rem;color:#C9A84C}
.dpi{display:flex;align-items:center;gap:8px}
.dpi-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}
.dpi-lbl{font-size:.62rem;color:rgba(255,255,255,.5);flex:1}
.dpi-bar-bg{width:80px;height:4px;background:rgba(255,255,255,.08);border-radius:2px}
.dpi-bar{height:100%;border-radius:2px;width:0;animation:barGrow 1.2s ease forwards}
@keyframes barGrow{to{width:var(--w)}}
.dpi-pct{font-size:.58rem;color:rgba(255,255,255,.35);width:24px;text-align:left}

/* Ticker */
.dash-ticker{
  display:flex;align-items:center;gap:8px;overflow:hidden;
  background:rgba(201,168,76,.07);border:1px solid rgba(201,168,76,.15);
  border-radius:8px;padding:6px 10px;
}
.dt-lbl{font-size:.6rem;font-weight:800;color:#C9A84C;white-space:nowrap;flex-shrink:0}
.dt-txt{
  font-size:.6rem;color:rgba(255,255,255,.45);white-space:nowrap;
  animation:tickScroll 14s linear infinite;
}
@keyframes tickScroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-60%)}
}
@media (max-width: 520px){
  .dash-shell{max-width:100%;border-radius:16px}
  .dash-body{padding:12px}
  .dash-stats-row{gap:6px}
  .dsc-val{font-size:.95rem}
  .dpi-bar-bg{width:64px}
}

        /* TASK 3: Scroll Reveal Animations */
        .reveal { opacity:0; transform:translateY(30px); transition:opacity 0.6s ease, transform 0.6s ease; }
        .reveal.visible { opacity:1; transform:translateY(0); }
        .reveal-left { opacity:0; transform:translateX(-30px); transition:opacity 0.6s ease, transform 0.6s ease; }
        .reveal-left.visible { opacity:1; transform:translateX(0); }

        /* TASK 1: Dots navigation styling */
        .testimonial-dot {
          width: 10px;
          height: 10px;
          border-radius: 9999px;
          background: var(--border);
          border: 0;
          cursor: pointer;
          transition: var(--transition);
        }
        .testimonial-dot.active {
          width: 24px;
          background: var(--gold);
        }

        /* TASK 4: Contact Section Position Override */
        #contact {
            position: relative !important;
            margin-top: 0 !important;
            transform: none !important;
        }

        /* TASK 5: Mobile layout overrides */
        @media (max-width: 768px) {
          .hero-content { grid-template-columns: 1fr; }
          .hero-dashboard-mock { display: none; }
        }
        @media (max-width: 480px) {
          .hero-dashboard-mock { display: none; }
        }

        /* ============================================================
           === ANIMATION LAYER — Premium CSS ===
           Injected separately; no existing class names modified.
           ============================================================ */

        /* ── A. Extra keyframes ── */
        @keyframes fadeInUpAnim {
          from { opacity: 0; transform: translateY(40px); }
          to   { opacity: 1; transform: translateY(0);    }
        }
        @keyframes slideInLeftAnim {
          from { opacity: 0; transform: translateX(-50px); }
          to   { opacity: 1; transform: translateX(0);     }
        }
        @keyframes slideInRightAnim {
          from { opacity: 0; transform: translateX(50px); }
          to   { opacity: 1; transform: translateX(0);    }
        }
        @keyframes scaleInAnim {
          from { opacity: 0; transform: scale(0.88); }
          to   { opacity: 1; transform: scale(1);    }
        }
        @keyframes floatDot {
          0%,100% { transform: translateY(0)   rotate(0deg);   opacity: 0.6; }
          50%      { transform: translateY(-22px) rotate(180deg); opacity: 1;   }
        }
        @keyframes reviewBounce {
          0%,100% { transform: translateY(0px);   }
          40%      { transform: translateY(-9px);  }
          60%      { transform: translateY(-5px);  }
        }
        @keyframes dashboardSlideIn {
          from { opacity: 0; transform: translateY(36px) scale(0.96); }
          to   { opacity: 1; transform: translateY(0)    scale(1);    }
        }
        @keyframes progressBarGrow {
          from { width: 0%; }
          to   { width: 100%; }
        }
        @keyframes spinSlow {
          from { transform: rotate(0deg); }
          to   { transform: rotate(360deg); }
        }
        @keyframes goldBorderGlow {
          0%,100% { box-shadow: 0 0 0   2px rgba(201,168,76,0.0); }
          50%      { box-shadow: 0 0 16px 4px rgba(201,168,76,0.35); }
        }

        /* ── B. Scroll-reveal base states ── */
        /* Elements start invisible and animate in when .anim-visible is added */
        .anim-fade-up {
          opacity: 0;
          transform: translateY(40px);
          transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
                      transform 0.7s cubic-bezier(0.4,0,0.2,1);
          will-change: opacity, transform;
        }
        .anim-slide-left {
          opacity: 0;
          transform: translateX(-50px);
          transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
                      transform 0.7s cubic-bezier(0.4,0,0.2,1);
          will-change: opacity, transform;
        }
        .anim-slide-right {
          opacity: 0;
          transform: translateX(50px);
          transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
                      transform 0.7s cubic-bezier(0.4,0,0.2,1);
          will-change: opacity, transform;
        }
        .anim-scale-in {
          opacity: 0;
          transform: scale(0.88);
          transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
                      transform 0.65s cubic-bezier(0.4,0,0.2,1);
          will-change: opacity, transform;
        }
        /* Visible state */
        .anim-fade-up.anim-visible,
        .anim-slide-left.anim-visible,
        .anim-slide-right.anim-visible,
        .anim-scale-in.anim-visible {
          opacity: 1;
          transform: none;
        }
        /* Stagger delays */
        .anim-delay-1 { transition-delay: 80ms  !important; }
        .anim-delay-2 { transition-delay: 160ms !important; }
        .anim-delay-3 { transition-delay: 240ms !important; }
        .anim-delay-4 { transition-delay: 320ms !important; }

        /* ── C. Hero section animations ── */
        .word-span {
          display: inline-block;
          opacity: 0;
          animation: fadeInUpAnim 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
        }
        .hero-badge {
          opacity: 0;
          animation: fadeInUpAnim 0.6s 0.05s cubic-bezier(0.4,0,0.2,1) forwards;
        }
        .hero-subtitle {
          opacity: 0;
          animation: fadeInUpAnim 0.65s 0.45s cubic-bezier(0.4,0,0.2,1) forwards;
        }
        .hero-ctas {
          opacity: 0;
          animation: fadeInUpAnim 0.65s 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
        }
        .hero-trust-badges {
          opacity: 0;
          animation: fadeInUpAnim 0.6s 0.75s cubic-bezier(0.4,0,0.2,1) forwards;
        }
        .hero-visual {
          animation: dashboardSlideIn 0.9s 0.35s cubic-bezier(0.4,0,0.2,1) both;
        }
        /* Floating dashboard */
        .hero-visual .hero-dashboard-mock {
          animation: float 5s ease-in-out infinite;
        }

        /* Drifting gold dots */
        .hero-gold-dot {
          position: absolute;
          width: 8px; height: 8px;
          border-radius: 50%;
          background: var(--gold);
          opacity: 0;
          pointer-events: none;
          animation: floatDot var(--dot-dur, 5s) ease-in-out infinite;
          animation-delay: var(--dot-delay, 0s);
        }

        /* ── D. Hover micro-interactions ── */
        /* Service cards */
        /* service-card — see consolidated block */

        /* Pricing cards */
        .pricing-card {
          transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
                      box-shadow 0.32s cubic-bezier(0.4,0,0.2,1);
        }
        .pricing-card:hover {
          transform: translateY(-8px);
          box-shadow: 0 20px 48px rgba(26,43,95,0.22), 0 0 0 2px rgba(201,168,76,0.3);
        }

        /* Portfolio cards */
        .portfolio-card {
          transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
                      box-shadow 0.32s cubic-bezier(0.4,0,0.2,1);
          overflow: hidden;
        }
        .portfolio-card:hover {
          transform: translateY(-6px) scale(1.015);
          box-shadow: 0 18px 44px rgba(26,43,95,0.2);
        }
        /* Portfolio image zoom on hover */
        .portfolio-card .portfolio-card-image img,
        .portfolio-card img {
          transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
        }
        .portfolio-card:hover .portfolio-card-image img,
        .portfolio-card:hover img {
          transform: scale(1.05);
        }

        /* Team cards */
        .team-card {
          transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
                      box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
        }
        .team-card:hover {
          transform: translateY(-5px);
          box-shadow: 0 14px 36px rgba(26,43,95,0.16);
        }

        /* Blog cards */
        .blog-card {
          transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
                      box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
        }

        .art-image {
            position: absolute; inset: 0; width: 100%; height: 100%;
            object-fit: cover; z-index: 0;
            transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
            opacity: 0.9;
        }
        .blog-card:hover .art-image { transform: scale(1.08); }
        .art-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(13,27,62,0.9) 0%, rgba(13,27,62,0.1) 80%);
            z-index: 1; transition: opacity 0.4s;
        }
        .blog-card:hover .art-overlay { opacity: 0.5; }

        .blog-card:hover {
          transform: translateY(-5px);
          box-shadow: 0 14px 36px rgba(26,43,95,0.16);
        }

        /* Product cards — hover handled by main rule using --prd-rgb */

        /* Why-us / feature cards */
        .card {
          transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
                      box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
        }
        .card:hover {
          transform: translateY(-5px);
          box-shadow: 0 14px 36px rgba(26,43,95,0.15);
        }

        /* Process step cards */
        .process-step-card {
          transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
                      box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
        }
        .process-step-card:hover {
          transform: translateY(-4px);
          box-shadow: 0 10px 28px rgba(26,43,95,0.14);
        }

        /* Nav links underline animation */
        .nav-links a,
        .nav-links li > a {
          position: relative;
        }
        .nav-links a::after,
        .nav-links li > a::after {
          content: '';
          position: absolute;
          bottom: -3px;
          right: 0;
          width: 0;
          height: 2px;
          background: var(--gold);
          border-radius: 2px;
          transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
        }
        .nav-links a:hover::after,
        .nav-links li > a:hover::after {
          width: 100%;
        }

        /* ── E. Scroll-top button rotate ── */
        #scroll-top {
          transition: transform 0.3s cubic-bezier(0.4,0,0.2,1),
                      background 0.3s ease,
                      box-shadow 0.3s ease,
                      opacity 0.3s ease;
        }
        #scroll-top:hover {
          transform: translateY(-3px) rotate(360deg) !important;
          box-shadow: 0 8px 24px rgba(201,168,76,0.4);
        }

        /* ── F. Contact form float labels & glow ── */
        .contact-form-group {
          position: relative;
        }
        .contact-form-group input:focus,
        .contact-form-group select:focus,
        .contact-form-group textarea:focus {
          box-shadow: 0 0 0 3px rgba(201,168,76,0.18), 0 2px 12px rgba(201,168,76,0.1);
          transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }

        /* ── G. Pricing toggle smooth pill ── */
        .pricing-toggle-btn {
          transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
        }
        .pricing-toggle-btn:hover:not(.active) {
          transform: scale(1.04);
        }

        /* ── H. Stats section pulse rings ── */
        .stat-number, [data-target] {
          transition: color 0.3s ease;
        }

        /* ── I. Section heading animated underline ── */
        .section-title {
          position: relative;
          display: block;       /* كتلة كاملة — يبقى كل عنوان في سطره الخاص */
          padding-bottom: 10px; /* مساحة للخط الذهبي */
        }
        .section-title::after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
          width: 0;
          height: 3px;
          background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
          border-radius: 3px;
          transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
        }
        /* للعناوين غير المتمركزة (text-start) يبدأ الخط من اليمين */
        .text-start .section-title::after,
        [style*="text-align: start"] .section-title::after {
          left: auto;
          right: 0;
          transform: none;
        }
        .section-title.anim-visible::after,
        .section-title.visible::after {
          width: 60px;
        }

        /* ── J. FAQ accordion smooth icon spin ── */
        .faq-btn .faq-icon,
        .faq-question .faq-icon {
          display: inline-block;
          transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        }
        .faq-item.active .faq-btn .faq-icon,
        .faq-item.active .faq-question .faq-icon {
          transform: rotate(45deg);
        }

        /* ── K. Testimonial card fade ── */
        .testimonial-card-wrapper {
          transition: opacity 0.4s ease, transform 0.4s ease;
        }

        /* ── L. Prefers-reduced-motion ── */
        @media (prefers-reduced-motion: reduce) {
          *,
          *::before,
          *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
          }
          .word-span,
          .hero-badge,
          .hero-subtitle,
          .hero-ctas,
          .hero-trust-badges,
          .hero-visual {
            opacity: 1;
            transform: none;
          }
        }

    @property --angle {
      syntax: '<angle>';
      initial-value: 0deg;
      inherits: false;
    }
    @keyframes spin-border {
      to { --angle: 360deg; }
    }

    .blog-card::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      border: 3px solid transparent;
      background: conic-gradient(from var(--angle), transparent 50%, #00e1ff 80%, #0051ff 100%) border-box;
      -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: destination-out;
      mask-composite: exclude;
      opacity: 0;
      animation: spin-border 2s linear infinite;
      transition: opacity 0.4s ease;
      pointer-events: none;
      z-index: 10;
    }
    .blog-card:hover::after {
      opacity: 1;
    }


    /* Services Card Glow (Gold/Orange) */
    .service-card::after {
      content: ""; position: absolute; inset: 0; border-radius: inherit;
      border: 3px solid transparent;
      background: conic-gradient(from var(--angle), transparent 40%, rgb(var(--acc-rgb,201,168,76)) 75%, rgba(var(--acc-rgb,201,168,76),.4) 100%) border-box;
      -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: destination-out;
      mask-composite: exclude;
      opacity: 0; animation: spin-border 2.5s linear infinite;
      transition: opacity 0.4s ease; pointer-events: none; z-index: 10;
    }
    .service-card:hover::after { opacity: 1; }
    .service-card { position: relative; }

    /* Product Card Glow (Purple/Pink) */
    .product-card::after {
      content: ""; position: absolute; inset: 0; border-radius: inherit;
      border: 3px solid transparent;
      background: conic-gradient(from var(--angle), transparent 40%, rgb(var(--prd-rgb,201,168,76)) 75%, rgba(var(--prd-rgb,201,168,76),.4) 100%) border-box;
      -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: destination-out;
      mask-composite: exclude;
      opacity: 0; animation: spin-border 2.5s linear infinite;
      transition: opacity 0.4s ease; pointer-events: none; z-index: 10;
    }
    .product-card:hover::after { opacity: 1; }
    .product-card { position: relative; }

    /* Team Card Glow (Green/Teal) */
    .team-card::after {
      content: ""; position: absolute; inset: 0; border-radius: inherit;
      border: 3px solid transparent;
      background: conic-gradient(from var(--angle), transparent 50%, #6ee7b7 80%, #059669 100%) border-box;
      -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: destination-out;
      mask-composite: exclude;
      opacity: 0; animation: spin-border 2.5s linear infinite;
      transition: opacity 0.4s ease; pointer-events: none; z-index: 10;
    }
    .team-card:hover::after { opacity: 1; }
    .team-card { position: relative; }


        /* Input Textbox Glow Effect */
        .contact-form-group input,
        .contact-form-group select,
        .contact-form-group textarea {
            border: 2px solid transparent !important;
            background: var(--surface); /* Default background */
            background-clip: padding-box;
            position: relative;
        }

        .contact-form-group input:hover,
        .contact-form-group select:hover,
        .contact-form-group textarea:hover {
            background: 
                linear-gradient(var(--surface), var(--surface)) padding-box,
                conic-gradient(from var(--angle), transparent 50%, #00e1ff 80%, #0051ff 100%) border-box !important;
            animation: spin-border 2.5s linear infinite;
        }

        .contact-form-group input:focus,
        .contact-form-group select:focus,
        .contact-form-group textarea:focus {
            background: 
                linear-gradient(var(--bg), var(--bg)) padding-box,
                conic-gradient(from var(--angle), transparent 50%, #ffd700 80%, #ff8c00 100%) border-box !important;
            animation: spin-border 2.5s linear infinite;
            outline: none !important;
            box-shadow: 0 0 15px rgba(201, 168, 76, 0.2) !important;
        }

