/* ==========================================
   UFUQSYS - Premium Corporate CSS
   Enhanced UI/UX Design System
   ========================================== */

/* ==========================================
   CSS VARIABLES - Design Tokens
   ========================================== */
:root {
    /* Primary Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-lighter: #a5b4fc;
    --primary-rgb: 99, 102, 241;

    /* Accent Colors */
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Neutral Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-elevated: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(236, 72, 153, 0.08) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.1) 0px, transparent 50%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
    --gradient-hero-text: linear-gradient(135deg, #6366f1 0%, #8b5cf6 25%, #06b6d4 50%, #ec4899 75%, #6366f1 100%);

    /* Enhanced Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 32px 64px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.25);
    --shadow-glow-lg: 0 0 100px rgba(99, 102, 241, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-colored: 0 20px 40px rgba(99, 102, 241, 0.2);

    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;
    --section-padding: 120px 0;
    --container-padding: 0 24px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Cairo', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.15;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --transition-fast: 150ms var(--ease-smooth);
    --transition-base: 300ms var(--ease-smooth);
    --transition-slow: 500ms var(--ease-smooth);
    --transition-slower: 700ms var(--ease-smooth);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 48px;
    --radius-full: 9999px;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
    --z-loader: 900;
    --z-max: 9999;
}

/* ==========================================
   DARK THEME
   ========================================== */
[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --bg-elevated: #1e1e2a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #2d2d3a;
    --border-light: #1e1e2a;
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-card: linear-gradient(180deg, rgba(30,30,42,1) 0%, rgba(18,18,26,1) 100%);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   AUTO DARK MODE DETECTION
   ========================================== */
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
        --bg-primary: #0a0a0f;
        --bg-secondary: #12121a;
        --bg-tertiary: #1a1a24;
        --bg-elevated: #1e1e2a;
        --text-primary: #f8fafc;
        --text-secondary: #94a3b8;
        --text-muted: #64748b;
        --border-color: #2d2d3a;
        --border-light: #1e1e2a;
        --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
        --gradient-card: linear-gradient(180deg, rgba(30,30,42,1) 0%, rgba(18,18,26,1) 100%);
        --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
}

/* ==========================================
   RTL SUPPORT
   ========================================== */
[dir="rtl"] {
    font-family: var(--font-arabic);
}

[dir="rtl"] .fas.fa-arrow-right::before {
    content: "\f060";
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */
/* GPU acceleration for animated elements */
.navbar,
.back-to-top,
.sticky-cta,
.cookie-banner,
.whatsapp-btn,
.service-card,
.feature-card {
    will-change: transform, opacity;
}

/* Contain paint for isolated components */
.feature-card,
.service-card-wrapper,
.industry-card,
.methodology-step {
    contain: layout style paint;
}

/* Optimize text rendering */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .particle,
    .typewriter-cursor,
    [data-animate] {
        animation: none !important;
    }
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--leading-relaxed);
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

[dir="rtl"] body {
    font-family: var(--font-arabic);
}

::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    z-index: var(--z-max);
    transition: top var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.skip-link:focus {
    top: 20px;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Focus Visible Styles for Accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* ==========================================
   LAYOUT - CONTAINER
   ========================================== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: var(--z-max);
    transition: width 50ms linear;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* ==========================================
   PAGE LOADER
   ========================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    margin-bottom: var(--space-8);
    animation: float 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

.loader-logo .logo-img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.loader-text {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-bar {
    width: 240px;
    height: 4px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.1s ease-out;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.loader-percentage {
    font-size: var(--text-3xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: var(--space-4);
    font-variant-numeric: tabular-nums;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-5) 0;
    transition: all var(--transition-base);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    transition: all var(--transition-base);
    z-index: -1;
}

.navbar.scrolled {
    padding: var(--space-3) 0;
}

.navbar.scrolled::before {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 var(--border-color), var(--shadow-sm);
}

[data-theme="dark"] .navbar.scrolled::before {
    background: rgba(10, 10, 15, 0.85);
    box-shadow: 0 1px 0 var(--border-color);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    position: relative;
    z-index: 10;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 4px 12px rgba(99, 102, 241, 0.25);
}

#langToggle {
    width: auto;
    padding: var(--space-2) var(--space-4);
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    transition: all var(--transition-fast);
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-btn.active {
    background: var(--primary);
}

.mobile-menu-btn.active span {
    background: white;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hide-mobile {
    display: inline-flex;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-glow {
    animation: btn-glow 2.5s ease-in-out infinite;
}

@keyframes btn-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(99, 102, 241, 0.55), 0 0 60px rgba(99, 102, 241, 0.2); }
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn i {
    font-size: 0.9em;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(3px);
}

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

/* Button Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FadeIn Animation for Modals */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Cookie Settings Modal Theme Support */
[data-theme="dark"] .cookie-settings-content {
    background: var(--surface);
    color: var(--text-primary);
}

[data-theme="dark"] .cookie-settings-content input[type="checkbox"] {
    accent-color: var(--primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 140px 0 30px;
    overflow: hidden;
    background: var(--gradient-mesh);
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 20s linear infinite;
}

.particle:nth-child(odd) {
    background: var(--secondary);
}

.particle:nth-child(3n) {
    background: var(--accent);
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(80vh) rotate(90deg) scale(1);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-20vh) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

/* Hero Content */
.hero-content {
    position: relative;
    min-width: 0;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge i {
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    letter-spacing: var(--tracking-tight);
}

.typewriter-container {
    display: block;
    min-height: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.typewriter {
    display: inline;
    white-space: nowrap;
}

.animated-gradient-text {
    background: var(--gradient-hero-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.typewriter-cursor {
    display: inline;
    color: var(--primary);
    font-weight: 300;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

/* Hero Service Tags */
.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero-service-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.hero-service-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-service-tag i {
    color: var(--primary);
    font-size: var(--text-sm);
}

/* Hero Buttons */
.hero-buttons,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-actions {
    margin-top: var(--space-6);
}

/* Magnetic Button Effect */
.btn-magnetic {
    position: relative;
    transition: transform 0.3s ease;
}

.btn-magnetic:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Hero Image Container - allows cards to overflow */
.hero-image {
    position: relative;
    perspective: 1000px;
    overflow: visible;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: visible;
    transform-style: preserve-3d;
}

.hero-img-main {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transition: transform var(--transition-slow);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.25;
    z-index: -1;
    transition: opacity 0.4s ease, filter 0.4s ease;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.05); }
}

/* ============================================
   3D PUZZLE ANIMATION EFFECT
   ============================================ */

/* Main container with 3D perspective */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: visible;
    perspective: 1200px;
    transform-style: preserve-3d;
    isolation: isolate;
}

/* Puzzle Container */
.puzzle-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1200px;
}

/* Hide original image when puzzle is active */
.puzzle-container .hero-img-main {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: var(--radius-2xl);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.puzzle-container.loaded .hero-img-main {
    opacity: 0; /* Keep hidden, puzzle pieces show the image */
}

/* Individual Puzzle Piece */
.puzzle-piece {
    position: absolute;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all 1.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    background-repeat: no-repeat;
}

/* Initial scattered state */
.puzzle-piece.scattered {
    opacity: 0;
}

/* Assembled state - pieces align to form full image */
.puzzle-piece.assembled {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) rotateZ(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hover effect on assembled pieces */
.hero-image-wrapper:hover .puzzle-piece.assembled {
    box-shadow: 0 4px 16px rgba(138, 79, 255, 0.25);
}

/* Soft Gradient Overlay */
.hero-cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(138, 79, 255, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-image-wrapper:hover .hero-cyber-grid {
    opacity: 1;
    animation: soft-breathe 4s ease-in-out infinite;
}

@keyframes soft-breathe {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Soft Glow Ring Effect */
.hero-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-pulse-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(138, 79, 255, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    filter: blur(10px);
}

.hero-image-wrapper:hover .hero-pulse-ring::before {
    animation: soft-glow-pulse 3s ease-in-out infinite;
}

@keyframes soft-glow-pulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Soft Light Sweep on Hover */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        rgba(138, 79, 255, 0.08),
        rgba(255, 255, 255, 0.05),
        transparent
    );
    z-index: 20;
    opacity: 0;
    transform: skewX(-15deg);
    pointer-events: none;
}

.hero-image-wrapper:hover::after {
    opacity: 1;
    animation: puzzle-sweep 2s ease-in-out;
}

@keyframes puzzle-sweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Fade in for effects */
.hero-cyber-grid,
.hero-pulse-ring {
    animation: fade-in 0.8s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

@keyframes fade-in {
    to { opacity: 1; }
}

/* Glow enhances on hover */
.hero-image:hover .hero-image-glow {
    opacity: 0.4;
    filter: blur(100px);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .puzzle-piece,
    .hero-cyber-grid,
    .hero-pulse-ring,
    .hero-image-wrapper::after {
        animation: none !important;
        transition: none !important;
    }

    .puzzle-piece {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Floating Cards - Modern Glassmorphism */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 32px rgba(138, 79, 255, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid rgba(138, 79, 255, 0.15);
    backdrop-filter: blur(12px);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-float-card:hover {
    transform: translateY(-4px) !important;
    box-shadow:
        0 12px 40px rgba(138, 79, 255, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .hero-float-card {
    background: rgba(30, 30, 40, 0.85);
    border-color: rgba(138, 79, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(138, 79, 255, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-float-card i {
    color: var(--primary);
    font-size: var(--text-lg);
    filter: drop-shadow(0 0 4px rgba(138, 79, 255, 0.4));
}

.hero-float-1 {
    top: 10%;
    left: -30px;
    animation: float-card-1 5s ease-in-out infinite;
}

.hero-float-2 {
    top: 45%;
    right: -40px;
    animation: float-card-2 6s ease-in-out infinite;
}

.hero-float-3 {
    bottom: 10%;
    left: -20px;
    animation: float-card-3 5.5s ease-in-out infinite;
}

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes float-card-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

/* Hero Stats Bar */
.hero-stats-bar {
    margin-top: var(--space-16);
    padding: var(--space-8) 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-stats-bar .container {
    max-width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
    min-width: 0;
}

.stat-item:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-lg);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.stat-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-value {
    display: flex;
    align-items: baseline;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: var(--leading-none);
    letter-spacing: var(--tracking-tight);
}

.stat-suffix {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-5);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-tag i {
    font-size: var(--text-xs);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    padding: var(--space-8) 0 var(--space-20);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-card {
    padding: var(--space-10);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: var(--text-3xl);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.feature-card p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: var(--section-padding);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card-wrapper {
    height: 100%;
}

.service-card {
    position: relative;
    height: 100%;
    min-height: 420px;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient overlay on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.03) 0%,
        rgba(139, 92, 246, 0.05) 50%,
        rgba(6, 182, 212, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

/* Top accent bar */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .service-card::after {
    transform-origin: right;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: transparent;
    box-shadow:
        0 25px 50px -12px rgba(99, 102, 241, 0.25),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-8deg);
    box-shadow:
        0 15px 35px rgba(99, 102, 241, 0.4),
        0 0 0 8px rgba(99, 102, 241, 0.1);
}

.service-card:hover .service-number {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.1);
}

.service-card:hover .service-cta {
    color: var(--primary);
    gap: var(--space-3);
}

.service-card:hover .service-cta i {
    transform: translateX(4px);
}

[dir="rtl"] .service-card:hover .service-cta i {
    transform: translateX(-4px);
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card:hover .service-features li::before {
    transform: scale(1.2);
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.service-number {
    position: absolute;
    top: var(--space-5);
    right: var(--space-6);
    font-size: 4rem;
    font-weight: 900;
    color: var(--border-color);
    line-height: 1;
    opacity: 0.5;
    transition: all var(--transition-base);
}

[dir="rtl"] .service-number {
    right: auto;
    left: var(--space-6);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: white;
    margin-bottom: var(--space-5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-base);
    position: relative;
    z-index: 1;
}

.service-icon.gradient-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.service-icon.gradient-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.service-icon.gradient-3 { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.service-icon.gradient-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.service-icon.gradient-5 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.service-icon.gradient-6 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }

.service-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0;
    position: relative;
    z-index: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    padding-top: var(--space-4);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.service-cta:hover {
    gap: var(--space-3);
    color: var(--primary-dark);
}

/* Touch active state for mobile */
.service-card.touch-active {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.service-card.touch-active::before {
    transform: scaleX(1);
}

.service-card.touch-active .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-features {
    margin: var(--space-5) 0;
    flex-grow: 1;
}

.service-features li {
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.service-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.service-features li:last-child {
    border-bottom: none;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

.about-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    font-size: var(--text-sm);
    font-weight: 600;
    border: 1px solid var(--border-light);
    z-index: 10;
}

[data-theme="dark"] .about-float-card {
    background: var(--bg-elevated);
    border-color: var(--border-color);
}

.about-float-card i {
    font-size: var(--text-xl);
    color: var(--primary);
}

.about-float-1 {
    top: 10%;
    right: -30px;
    animation: float-card-1 5s ease-in-out infinite;
}

.about-float-2 {
    bottom: 10%;
    left: -30px;
    animation: float-card-2 5s ease-in-out infinite;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-5) var(--space-8);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-colored);
}

.experience-badge .exp-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1;
}

.experience-badge .exp-text {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-top: var(--space-1);
}

/* About Content */
.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-5);
    letter-spacing: var(--tracking-tight);
}

.about-content .about-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

/* About Features */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
}

.feature-item .feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary);
    flex-shrink: 0;
    font-size: var(--text-lg);
}

.feature-item .feature-content h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.feature-item .feature-content p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
}

/* About Tech */
.about-tech {
    margin-bottom: var(--space-8);
}

.tech-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--space-3);
}

.tech-icons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.tech-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--text-xl);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tech-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   METHODOLOGY SECTION
   ========================================== */
.methodology-section {
    padding: var(--section-padding);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
}

.methodology-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: 0;
}

.methodology-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all var(--transition-base);
    z-index: 1;
}

.methodology-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary);
}

.methodology-number {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
}

.methodology-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.methodology-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.methodology-card > p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.methodology-list {
    text-align: left;
}

.methodology-list li {
    font-size: var(--text-sm);
    color: var(--text-muted);
    padding: var(--space-2) 0;
    padding-left: var(--space-5);
    position: relative;
}

.methodology-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-choose-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.why-choose-content .section-tag {
    margin-bottom: var(--space-5);
}

.why-choose-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-5);
    letter-spacing: var(--tracking-tight);
}

.why-choose-content > p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.why-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

[dir="rtl"] .why-item::before {
    left: auto;
    right: 0;
}

.why-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    background: var(--bg-elevated);
}

.why-item:hover::before {
    transform: scaleY(1);
}

.why-item:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-item:hover .why-icon i {
    animation: iconPulse 0.5s ease;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.why-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-xl);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: transform var(--transition-base);
}

.why-text {
    flex: 1;
}

.why-text h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.why-text p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* Why Choose Image */
.why-choose-image {
    position: relative;
}

.why-image-wrapper {
    position: relative;
}

.why-image-wrapper img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.why-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    font-size: var(--text-sm);
    font-weight: 600;
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .why-float-card {
    background: var(--bg-elevated);
    border-color: var(--border-color);
}

.why-float-card i {
    color: var(--primary);
}

.why-float-1 {
    top: 10%;
    left: -30px;
    animation: float-card-1 5s ease-in-out infinite;
}

.why-float-2 {
    bottom: 10%;
    right: -30px;
    animation: float-card-2 5s ease-in-out infinite;
}

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    padding: var(--space-16) var(--space-12);
    background: var(--gradient-dark);
    border-radius: var(--radius-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-5);
}

.cta-wrapper h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-tight);
}

.cta-wrapper p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: var(--text-primary);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-stats {
    display: flex;
    gap: var(--space-8);
}

.cta-stat {
    text-align: center;
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.cta-stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.cta-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
}

.industry-card {
    padding: var(--space-8) var(--space-5);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary);
}

.industry-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: var(--primary);
    transition: all var(--transition-fast);
}

.industry-card:hover .industry-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.industry-card h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.industry-card p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
}

/* ==========================================
   TECH STACK SECTION
   ========================================== */
.tech-stack-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.tech-category {
    background: var(--bg-primary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lighter);
}

.tech-category h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-color);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tech-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

[dir="rtl"] .tech-item:hover {
    transform: translateX(-5px);
}

.tech-item i {
    font-size: var(--text-lg);
    width: 24px;
    text-align: center;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.tech-item:hover i {
    color: white;
}

/* ==========================================
   ACHIEVEMENTS SECTION
   ========================================== */
.achievements-section {
    position: relative;
    padding: var(--space-24) 0;
    overflow: hidden;
}

.achievements-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.achievements-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievements-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.achievements-section .container {
    position: relative;
    z-index: 1;
}

.achievements-content {
    text-align: center;
    margin-bottom: var(--space-12);
    color: white;
}

.achievements-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-tight);
}

.achievements-content p {
    font-size: var(--text-lg);
    opacity: 0.8;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.achievement-item {
    text-align: center;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.achievement-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.achievement-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    display: inline;
    line-height: 1;
}

.achievement-suffix {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-light);
    display: inline;
}

.achievement-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-3);
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
    padding: var(--space-16) 0;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
    padding: var(--space-10) var(--space-12);
    background: var(--gradient-primary);
    border-radius: var(--radius-3xl);
    position: relative;
    overflow: hidden;
}

.newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: white;
    flex-shrink: 0;
}

.newsletter-text h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-2);
}

.newsletter-text p {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-form-inline {
    display: flex;
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input-group i {
    position: absolute;
    left: var(--space-5);
    color: var(--text-muted);
    font-size: var(--text-base);
}

.newsletter-input-group input {
    padding: var(--space-4) var(--space-5) var(--space-4) var(--space-12);
    width: 300px;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    background: white;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.newsletter-form-inline .btn {
    background: white;
    color: var(--primary);
    padding: var(--space-4) var(--space-6);
    font-weight: 700;
}

.newsletter-form-inline .btn:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-tight);
}

.contact-info > p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-lg);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.contact-text strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.contact-text span,
.contact-text a {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.contact-text a:hover {
    color: var(--primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Social Link Brand Colors */
.social-link[aria-label="LinkedIn"]:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

.social-link[aria-label="Twitter"]:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

.social-link[aria-label="GitHub"]:hover {
    background: #333;
    border-color: #333;
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}

.social-link[aria-label="WhatsApp"]:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
    padding: var(--space-10);
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-base);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

[dir="rtl"] .form-group select {
    background-position: left 16px center;
    padding-right: var(--space-5);
    padding-left: 44px;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
}

.form-group select option {
    padding: var(--space-3);
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Input Focus Line Animation */
.input-focus {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.form-group input:focus ~ .input-focus,
.form-group select:focus ~ .input-focus,
.form-group textarea:focus ~ .input-focus {
    width: 100%;
}

/* Placeholder Styles */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
    cursor: pointer;
}

.contact-form .btn {
    width: 100%;
    padding: var(--space-5);
    font-size: var(--text-base);
}

.form-note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-3);
}

/* ==========================================
   AI CHAT INTERFACE
   ========================================== */
/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

/* Contact Features */
.contact-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.contact-feature i {
    color: var(--primary);
    font-size: 16px;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

[dir="rtl"] .contact-method:hover {
    transform: translateX(-5px);
}

.contact-method.whatsapp:hover {
    border-color: #25d366;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-method.whatsapp .contact-method-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-method-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-method-info span {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.contact-method-info strong {
    font-size: var(--text-base);
    color: var(--text-primary);
}

/* ============================================
   Modern Chat Container - Complete Redesign
   ============================================ */
.contact-chat {
    width: 100%;
}

.chat-container {
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 580px;
    transition: all 0.3s var(--ease-smooth);
}

.chat-container:hover {
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(var(--primary-rgb), 0.15);
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.chat-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
}

.chat-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
}

.chat-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

.chat-header-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.chat-status-text {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
    z-index: 1;
}

.chat-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.chat-action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.chat-action-btn:active {
    transform: scale(0.95);
}

[dir="rtl"] .chat-header-actions {
    flex-direction: row-reverse;
}

/* Chat Body */
.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    overflow: hidden;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Welcome Message */
.chat-welcome {
    text-align: center;
    padding: 30px 20px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 30px rgba(var(--primary-rgb), 0.3),
        0 0 0 8px rgba(var(--primary-rgb), 0.1);
    animation: welcomeIconFloat 3s ease-in-out infinite;
}

@keyframes welcomeIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.chat-welcome-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.chat-welcome h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.chat-welcome p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Chat Messages Bubbles */
.chat-message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.3s ease;
    max-width: 85%;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
    margin-left: auto;
}

[dir="rtl"] .chat-message.user {
    margin-left: 0;
    margin-right: auto;
}

.chat-message .message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    overflow: hidden;
}

.chat-message.bot .message-avatar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.chat-message.bot .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-message.user .message-avatar {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.message-bubble {
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

.chat-message.bot .message-bubble {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[dir="rtl"] .chat-message.bot .message-bubble {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 6px;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-bottom-right-radius: 6px;
}

[dir="rtl"] .chat-message.user .message-bubble {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 6px;
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
    padding: 0 4px;
}

.chat-message.user .message-time {
    text-align: right;
}

[dir="rtl"] .chat-message.user .message-time {
    text-align: left;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: messageSlide 0.3s ease;
}

.typing-indicator .message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
    overflow: hidden;
}

.typing-indicator .message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.typing-bubble {
    background: var(--bg-primary);
    padding: 16px 20px;
    border-radius: 20px;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 6px;
    align-items: center;
}

.typing-bubble span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
    opacity: 0.7;
}

.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.7);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Quick Actions */
.chat-quick-actions {
    padding: 16px 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.chat-quick-actions:empty {
    display: none;
}

.chat-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
}

.chat-quick-btn i {
    font-size: 16px;
    color: var(--primary);
    transition: all 0.25s;
}

.chat-quick-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.chat-quick-btn:hover i {
    color: white;
    transform: scale(1.1);
}

.chat-quick-btn:active {
    transform: translateY(0);
}

/* Service/Budget Option Chips */
.chat-option-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.chat-option-chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.02);
}

/* Chat Footer */
.chat-footer {
    padding: 16px 20px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 8px 8px 8px 18px;
    transition: all 0.2s;
}

.chat-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.chat-input-wrapper textarea {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    resize: none;
    max-height: 120px;
    min-height: 24px;
    line-height: 1.5;
    padding: 4px 0;
    font-family: inherit;
}

.chat-input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.chat-input-wrapper textarea:focus {
    outline: none;
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.chat-send-btn:not(:disabled):hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.chat-send-btn:not(:disabled):active {
    transform: scale(0.95);
}

.chat-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.chat-powered i {
    color: var(--primary);
    font-size: 10px;
}

/* Contact Cards - Keep for backwards compatibility */
.ai-contact-cards {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

.ai-contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all 0.2s;
}

.ai-contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.ai-contact-card i {
    color: var(--primary);
}

.ai-contact-card.whatsapp i {
    color: #25d366;
}

.ai-contact-card.whatsapp:hover {
    border-color: #25d366;
}

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.info-card-content h4 {
    margin: 0 0 var(--space-1);
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.info-card-content a,
.info-card-content span {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-card-content a:hover {
    color: var(--primary);
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.4s var(--ease-smooth);
    z-index: 10;
}

.form-success-overlay.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-content {
    text-align: center;
    padding: var(--space-10);
    position: relative;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
}

.checkmark-svg {
    width: 100%;
    height: 100%;
}

.checkmark-circle {
    stroke: var(--success);
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: checkmark-circle 0.6s ease forwards;
}

.checkmark-check {
    stroke: var(--success);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkmark-check 0.4s 0.4s ease forwards;
}

@keyframes checkmark-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes checkmark-check {
    to { stroke-dashoffset: 0; }
}

/* Confetti Animation */
.confetti-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0;
    opacity: 0;
}

.form-success-overlay.visible .confetti {
    animation: confetti-fall 1.5s ease-out forwards;
}

.confetti:nth-child(1) { left: 10%; background: var(--primary); animation-delay: 0s; }
.confetti:nth-child(2) { left: 20%; background: var(--success); animation-delay: 0.1s; }
.confetti:nth-child(3) { left: 30%; background: var(--accent-pink); animation-delay: 0.05s; }
.confetti:nth-child(4) { left: 40%; background: var(--warning); animation-delay: 0.15s; }
.confetti:nth-child(5) { left: 50%; background: var(--accent); animation-delay: 0.08s; }
.confetti:nth-child(6) { left: 60%; background: var(--secondary); animation-delay: 0.12s; }
.confetti:nth-child(7) { left: 70%; background: var(--primary); animation-delay: 0.03s; }
.confetti:nth-child(8) { left: 80%; background: var(--success); animation-delay: 0.18s; }
.confetti:nth-child(9) { left: 25%; background: var(--accent-pink); animation-delay: 0.07s; }
.confetti:nth-child(10) { left: 55%; background: var(--warning); animation-delay: 0.13s; }
.confetti:nth-child(11) { left: 45%; background: var(--accent); animation-delay: 0.02s; }
.confetti:nth-child(12) { left: 75%; background: var(--secondary); animation-delay: 0.16s; }

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(200px) rotate(720deg) scale(0);
    }
}

.success-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.success-message {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.success-close {
    margin-top: var(--space-4);
}

/* Toast Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Contact Map */
.contact-map {
    margin-top: var(--space-16);
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(20%);
    transition: filter var(--transition-base);
}

.map-wrapper:hover iframe {
    filter: grayscale(0%);
}

.map-overlay {
    position: absolute;
    bottom: var(--space-6);
    left: var(--space-6);
    z-index: 10;
}

[dir="rtl"] .map-overlay {
    left: auto;
    right: var(--space-6);
}

.map-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 280px;
}

.map-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.map-card-content h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.map-card-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.map-directions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.map-directions:hover {
    gap: var(--space-3);
}

.map-directions i {
    font-size: var(--text-xs);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: var(--space-20) 0 var(--space-12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: var(--space-10);
}

.footer-brand .logo-img {
    height: 56px;
    margin-bottom: var(--space-5);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-5);
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

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

.footer-newsletter h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.footer-newsletter > p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    line-height: var(--leading-relaxed);
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.footer-badges img {
    height: 24px;
}

.company-registration-badge {
    margin-bottom: var(--space-3);
}

.companies-house-info {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.company-number {
    font-weight: 700;
    color: var(--primary);
}

.sic-codes {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    line-height: 1.6 !important;
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ==========================================
   FLOATING ELEMENTS
   ========================================== */

/* WhatsApp Button */
.floating-whatsapp-container {
    position: fixed;
    bottom: 100px;
    right: 25px;
    z-index: var(--z-fixed);
    animation: whatsappSlideIn 0.5s ease-out 1s both;
}

[dir="rtl"] .floating-whatsapp-container {
    right: auto;
    left: 25px;
}

@keyframes whatsappSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-whatsapp {
    position: relative;
    display: block;
    text-decoration: none;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: var(--radius-full);
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.floating-whatsapp:hover .whatsapp-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #ff4757;
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 2px solid white;
    animation: badgeBounce 2s ease-in-out infinite;
}

[dir="rtl"] .whatsapp-badge {
    right: auto;
    left: -5px;
}

@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: #25D366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    bottom: 0;
    width: 240px;
    max-width: calc(100vw - 100px);
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

[dir="rtl"] .whatsapp-tooltip {
    right: auto;
    left: 70px;
    transform: translateX(-10px) scale(0.95);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.whatsapp-tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
}

.whatsapp-name {
    font-weight: 700;
    font-size: 14px;
}

.whatsapp-status {
    font-size: 11px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.whatsapp-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #7CFC00;
    border-radius: var(--radius-full);
    display: inline-block;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.whatsapp-message {
    padding: 12px;
    background: var(--bg-secondary);
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
}

.whatsapp-cta {
    padding: 10px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #25D366;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    transition: background 0.2s ease;
    cursor: pointer;
}

.whatsapp-cta:hover {
    background: rgba(37, 211, 102, 0.15);
}

.whatsapp-tooltip:hover .whatsapp-cta {
    background: rgba(37, 211, 102, 0.1);
}

/* ==========================================
   Floating AI Chat Widget - Premium Design
   ========================================== */
.floating-chat-widget {
    position: fixed;
    bottom: 175px;
    right: 25px;
    z-index: 9998;
}

[dir="rtl"] .floating-chat-widget {
    right: auto;
    left: 25px;
}

/* Chat Toggle Button */
.chat-toggle-btn {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6366f1 0%, #8b5cf6 40%, #a855f7 100%);
    border: none;
    cursor: pointer;
    box-shadow:
        0 6px 20px rgba(99, 102, 241, 0.45),
        0 12px 40px rgba(139, 92, 246, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: chatBtnSlideIn 0.6s ease-out 1.5s both;
    overflow: visible;
}

@keyframes chatBtnSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-toggle-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow:
        0 10px 30px rgba(99, 102, 241, 0.55),
        0 20px 50px rgba(139, 92, 246, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 0 4px rgba(99, 102, 241, 0.15);
}

.chat-toggle-btn:active {
    transform: scale(0.95);
}

/* Animated Rings */
.chat-toggle-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chat-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.4);
    animation: ringPulse 3s ease-out infinite;
}

.chat-ring-1 {
    width: 68px;
    height: 68px;
    animation-delay: 0s;
}

.chat-ring-2 {
    width: 68px;
    height: 68px;
    animation-delay: 1s;
}

.chat-ring-3 {
    width: 68px;
    height: 68px;
    animation-delay: 2s;
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        border-color: rgba(99, 102, 241, 0.5);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        border-color: rgba(139, 92, 246, 0);
    }
}

.floating-chat-widget.open .chat-toggle-rings,
.floating-chat-widget:hover .chat-toggle-rings {
    display: none;
}

.chat-toggle-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.chat-toggle-icon,
.chat-toggle-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 32px;
    height: 32px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chat-toggle-icon svg,
.chat-toggle-close svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.chat-toggle-close {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-180deg) scale(0);
}

.floating-chat-widget.open .chat-toggle-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg) scale(0);
}

.floating-chat-widget.open .chat-toggle-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
}

.floating-chat-widget.open .chat-toggle-btn {
    background: linear-gradient(145deg, #475569 0%, #334155 100%);
    box-shadow:
        0 4px 15px rgba(71, 85, 105, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* AI Label Badge */
.chat-toggle-label {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #464094, #352f73);
    padding: 3px 10px;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(70, 64, 148, 0.5);
    z-index: 5;
}

.chat-toggle-label .label-text {
    font-size: 10px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.floating-chat-widget.open .chat-toggle-label {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
}

/* Notification Badge */
.chat-toggle-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid white;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    z-index: 10;
}

.chat-toggle-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 5px 15px rgba(239, 68, 68, 0.6);
    }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

[dir="rtl"] .chat-toggle-badge {
    right: auto;
    left: -4px;
}

.floating-chat-widget.open .chat-toggle-badge {
    display: none;
}

/* Tooltip */
.chat-toggle-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: 16px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(99, 102, 241, 0.1);
    border: 1px solid var(--border-color);
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.chat-toggle-tooltip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 16px 16px 0 0;
}

.chat-toggle-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: var(--bg-primary);
    filter: drop-shadow(3px 0 3px rgba(0, 0, 0, 0.08));
}

.chat-toggle-tooltip .tooltip-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.chat-toggle-tooltip .tooltip-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.chat-toggle-tooltip .tooltip-icon svg {
    width: 20px;
    height: 20px;
}

.chat-toggle-tooltip .tooltip-content > span:last-child {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.chat-toggle-tooltip .tooltip-sub {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 48px;
    position: relative;
}

.chat-toggle-tooltip .tooltip-sub::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #464094;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(70, 64, 148, 0.6);
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px rgba(70, 64, 148, 0.6);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.85);
        box-shadow: 0 0 12px rgba(70, 64, 148, 0.8);
    }
}

[dir="rtl"] .chat-toggle-tooltip {
    right: auto;
    left: 85px;
    transform: translateY(-50%) translateX(-20px);
}

[dir="rtl"] .chat-toggle-tooltip::after {
    right: auto;
    left: -10px;
    border-left-color: transparent;
    border-right-color: var(--bg-primary);
}

[dir="rtl"] .chat-toggle-tooltip .tooltip-sub {
    padding-left: 0;
    padding-right: 48px;
}

.chat-toggle-btn:hover .chat-toggle-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

[dir="rtl"] .chat-toggle-btn:hover .chat-toggle-tooltip {
    transform: translateY(-50%) translateX(0);
}

.floating-chat-widget.open .chat-toggle-tooltip {
    display: none;
}

/* Chat Popup Window */
.chat-popup {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 580px;
    max-height: calc(100vh - 200px);
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[dir="rtl"] .chat-popup {
    right: auto;
    left: 0;
    transform-origin: bottom left;
}

.floating-chat-widget.open .chat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Popup Header */
.chat-popup-header {
    position: relative;
    padding: 20px;
    color: white;
    overflow: hidden;
}

.chat-popup-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    z-index: 0;
}

.chat-popup-header-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.chat-popup-header-bg::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.chat-popup-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-popup-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-popup-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    padding: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.chat-popup-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chat-popup-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #464094;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(70, 64, 148, 0.3);
}

.chat-popup-info h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.chat-popup-status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.95;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #464094;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-popup-actions {
    display: flex;
    gap: 8px;
}

.chat-popup-action {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.chat-popup-action:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.chat-close-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

/* Chat Popup Body */
.chat-popup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    overflow: hidden;
}

.chat-popup-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-popup-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-popup-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-popup-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

/* Welcome Message */
.chat-welcome {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: welcomeFade 0.5s ease;
}

@keyframes welcomeFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-welcome-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 2px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.chat-welcome-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
}

.chat-welcome-content {
    background: var(--bg-primary);
    padding: 16px 18px;
    border-radius: 4px 18px 18px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 85%;
}

[dir="rtl"] .chat-welcome-content {
    border-radius: 18px 4px 18px 18px;
}

.chat-welcome-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-welcome-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Chat Popup Options */
.chat-popup-options {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.chat-popup-options:empty {
    display: none;
}

/* Quick Action Buttons */
.chat-quick-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

[dir="rtl"] .chat-quick-btn {
    text-align: right;
}

.chat-quick-btn:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.15);
}

.quick-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.chat-quick-btn:hover .quick-btn-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.05);
}

.quick-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.quick-btn-text span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-btn-text small {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chat Popup Footer */
.chat-popup-footer {
    padding: 16px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.chat-popup-input {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 6px 6px 6px 16px;
    transition: all 0.2s;
}

.chat-popup-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.chat-popup-input textarea {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    resize: none;
    max-height: 100px;
    min-height: 24px;
    line-height: 1.5;
    padding: 6px 0;
    font-family: inherit;
}

.chat-popup-input textarea::placeholder {
    color: var(--text-muted);
}

.chat-popup-input textarea:focus {
    outline: none;
}

.chat-popup-send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.chat-popup-send svg {
    width: 18px;
    height: 18px;
}

.chat-popup-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.chat-popup-send:not(:disabled):hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.chat-popup-send:not(:disabled):active {
    transform: scale(0.95);
}

/* Footer Info */
.chat-popup-footer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 4px;
}

.secure-badge,
.powered-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--text-muted);
}

.secure-badge i {
    font-size: 9px;
    color: #22c55e;
}

.powered-badge strong {
    color: var(--primary);
    font-weight: 600;
}

/* Contact CTA Card */
.contact-cta-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.1) 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
}

.cta-card-content {
    max-width: 320px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
    animation: ctaIconFloat 3s ease-in-out infinite;
}

@keyframes ctaIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.contact-cta-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.contact-cta-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

.open-chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 14px 28px;
    margin-bottom: 20px;
}

.open-chat-btn i {
    font-size: 18px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.cta-features i {
    color: var(--primary);
    font-size: 12px;
}

/* Mobile Responsive - Floating Chat */
@media (max-width: 768px) {
    .floating-chat-widget {
        bottom: 155px;
        right: 15px;
    }

    [dir="rtl"] .floating-chat-widget {
        right: auto;
        left: 15px;
    }

    .chat-toggle-btn {
        width: 50px;
        height: 50px;
    }

    .chat-ring-1,
    .chat-ring-2,
    .chat-ring-3 {
        width: 50px;
        height: 50px;
    }

    .chat-toggle-icon,
    .chat-toggle-close {
        width: 24px;
        height: 24px;
    }

    .chat-toggle-badge {
        width: 18px;
        height: 18px;
        top: -3px;
        right: -3px;
    }

    .chat-toggle-badge .badge-dot {
        width: 5px;
        height: 5px;
    }

    .chat-toggle-label {
        padding: 2px 6px;
        bottom: -6px;
    }

    .chat-toggle-label .label-text {
        font-size: 8px;
    }

    .chat-toggle-tooltip {
        display: none;
    }

    .chat-popup {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 60px);
        max-height: none;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }

    [dir="rtl"] .chat-popup {
        right: 0;
        left: 0;
    }

    .floating-chat-widget.open .chat-popup {
        transform: translateY(0);
    }

    .chat-popup-header {
        padding: 16px;
    }

    .chat-popup-avatar {
        width: 42px;
        height: 42px;
    }

    .chat-popup-info h4 {
        font-size: 15px;
    }

    .chat-popup-messages {
        padding: 16px;
    }

    .chat-welcome-avatar {
        width: 36px;
        height: 36px;
    }

    .chat-welcome-content {
        padding: 14px 16px;
    }

    .chat-welcome-content h3 {
        font-size: 15px;
    }

    .chat-welcome-content p {
        font-size: 13px;
    }

    .chat-popup-options {
        padding: 12px;
        gap: 8px;
    }

    .chat-quick-btn {
        padding: 12px;
        gap: 10px;
    }

    .quick-btn-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 10px;
    }

    .quick-btn-text span {
        font-size: 12px;
    }

    .quick-btn-text small {
        font-size: 10px;
    }

    .chat-popup-footer {
        padding: 12px;
    }

    .chat-popup-input {
        padding: 4px 4px 4px 12px;
        border-radius: 14px;
    }

    .chat-popup-send {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .chat-popup-send svg {
        width: 16px;
        height: 16px;
    }

    .chat-popup-footer-info {
        margin-top: 10px;
    }

    .contact-cta-card {
        padding: 30px 24px;
    }

    .cta-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .contact-cta-card h3 {
        font-size: 20px;
    }

    .cta-features {
        gap: 16px;
    }
}

/* Extra Small Mobile - Match WhatsApp exactly */
@media (max-width: 480px) {
    .floating-chat-widget {
        bottom: 145px;
        right: 12px;
    }

    [dir="rtl"] .floating-chat-widget {
        right: auto;
        left: 12px;
    }

    .chat-toggle-btn {
        width: 50px;
        height: 50px;
    }

    .chat-ring-1,
    .chat-ring-2,
    .chat-ring-3 {
        width: 50px;
        height: 50px;
    }

    .chat-toggle-icon,
    .chat-toggle-close {
        width: 22px;
        height: 22px;
    }

    .chat-toggle-badge {
        width: 16px;
        height: 16px;
        top: -2px;
        right: -2px;
    }

    .chat-toggle-badge .badge-dot {
        width: 4px;
        height: 4px;
    }

    .chat-toggle-label {
        padding: 2px 5px;
        bottom: -5px;
        border-width: 1.5px;
    }

    .chat-toggle-label .label-text {
        font-size: 7px;
        letter-spacing: 0.3px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: var(--text-lg);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.progress-ring {
    position: absolute;
    top: -1px;
    left: -1px;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 138.16;
    stroke-dashoffset: 138.16;
    transition: stroke-dashoffset 0.1s linear;
}

/* ==========================================
   COOKIE BANNER
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-5);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.1);
    z-index: var(--z-modal);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.cookie-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.cookie-text p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.cookie-actions {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* ==========================================
   STICKY CTA
   ========================================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-4) var(--space-6);
    z-index: var(--z-sticky);
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-cta-text {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.sticky-cta-highlight {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
}

.sticky-cta-subtext {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.sticky-cta-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.sticky-cta-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sticky-cta-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.sticky-cta-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gradient-primary);
    width: 0%;
}

/* ==========================================
   MAP DIRECTIONS
   ========================================== */
.map-directions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 600;
    margin-top: var(--space-2);
    transition: all var(--transition-fast);
}

.map-directions:hover {
    gap: var(--space-3);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Large Tablets & Small Desktops */
/* ==========================================
   RESPONSIVE - ENHANCED MOBILE FIRST
   ========================================== */

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

*, *::before, *::after {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
        margin-bottom: var(--space-6);
    }

    .footer-newsletter {
        grid-column: span 3;
        margin-top: var(--space-6);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

/* Tablets */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 20px;
    }

    .hero-grid,
    .about-grid,
    .why-choose-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-services {
        justify-content: center;
    }

    .hero-buttons,
    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-float-1,
    .hero-float-2,
    .hero-float-3 {
        display: none;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .stat-item {
        padding: var(--space-3) var(--space-4);
        gap: var(--space-3);
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: var(--text-base);
    }

    .stat-value {
        justify-content: flex-start;
    }

    .stat-number,
    .stat-suffix {
        font-size: var(--text-2xl);
    }

    .stat-label {
        font-size: var(--text-xs);
    }

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

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

    .methodology-grid::before {
        display: none;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
        padding: var(--space-10);
    }

    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-form-inline {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input-group input {
        width: 100%;
    }

    .contact-info {
        text-align: center;
    }

    .contact-items {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-stats-bar {
        margin-top: var(--space-10);
        padding: var(--space-6) 0;
        border-radius: var(--radius-xl);
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    /* Contact Layout Responsive */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-desc {
        font-size: var(--text-base);
    }

    .contact-features {
        justify-content: center;
    }

    .contact-method:hover {
        transform: translateX(0) translateY(-2px);
    }

    [dir="rtl"] .contact-method:hover {
        transform: translateX(0) translateY(-2px);
    }

    /* Modern Chat Responsive */
    .chat-container {
        height: 520px;
        border-radius: 20px;
    }

    .chat-header {
        padding: 16px 18px;
    }

    .chat-avatar {
        width: 42px;
        height: 42px;
    }

    .chat-header-info h4 {
        font-size: 14px;
    }

    .chat-status-text {
        font-size: 11px;
    }

    .chat-action-btn {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .chat-messages {
        padding: 16px;
    }

    .chat-welcome-icon {
        width: 64px;
        height: 64px;
    }

    .chat-welcome-icon img {
        width: 36px;
        height: 36px;
    }

    .chat-welcome h3 {
        font-size: 18px;
    }

    .chat-welcome p {
        font-size: 13px;
    }

    .chat-quick-actions {
        padding: 12px 16px;
        gap: 8px;
    }

    .chat-quick-btn {
        padding: 12px 14px;
        font-size: 12px;
        border-radius: 12px;
    }

    .chat-quick-btn i {
        font-size: 14px;
    }

    .chat-footer {
        padding: 12px 16px;
    }

    .chat-input-wrapper {
        padding: 6px 6px 6px 14px;
        border-radius: 14px;
    }

    .chat-input-wrapper textarea {
        font-size: 13px;
    }

    .chat-send-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .chat-powered {
        margin-top: 10px;
        font-size: 10px;
    }

    .ai-contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .ai-contact-card {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .info-card {
        padding: var(--space-4);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hide-mobile {
        display: none;
    }

    .navbar {
        padding: var(--space-3) 0;
    }

    .navbar .container {
        padding: 0 var(--space-4);
    }

    .logo-img {
        height: 36px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.2;
    }

    .hero-desc {
        font-size: var(--text-base);
    }

    .hero-badge {
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-4);
    }

    .hero-service-tag {
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-3);
    }

    .hero-buttons,
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn,
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }

    .section-desc {
        font-size: var(--text-base);
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .service-card {
        height: auto;
        min-height: 350px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .industry-item {
        padding: var(--space-4);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 2;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .sticky-cta-text {
        flex-direction: column;
        gap: var(--space-1);
    }

    .floating-whatsapp-container {
        bottom: 90px;
        right: 15px;
    }

    [dir="rtl"] .floating-whatsapp-container {
        right: auto;
        left: 15px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .contact-form-wrapper {
        padding: var(--space-6);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }

    [dir="rtl"] .back-to-top {
        right: auto;
        left: 20px;
    }

    .map-overlay {
        position: static;
        margin-top: var(--space-4);
    }

    .map-card {
        max-width: 100%;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
        --container-padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }

    .navbar .container {
        padding: 0 12px;
    }

    .logo-img {
        height: 32px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.2;
    }

    .hero-desc {
        font-size: var(--text-sm);
    }

    .hero-badge {
        font-size: 10px;
        padding: var(--space-1) var(--space-3);
    }

    .hero-services {
        gap: var(--space-2);
    }

    .hero-service-tag {
        font-size: 10px;
        padding: var(--space-1) var(--space-2);
    }

    .hero-float-card {
        display: none;
    }

    .hero-image {
        max-width: 100%;
    }

    .section-header {
        margin-bottom: var(--space-8);
    }

    .section-title {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
    }

    .section-desc {
        font-size: var(--text-sm);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: var(--space-4);
        gap: var(--space-2);
        background: var(--bg-primary);
        border-radius: var(--radius-lg);
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: var(--text-sm);
    }

    .stat-value {
        justify-content: center;
    }

    .stat-number,
    .stat-suffix {
        font-size: var(--text-xl);
    }

    .stat-label {
        font-size: 10px;
        white-space: normal;
        text-align: center;
        display: block;
        width: 100%;
    }

    .achievements-grid,
    .methodology-grid,
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .stat-card,
    .achievement-card {
        padding: var(--space-5);
    }

    .hero-stats-bar {
        margin-top: var(--space-8);
        padding: var(--space-4) var(--space-2);
        border-radius: var(--radius-lg);
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .industry-item {
        padding: var(--space-3);
    }

    .tech-category {
        padding: var(--space-4);
    }

    .feature-card,
    .service-card {
        padding: var(--space-5);
    }

    .service-card {
        min-height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--space-5);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: var(--space-3);
        font-size: var(--text-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-brand,
    .footer-links,
    .footer-newsletter {
        grid-column: span 1;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3);
    }

    .cta-wrapper {
        padding: var(--space-8) var(--space-4);
    }

    .cta-title {
        font-size: var(--text-xl);
    }

    .cta-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }

    .cta-visual {
        display: none;
    }

    .cta-stats {
        flex-direction: column;
        gap: var(--space-3);
    }

    .cta-stat {
        min-width: auto;
        padding: var(--space-3);
    }

    .cta-stat-number {
        font-size: var(--text-xl);
    }

    .btn {
        padding: var(--space-3) var(--space-5);
        font-size: var(--text-sm);
    }

    .btn-lg {
        padding: var(--space-3) var(--space-6);
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }

    .floating-whatsapp-container {
        bottom: 80px;
        right: 12px;
    }

    [dir="rtl"] .floating-whatsapp-container {
        right: auto;
        left: 12px;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .whatsapp-pulse {
        width: 50px;
        height: 50px;
    }

    .whatsapp-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -3px;
        right: -3px;
    }

    [dir="rtl"] .whatsapp-badge {
        right: auto;
        left: -3px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        right: 12px;
        bottom: 15px;
    }

    [dir="rtl"] .back-to-top {
        right: auto;
        left: 12px;
    }

    .loader-logo .logo-img {
        width: 70px;
    }

    .loader-bar {
        width: 200px;
    }

    .loader-text {
        font-size: var(--text-xs);
    }

    .loader-percentage {
        font-size: var(--text-2xl);
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    :root {
        --container-padding: 0 12px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }

    .hero-service-tag {
        font-size: 9px;
    }

    .nav-links {
        padding: var(--space-4);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-progress {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
    }

    [data-theme="dark"] {
        --border-color: #ffffff;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .page-loader,
    .scroll-progress,
    .floating-whatsapp-container,
    .back-to-top,
    .cookie-banner,
    .sticky-cta {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ==========================================
   IMAGE LAZY LOADING & PLACEHOLDERS
   ========================================== */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img[loading="lazy"].loaded {
    background: none;
    animation: none;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================
   LOADING SKELETON UTILITIES
   ========================================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    border-radius: var(--radius-sm);
}

.skeleton-text:last-child {
    width: 70%;
}

.skeleton-circle {
    border-radius: 50%;
}

.skeleton-button {
    height: 44px;
    width: 120px;
    border-radius: var(--radius-full);
}

/* ==========================================
   SMOOTH IMAGE LOADING TRANSITION
   ========================================== */
.img-loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-loaded {
    opacity: 1;
}

/* ==========================================
   SELECTION COLORS
   ========================================== */
::-moz-selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

[data-theme="dark"]::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

[data-theme="dark"]::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-color: var(--bg-primary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-secondary);
}

/* ==========================================
   TRUSTED SECTION / CLIENT LOGOS
   ========================================== */
.trusted-section {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.trusted-wrapper {
    text-align: center;
}

.trusted-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-8);
}

.trusted-logos {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-8);
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

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

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
    padding: var(--space-4) var(--space-6);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    min-width: 140px;
}

.logo-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.logo-item i {
    font-size: 2rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.logo-item:hover i {
    color: var(--primary);
}

.logo-item span {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
}

.trust-badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.trust-badge-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.trust-badge-item i {
    color: var(--success);
    font-size: var(--text-base);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    pointer-events: none;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.testimonial-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    transform: scale(1.02);
}

.testimonial-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--gradient-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.testimonial-badge i {
    font-size: var(--text-sm);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-rating i {
    font-size: var(--text-base);
    color: #f59e0b;
}

.testimonial-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--primary-lighter);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.author-info span {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.testimonials-cta {
    display: flex;
    justify-content: center;
}

.review-stats {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-6) var(--space-10);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
}

.review-stat {
    text-align: center;
}

.review-stat .stat-value {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.review-stat .stat-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: var(--space-1);
}

.review-stat .stat-stars i {
    font-size: var(--text-sm);
    color: #f59e0b;
}

.review-stat .stat-desc {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

.review-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* ==========================================
   RESPONSIVE - TESTIMONIALS & TRUST
   ========================================== */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-card.featured {
        transform: none;
    }

    .testimonial-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .trust-badges-row {
        flex-direction: column;
        align-items: center;
    }

    .review-stats {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-6);
    }

    .review-divider {
        width: 60px;
        height: 1px;
    }

    .logo-item {
        min-width: 120px;
        padding: var(--space-3) var(--space-4);
    }

    .logo-item i {
        font-size: 1.5rem;
    }
}

/* ==========================================
   ENHANCED ANIMATIONS
   ========================================== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    pointer-events: none;
}

/* ==========================================
   FOOTER ENHANCEMENTS
   ========================================== */
.footer-tagline {
    font-size: var(--text-lg) !important;
    font-weight: 700 !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-3) !important;
}

.footer-brand p:not(.footer-tagline) {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ==========================================
   HERO SERVICE TAGS
   ========================================== */
.hero-service-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.hero-service-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-service-tag i {
    color: var(--primary);
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

/* ==========================================
   FEATURE CARDS TOP BORDER
   ========================================== */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* ==========================================
   CONTACT FORM TOP ACCENT
   ========================================== */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* ==========================================
   CTA SECTION GLOW EFFECT
   ========================================== */
.cta-wrapper {
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: cta-glow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

/* ==========================================
   METHODOLOGY NUMBER STYLING
   ========================================== */
.methodology-number {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

[dir="rtl"] .methodology-number {
    right: auto;
    left: var(--space-4);
}

/* ==========================================
   INDUSTRY CARDS STYLING
   ========================================== */
.industry-card {
    position: relative;
    padding: var(--space-6);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.industry-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: var(--primary);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.industry-card h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.industry-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-services {
        justify-content: center;
    }
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.blog-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-card-featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.blog-card-featured .blog-image {
    flex: 1;
    min-height: 300px;
}

.blog-card-featured .blog-content {
    padding: var(--space-8);
}

.blog-card-featured h3 {
    font-size: var(--text-2xl);
}

.blog-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: var(--gradient-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[dir="rtl"] .blog-category {
    left: auto;
    right: var(--space-4);
}

.blog-content {
    padding: var(--space-6);
}

.blog-meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.blog-meta i {
    font-size: var(--text-sm);
}

.blog-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    line-height: var(--leading-tight);
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary);
}

.blog-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition-fast);
}

.blog-link:hover {
    gap: var(--space-3);
}

.blog-link i {
    font-size: var(--text-xs);
    transition: transform var(--transition-fast);
}

.blog-link:hover i {
    transform: translateX(4px);
}

[dir="rtl"] .blog-link:hover i {
    transform: translateX(-4px);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-featured {
        grid-row: span 1;
    }

    .blog-card-featured .blog-image {
        min-height: 250px;
    }
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.team-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.team-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.team-info {
    padding: var(--space-5);
    text-align: center;
}

.team-info h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.team-role {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.team-info p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
}

.team-cta {
    display: flex;
    justify-content: center;
}

.team-stats {
    display: flex;
    gap: var(--space-12);
    padding: var(--space-8) var(--space-12);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
}

.team-stat {
    text-align: center;
}

.team-stat .stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.team-stat .stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

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

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-stats {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-6);
    }
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.pricing-card {
    position: relative;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-5);
    background: var(--gradient-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.pricing-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-xl);
    font-size: var(--text-2xl);
    color: var(--primary);
    transition: all var(--transition-base);
}

.pricing-card:hover .pricing-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.pricing-header h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.pricing-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.pricing-price {
    text-align: center;
    padding: var(--space-6) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--space-6);
}

.pricing-price .currency {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price .period {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: var(--space-6);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--success);
    font-size: var(--text-sm);
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-card .btn-block {
    width: 100%;
    margin-top: auto;
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-note i {
    color: var(--primary);
    font-size: var(--text-xl);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-note p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* ==========================================
   PROCESS TIMELINE SECTION
   ========================================== */
.process-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.process-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: var(--text-5xl);
    font-weight: 900;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
    z-index: 0;
}

[dir="rtl"] .process-number {
    right: auto;
    left: 10px;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 3px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-2xl);
    color: var(--primary);
    transition: all var(--transition-base);
    position: relative;
    z-index: 2;
}

.process-step:hover .process-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.process-content {
    background: var(--bg-secondary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.process-step:hover .process-content {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.process-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.process-content > p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.process-checklist {
    list-style: none;
    text-align: left;
}

[dir="rtl"] .process-checklist {
    text-align: right;
}

.process-checklist li {
    position: relative;
    padding-left: var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

[dir="rtl"] .process-checklist li {
    padding-left: 0;
    padding-right: var(--space-6);
}

.process-checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
    font-size: var(--text-xs);
}

[dir="rtl"] .process-checklist li::before {
    left: auto;
    right: 0;
}

@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   PROJECTS SHOWCASE SECTION
   ========================================== */
.projects-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.project-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-card-large .project-image {
    aspect-ratio: auto;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

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

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.project-tags span {
    padding: var(--space-1) var(--space-3);
    background: rgba(99, 102, 241, 0.9);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.project-content {
    padding: var(--space-6);
}

.project-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.project-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.project-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.project-stats {
    display: flex;
    gap: var(--space-6);
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-color);
}

.project-stat .stat-number {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary);
}

.project-stat .stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.projects-cta {
    text-align: center;
}

@media (max-width: 1024px) {
    .project-card-large {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .project-card-large .project-image {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-large {
        grid-column: span 1;
    }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-6);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: var(--text-sm);
    color: var(--primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-6);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.faq-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
}

.faq-cta p {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .navbar,
    .back-to-top,
    .cookie-banner,
    .sticky-cta,
    .floating-whatsapp-container,
    .page-loader {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}

/* ==========================================
   LEGAL MODALS (Privacy Policy & Terms)
   ========================================== */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    overflow-y: auto;
    padding: var(--space-8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
}

.legal-modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    max-width: 800px;
    width: 100%;
    margin: var(--space-8) auto;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.legal-modal.active .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) var(--space-8);
    background: var(--gradient-primary);
    color: white;
}

.legal-modal-header h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin: 0;
}

.legal-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    font-size: var(--text-2xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: var(--space-8);
    max-height: 70vh;
    overflow-y: auto;
}

.legal-modal-body .legal-date {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.legal-modal-body h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-6) 0 var(--space-3);
}

.legal-modal-body h3:first-of-type {
    margin-top: 0;
}

.legal-modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

/* Dark mode support */
[data-theme="dark"] .legal-modal-content {
    background: var(--bg-primary);
}

/* RTL Support */
[dir="rtl"] .legal-modal-header {
    flex-direction: row-reverse;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-modal {
        padding: var(--space-4);
    }

    .legal-modal-content {
        margin: var(--space-4) auto;
    }

    .legal-modal-header {
        padding: var(--space-4) var(--space-5);
    }

    .legal-modal-header h2 {
        font-size: var(--text-xl);
    }

    .legal-modal-body {
        padding: var(--space-5);
    }

    .legal-modal-body h3 {
        font-size: var(--text-base);
    }
}
