/* ============================================================
   RESET & VARIABLES (نفس التصميم الأصلي)
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #000000;
    --color-surface: #0a0c14;
    --color-surface-elevated: #111115;
    --color-text: #f2f2f4;
    --color-text-dim: #9a9aa2;
    --color-text-faint: #5c5c64;
    --color-accent: #10b981;
    --color-accent-dim: #0a7a55;
    --color-accent-glow: rgba(16, 185, 129, 0.25);
    --color-blue: #4d7fff;
    --color-blue-dim: #213262;

    --font-primary: 'Amiri', serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-full: 9999px;
    --radius-md: 1.5rem;

    --transition-smooth: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s ease;

    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================================
   HEADER (نفس التصميم الأصلي)
   ============================================================ */
.gm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 3.5rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: all var(--transition-smooth);
}

.gm-header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.gm-logo {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.gm-logo:hover {
    opacity: 0.7;
}

.gm-logo-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: rgba(16, 185, 129, 0.12);
    padding: 0.1rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Navigation (Desktop) */
.gm-nav-list {
    display: flex;
    gap: 2.5rem;
}

.gm-nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0;
    transition: color var(--transition-fast);
    position: relative;
}

/* UNDERLINE REMOVED */
.gm-nav-link::after {
    display: none;
}

.gm-nav-link:hover {
    color: #fff;
}

/* Header Actions */
.gm-header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.gm-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.6rem;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.gm-header-cta:hover {
    background: var(--color-accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.gm-header-cta i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}
.gm-header-cta:hover i {
    transform: translateX(4px);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.35rem 0.6rem;
    backdrop-filter: blur(8px);
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.lang-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.lang-flag {
    font-size: 0.9rem;
    line-height: 1;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
    font-weight: 300;
}

/* Language switcher shown inside the mobile dropdown nav — hidden on desktop */
.gm-nav-lang {
    display: none;
}

/* Mobile Menu Toggle */
.gm-header-menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gm-header-menu:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Scrolled state (Glassmorphism) */
.gm-header.scrolled {
    background: rgba(16, 24, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   HERO — SWIPER (خلفيات بسيطة + أورب)
   ============================================================ */
.gm-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--color-bg);
}

.gm-hero .swiper {
    width: 100%;
    height: 100%;
}

.gm-hero .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

/* === الخلفيات البسيطة لكل شريحة === */
.slide-bg-1 {
    background: url('https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat;
}
.slide-bg-2 {
    background: url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat;
}
.slide-bg-3 {
    background: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat;
}

.slide-bg-4 { background: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat, linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #0f766e 100%); }
.slide-bg-5 { background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat, linear-gradient(135deg, #0b1220 0%, #1e3a8a 55%, #0ea5e9 100%); }
.slide-bg-6 { background: url('https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat, linear-gradient(135deg, #0f172a 0%, #312e81 55%, #6366f1 100%); }
.slide-bg-7 { background: url('https://images.unsplash.com/photo-1561070791-2526d30994b5?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat, linear-gradient(135deg, #0f172a 0%, #064e3b 55%, #10b981 100%); }
.slide-bg-8 { background: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat, linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0d9488 100%); }

/* Overlay لتحسين قراءة النص */
.gm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Orbs (تأثيرات إضاءة ناعمة) */
.gm-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.gm-hero-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
    top: -15%;
    right: -5%;
    animation: orbFloat 14s ease-in-out infinite alternate;
}

.gm-hero-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(77, 127, 255, 0.15), transparent 70%);
    bottom: -15%;
    left: -5%;
    animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.1); }
}

.gm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-top: var(--header-height);
    animation: fadeUp 0.8s ease forwards;
}

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

/* Eyebrow / Tag */
.gm-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding: 0.3rem 1.2rem 0.3rem 0.8rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.05);
}

.gm-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent-glow);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Headline */
.gm-hero-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 4.8rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.gm-hero-highlight {
    color: var(--color-accent);
}

/* Description */
.gm-hero-desc {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-dim);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* CTAs */
.gm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.gm-btn-primary,
.gm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.4rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.gm-btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.gm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.gm-btn-primary i {
    transition: transform var(--transition-fast);
}
.gm-btn-primary:hover i {
    transform: translateX(4px);
}

.gm-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.gm-btn-secondary:hover {
    border-color: var(--color-accent);
    color: #fff;
    background: rgba(16, 185, 129, 0.06);
    transform: translateY(-3px);
}

/* Stats */
.gm-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gm-hero-stats-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-faint);
}

.gm-hero-stats-item strong {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.gm-hero-stats-item i {
    color: var(--color-accent);
}

/* Swiper navigation & pagination */
.gm-hero .swiper-button-next,
.gm-hero .swiper-button-prev {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
}

.gm-hero .swiper-button-next:hover,
.gm-hero .swiper-button-prev:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.gm-hero .swiper-button-next::after,
.gm-hero .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Mobile swiper buttons */
@media (max-width: 992px) {
    .gm-hero .swiper-button-next,
    .gm-hero .swiper-button-prev {
        background: rgba(255, 255, 255, 0.9);
        border: none;
        backdrop-filter: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .gm-hero .swiper-button-next:hover,
    .gm-hero .swiper-button-prev:hover {
        background: #fff;
        transform: scale(1.1);
    }

    .gm-hero .swiper-button-next::after,
    .gm-hero .swiper-button-prev::after {
        color: #1e2f3e;
    }
}

.gm-hero .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: all var(--transition-fast);
}

.gm-hero .swiper-pagination-bullet-active {
    background: var(--color-accent);
    width: 28px;
    border-radius: 6px;
}

/* ============================================================
   RESPONSIVE (نفس التصميم الأصلي للقائمة الجانبية)
   ============================================================ */
@media (max-width: 992px) {
    .gm-header {
        padding: 0 2rem;
    }

    .gm-nav {
        position: fixed;
        top: calc(var(--header-height) + 4px);
        right: 1rem;
        width: 85%;
        max-width: 300px;
        background: rgba(10, 12, 20, 0.98);
        backdrop-filter: blur(30px);
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, 0.06);
        padding: 1.2rem 0;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
        transform: scale(0.9);
        transform-origin: top right;
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-smooth);
        z-index: 999;
        max-height: calc(100vh - var(--header-height) - 2rem);
        overflow-y: auto;
    }

    .gm-nav.open {
        transform: scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .gm-nav-list {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .gm-nav-link {
        display: block;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .gm-nav-link:hover {
        background: rgba(16, 185, 129, 0.1);
    }

    .gm-header-menu {
        display: flex;
    }

    .gm-header-cta {
        display: none;
    }

    /* Move the language switcher into the dropdown menu on mobile */
    .gm-header-lang {
        display: none;
    }

    .gm-nav-lang {
        display: flex;
        justify-content: center;
        margin: 0.6rem 0.5rem 0;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .gm-nav-lang .lang-switcher {
        width: 100%;
        justify-content: center;
    }

    .lang-switcher {
        background: rgba(255, 255, 255, 0.06);
        padding: 0.25rem 0.4rem;
    }

    .lang-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }

    .lang-flag {
        font-size: 0.8rem;
    }

    .gm-hero-title {
        font-size: 3.8rem;
    }

    .gm-hero .swiper-button-next,
    .gm-hero .swiper-button-prev {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .gm-hero .swiper-button-next::after,
    .gm-hero .swiper-button-prev::after {
        font-size: 14px;
        color: #1e2f3e;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .gm-header {
        padding: 0 1.2rem;
    }

    .lang-switcher {
        gap: 0.3rem;
        padding: 0.2rem 0.35rem;
    }

    .lang-link {
        padding: 0.15rem 0.3rem;
        font-size: 0.65rem;
    }

    .lang-flag {
        font-size: 0.75rem;
    }

    .gm-hero-content {
        padding-top: calc(var(--header-height) + 1rem);
    }

    .gm-hero-title {
        font-size: 2.8rem;
    }

    .gm-hero-desc {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .gm-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .gm-hero-actions .gm-btn-primary,
    .gm-hero-actions .gm-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .gm-hero .swiper-button-next,
    .gm-hero .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .gm-hero .swiper-button-next::after,
    .gm-hero .swiper-button-prev::after {
        font-size: 12px;
    }

    .gm-hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gm-logo {
        font-size: 1.4rem;
    }
    .gm-logo-tag {
        font-size: 0.55rem;
        padding: 0.05rem 0.4rem;
    }
    .gm-hero-title {
        font-size: 2.2rem;
    }
    .gm-hero-orb {
        display: none;
    }
    .gm-hero .swiper-button-next,
    .gm-hero .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
    .gm-hero .swiper-button-next::after,
    .gm-hero .swiper-button-prev::after {
        font-size: 10px;
    }
}

/* ============================================================
   SECTION: WHAT WE BUILD (خلفية فاتحة مريحة للعين)
   ============================================================ */

.wwb-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f4f7fb 0%, #ffffff 100%);
    font-family: 'Amiri', 'Inter', sans-serif;
    direction: ltr;
}

.wwb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Header ===== */
.wwb-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wwb-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 1.4rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wwb-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 0.5rem;
}

.wwb-subtitle {
    color: #5a6e7c;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Swiper Container ===== */
.wwb-slider {
    padding: 20px 10px 16px;
    overflow: hidden;
}

/* ===== البطاقة ===== */
.wwb-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem 1.8rem 2rem;
    margin: 10px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wwb-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
}

/* ===== أيقونة البطاقة ===== */
.wwb-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.wwb-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(77, 127, 255, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #10b981;
    transition: all 0.35s;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.08);
}

.wwb-card:hover .wwb-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-color: transparent;
    transform: rotate(-6deg) scale(1.08);
}

/* ===== عنوان البطاقة ===== */
.wwb-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

/* ===== قائمة الميزات ===== */
.wwb-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.wwb-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #2c3e4f;
    border-bottom: 1px dashed rgba(16, 185, 129, 0.06);
}

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

.wwb-features li i {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===== أزرار Swiper ===== */
.wwb-slider .swiper-button-next,
.wwb-slider .swiper-button-prev {
    background: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.wwb-slider .swiper-button-next:after,
.wwb-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
}

.wwb-slider .swiper-button-next:hover,
.wwb-slider .swiper-button-prev:hover {
    background: #10b981;
    border-color: #10b981;
}

.wwb-slider .swiper-button-next:hover:after,
.wwb-slider .swiper-button-prev:hover:after {
    color: #ffffff;
}

.wwb-slider .swiper-pagination-bullet {
    background: #b0c4d4;
    opacity: 1;
    transition: all 0.3s;
}

.wwb-slider .swiper-pagination-bullet-active {
    background: #10b981;
    width: 28px;
    border-radius: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .wwb-section {
        padding: 50px 0;
    }
    .wwb-title {
        font-size: 1.8rem;
    }
    .wwb-name {
        font-size: 1.2rem;
    }
    .wwb-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .wwb-features li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    .wwb-slider .swiper-button-next,
    .wwb-slider .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    .wwb-slider .swiper-button-next:after,
    .wwb-slider .swiper-button-prev:after {
        font-size: 14px;
    }
    .wwb-section .wwb-container,
    .terms-section .container {
        padding: 0 1rem;
    }
    .wwb-slider {
        padding: 20px 4px 12px;
    }
}

@media (max-width: 480px) {
    .wwb-card {
        padding: 1.5rem;
        margin: 6px 4px;
    }
}

/* ============================================================
   SECTION: HOW WE WORK (PROCESS)
   ============================================================ */

.process-section {
    background: #f8fafc;
    padding: 5rem 2rem;
    position: relative;
    width: 100%;
    font-family: 'Amiri', 'Inter', sans-serif;
    direction: ltr;
    overflow: hidden;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Header ===== */
.process-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.12);
    padding: 0.3rem 1.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.process-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 0.3rem;
}

.process-subtitle {
    color: #5a6e7c;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Steps List (الخط العمودي) ===== */
.process-steps {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
}

/* الخط العمودي */
.process-steps::before {
    content: '';
    position: absolute;
    left: calc(50% - 1.5px);
    top: 52px;
    bottom: 80px;
    width: 3px;
    background: linear-gradient(180deg, #10b981, #4d7fff);
    border-radius: 4px;
    opacity: 0.4;
    z-index: 0;
}

/* ===== كل خطوة ===== */
.process-step {
    position: relative;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:last-child {
    padding-bottom: 0.5rem;
}

/* ===== الأيقونة الدائرية ===== */
.process-step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.process-step:hover .process-step-icon {
    transform: scale(1.08);
}

.process-step-icon .step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ffd966;
    color: #1a2634;
    font-size: 0.7rem;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ===== المحتوى (نص) ===== */
.process-step-content {
    display: none;
}

/* ===== تنسيق الشاشات الكبيرة (Desktop) ===== */
@media (min-width: 769px) {
    /* نلغي خط الحاوية الثابت ونرسم وصلة من كل أيقونة إلى التي بعدها
       فيتوقف الخط تماماً عند مركز الأيقونة 6 */
    .process-steps::before {
        display: none;
    }

    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 50%;
        margin-left: -1.5px;
        top: calc(1.5rem + 28px);
        bottom: calc(-1.5rem - 28px);
        width: 3px;
        background: linear-gradient(180deg, #10b981, #4d7fff);
        border-radius: 4px;
        opacity: 0.4;
        z-index: 0;
    }

    .process-step {
        justify-content: flex-start;
        padding: 1.5rem 0;
    }

    .process-step:last-child {
        padding-bottom: 1.5rem;
    }

    .process-step-icon {
        position: absolute;
        left: 50%;
        top: 1.5rem;
        transform: translateX(-50%);
    }

    .process-step:hover .process-step-icon {
        transform: translateX(-50%) scale(1.08);
    }

    .process-step-content {
        display: block;
        width: calc(50% - 50px);
    }

    /* الخطوات الفردية (يسار) */
    .process-step:nth-child(odd) .process-step-content {
        margin-left: auto;
        margin-right: 0;
        text-align: right;
        padding-right: 20px;
        direction: ltr;
    }

    /* الخطوات الزوجية (يمين) */
    .process-step:nth-child(even) .process-step-content {
        margin-right: auto;
        margin-left: 0;
        text-align: left;
        padding-left: 20px;
    }

    .process-step-content h3 {
        font-size: 1.3rem;
        font-weight: 800;
        color: #1a2634;
        margin-bottom: 0.3rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .process-step-content h3 i {
        color: #10b981;
        font-size: 1.1rem;
    }

    .process-step-content .step-desc {
        color: #5a6e7c;
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .step-bullets {
        display: none !important;
    }
}

/* ===== تنسيق الهواتف (Mobile) ===== */
@media (max-width: 768px) {
    .process-section {
        padding: 2.5rem 1rem;
    }

    .process-title {
        font-size: 2rem;
    }

    .process-header {
        margin-bottom: 1.5rem;
    }

    .process-steps::before {
        top: 70px;
        bottom: 90px;
        width: 2.5px;
        left: calc(50% - 1.25px);
    }

    .process-step {
        padding: 0.5rem 0;
        min-height: 65px;
        justify-content: center;
    }

    .process-step:last-child {
        padding-bottom: 0.5rem;
    }

    .process-step-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-width: 2.5px;
    }

    .process-step:hover .process-step-icon {
        transform: translate(-50%, -50%) scale(1.08);
    }

    .process-step-icon .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
        top: -5px;
        right: -5px;
        border-width: 1.5px;
    }

    .process-step-content {
        display: block !important;
        width: 45%;
        z-index: 1;
    }

    .process-step-content h3 {
        font-size: 0.9rem;
        font-weight: 800;
        color: #1a2634;
        margin-bottom: 0.2rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .process-step-content h3 i {
        color: #10b981;
        font-size: 0.8rem;
    }

    .process-step-content .step-desc {
        display: none !important;
    }

    .step-bullets {
        display: block !important;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .step-bullets li {
        font-size: 0.7rem;
        line-height: 1.5;
        color: #2c3e4f;
        padding: 0.1rem 0;
        position: relative;
        padding-right: 0.8rem;
        text-align: right;
    }

    .step-bullets li::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0.45rem;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: linear-gradient(135deg, #10b981, #4d7fff);
    }

    /* عناصر فرعية للخطوات على اليسار - اتجاه إنجليزي */
    .process-step:nth-child(odd) .step-bullets li {
        direction: ltr;
        text-align: left;
        padding-right: 0;
        padding-left: 0.8rem;
    }

    .process-step:nth-child(odd) .step-bullets li::before {
        right: auto;
        left: 0;
    }

    /* تقسيم خطوات جنب جنب في الموبايل - LTR */
    .process-step:nth-child(odd) .process-step-content {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
        padding-left: 10px;
        padding-right: 0;
    }

    .process-step:nth-child(even) .process-step-content {
        margin-right: 0;
        margin-left: auto;
        text-align: right;
        padding-right: 10px;
        padding-left: 0;
    }
}

/* ===== شاشات صغيرة جداً ===== */
@media (max-width: 400px) {
    .process-steps::before {
        top: 60px;
        bottom: 80px;
        left: calc(50% - 1.25px);
    }

    .process-step-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .process-step-icon .step-number {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
    }

    .process-step {
        min-height: 55px;
    }

    .process-step-content {
        width: 42%;
    }

    .step-bullets li {
        font-size: 0.65rem;
        padding-right: 0.6rem;
    }
    .step-bullets li::before {
        width: 4px;
        height: 4px;
        top: 0.4rem;
    }
}

/* ============================================================
   SECTION: CLIENT MESSAGES (ألوان داكنة مريحة)
   ============================================================ */

:root {
    --msg-bg: #121218;
    --msg-surface: #181a22;
    --msg-elevated: #1e202a;
    --msg-border: rgba(255, 255, 255, 0.06);
    --msg-border-strong: rgba(255, 255, 255, 0.10);
    --msg-text: #c8cedb;
    --msg-text-dim: #8f95a3;
    --msg-text-faint: #5c6270;
    --msg-accent: #10b981;
    --msg-accent-dim: #0a7a55;
    --msg-blue: #4d7fff;
}

/* ============================================================
   SECTION: ABOUT US (after hero) — transparent logo + stats
   ============================================================ */
.about-section {
    position: relative;
    padding: 6.5rem 1.5rem 5.5rem;
    background: linear-gradient(135deg, #f4f7fb 0%, #ffffff 100%);
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(26, 38, 52, 0.06);
    border-bottom: 1px solid rgba(26, 38, 52, 0.06);
}

.about-container {
    max-width: 920px;
    margin: 0 auto;
}

.about-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 2.4rem;
    animation: fadeUp 0.8s ease both;
}

/* Logo — transparent, no background box */
.about-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.6rem;
    animation: fadeUp 0.8s ease 0.1s both;
}

.about-logo-mark {
    width: 86px;
    height: 86px;
    animation: logoGlow 3.5s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.25));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 26px rgba(16, 185, 129, 0.55));
    }
}

.about-logo-word {
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #1a2634;
}

.about-logo-word span {
    color: var(--color-accent);
}

.about-logo-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #5a6e7c;
}

.about-title {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 1rem;
    color: #1a2634;
    animation: fadeUp 0.8s ease 0.2s both;
}

.about-title span {
    color: var(--color-accent);
}

.about-text {
    max-width: 660px;
    margin: 0 auto 3rem;
    color: #5a6e7c;
    font-size: 1.05rem;
    line-height: 1.9;
    animation: fadeUp 0.8s ease 0.3s both;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    animation: fadeUp 0.8s ease 0.4s both;
}

.about-stat {
    background: #ffffff;
    border: 1px solid rgba(26, 38, 52, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem 0.8rem;
    box-shadow: 0 10px 30px rgba(26, 38, 52, 0.05);
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-stat:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 14px 34px rgba(26, 38, 52, 0.08);
    transform: translateY(-4px);
}

.about-stat b {
    display: block;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-accent);
}

.about-stat > span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.88rem;
    color: #5a6e7c;
}

@media (max-width: 768px) {
    .about-section {
        padding: 4.5rem 1.2rem 4rem;
    }

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

    .about-text {
        font-size: 1rem;
        margin-bottom: 2.2rem;
    }
}

@media (max-width: 480px) {
    .about-logo-mark {
        width: 68px;
        height: 68px;
    }

    .about-badge {
        margin-bottom: 1.8rem;
    }
}

/* Compact desktop nav — accommodates the extra About link */
.gm-logo,
.gm-nav-link {
    white-space: nowrap;
}

@media (min-width: 993px) and (max-width: 1400px) {
    .gm-nav-list,
    html[dir="rtl"] .gm-nav-list {
        gap: 1.4rem;
    }

    .gm-nav-link {
        font-size: 0.88rem;
    }
}

@media (min-width: 993px) and (max-width: 1150px) {
    .gm-nav-list,
    html[dir="rtl"] .gm-nav-list {
        gap: 0.85rem;
    }

    .gm-nav-link {
        font-size: 0.8rem;
    }

    .gm-logo {
        font-size: 1.45rem;
    }

    .gm-logo-tag {
        font-size: 0.58rem;
        padding: 0.1rem 0.45rem;
    }
}

/* ---- GLOBAL: FLOATING WHATSAPP (fixed side button) ---- */
.wa-float {
    position: fixed;
    bottom: 26px;
    left: 26px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    z-index: 950;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.40);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}

.wa-float i {
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .wa-float {
        width: 50px;
        height: 50px;
        font-size: 27px;
        bottom: 18px;
        left: 18px;
    }
}

/* ============================================================
   SECTION: OUR WORK — DESKTOP FINDER PORTFOLIO
   ============================================================ */
.section-work {
    --window: #111115;
    --panel: #18181c;
    --panel-2: #202024;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .14);
    --text: #f2f2f4;
    --text-dim: #9a9aa2;
    --text-faint: #5c5c64;
    --accent: #4d7fff;
    --accent-dim: #213262;
    padding: 5rem 0 3rem;
    background: var(--msg-bg);
    position: relative;
    overflow: hidden;
    font-family: 'Amiri', 'Inter', sans-serif;
}
.section-work::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 127, 255, 0.05), transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.container-work {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.menubar .crumb {
    color: var(--msg-text-faint);
    font-size: 11px;
}

/* ---- WORK: STAGE / DESKTOP / FINDER (ported) ---- */
        /* --- STAGE --- */
        .stage {
            position: relative;
            min-height: 520px;
            background: linear-gradient(160deg, #121216, #08080a 60%);
            border: 1px solid var(--border);
            border-top: none;
            border-radius: 0 0 14px 14px;
            overflow: hidden;
            box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
        }
        .desktop-layer {
            padding: 34px 30px;
            transition: opacity .3s ease, filter .3s ease;
        }
        .desktop-layer.dimmed {
            opacity: .25;
            filter: blur(1px) saturate(.6);
            pointer-events: none;
        }
        .breadcrumb-caption {
            text-align: center;
            font-size: 10.5px;
            letter-spacing: .14em;
            color: var(--text-faint);
            font-family: 'JetBrains Mono', monospace;
            text-transform: uppercase;
            margin-bottom: 26px;
        }
        .icon-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 34px 40px;
            max-width: 520px;
            margin: 0 auto;
        }
        .desk-folder {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            text-align: center;
            transition: transform .15s ease;
        }
        .desk-folder:hover {
            transform: translateY(-3px);
        }
        .desk-folder .ficon {
            width: 68px;
            height: 52px;
            border-radius: 7px 7px 10px 10px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: #fff;
            box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -10px 16px -8px rgba(0, 0, 0, .35);
            background-blend-mode: overlay;
            transition: box-shadow .18s ease;
        }
        .desk-folder .ficon::before {
            content: '';
            position: absolute;
            top: -7px;
            left: 5px;
            width: 26px;
            height: 9px;
            border-radius: 5px 5px 0 0;
            background: inherit;
            filter: brightness(1.18);
        }
        .desk-folder .fbadge {
            position: absolute;
            top: -6px;
            right: -8px;
            width: 19px;
            height: 19px;
            border-radius: 50%;
            background: var(--accent);
            font-size: 10px;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'JetBrains Mono', monospace;
            box-shadow: 0 0 0 3px #111116;
        }
        .desk-folder .fname {
            font-size: 11.5px;
            font-weight: 600;
            letter-spacing: .02em;
            color: #e8e8ec;
        }

        /* DOCK */
        .dock-wrap {
            display: flex;
            justify-content: center;
            padding: 16px 0 22px;
        }
        .dock {
            display: flex;
            gap: 12px;
            padding: 8px 12px;
            background: rgba(14, 14, 18, .9);
            border: 1px solid var(--border);
            border-radius: 16px;
            backdrop-filter: blur(6px);
        }
        .dock-icon {
            width: 34px;
            height: 34px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            background: var(--panel-2);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: transform .15s ease, background .15s ease, border-color .15s ease;
            position: relative;
        }
        .dock-icon:hover {
            transform: translateY(-3px);
        }
        .dock-icon.active {
            background: var(--accent-dim);
            border-color: var(--accent);
            color: #cddaff;
        }

        /* FINDER WINDOW */
        .finder-window {
            position: absolute;
            inset: 0;
            margin: auto;
            width: 92%;
            max-width: 820px;
            height: 460px;
            background: var(--window);
            border: 1px solid var(--border-strong);
            border-radius: 12px;
            box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .9);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            opacity: 0;
            transform: scale(.1);
            pointer-events: none;
            transition: transform .42s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
            z-index: 10;
        }
        .finder-window.open {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
        }
        .fw-titlebar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 14px;
            height: 38px;
            flex-shrink: 0;
            background: linear-gradient(180deg, #1c1c22, #16161a);
            border-bottom: 1px solid var(--border);
        }
        .fw-titlebar .title {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12.5px;
            color: var(--text-dim);
            font-family: 'JetBrains Mono', monospace;
        }
        .fw-view-toggle {
            display: flex;
            gap: 6px;
        }
        .fw-view-toggle button {
            width: 22px;
            height: 22px;
            border-radius: 5px;
            border: 1px solid var(--border);
            background: var(--panel-2);
            color: var(--text-faint);
            font-size: 10px;
            cursor: pointer;
        }
        .fw-view-toggle button.active {
            background: var(--accent-dim);
            color: #cddaff;
            border-color: var(--accent);
        }
        .fw-body {
            flex: 1;
            display: flex;
            min-height: 0;
            position: relative;
        }
        .fw-sidebar {
            width: 190px;
            flex-shrink: 0;
            background: var(--panel);
            border-right: 1px solid var(--border);
            padding: 12px 8px;
            overflow-y: auto;
        }
        .fw-sidebar-label {
            font-size: 9.5px;
            text-transform: uppercase;
            letter-spacing: .1em;
            color: var(--text-faint);
            padding: 6px 8px;
            font-family: 'JetBrains Mono', monospace;
        }
        .fw-side-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 8px;
            border-radius: 6px;
            font-size: 12px;
            color: var(--text-dim);
            cursor: pointer;
            margin-bottom: 1px;
        }
        .fw-side-item:hover {
            background: rgba(255, 255, 255, .04);
        }
        .fw-side-item.active {
            background: var(--accent);
            color: #fff;
        }
        .fw-side-item .sic {
            width: 14px;
            text-align: center;
            font-size: 11px;
        }
        .fw-side-item .scount {
            margin-left: auto;
            font-size: 10.5px;
            font-family: 'JetBrains Mono', monospace;
            opacity: .8;
        }
        .fw-main {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-width: 0;
        }
        .fw-crumbbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 8px 16px;
            border-bottom: 1px solid var(--border);
        }
        .fw-crumbbar h2 {
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .fw-crumbbar .items-tag {
            color: var(--text-faint);
            font-weight: 500;
            font-size: 11.5px;
            margin-left: 4px;
        }
        .fw-spinner {
            width: 13px;
            height: 13px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, .15);
            border-top-color: var(--accent);
            animation: spin .7s linear infinite;
            display: none;
        }
        .fw-spinner.show {
            display: inline-block;
        }
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
        .fw-grid-wrap {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
        }
        .fw-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: 14px;
            transition: opacity .18s ease, transform .18s ease;
        }
        .fw-grid.loading {
            opacity: 0;
            transform: translateY(6px);
        }
        .fw-grid.list {
            grid-template-columns: 1fr;
        }
        .card {
            background: var(--panel-2);
            border: 1px solid var(--border);
            border-radius: 9px;
            overflow: hidden;
            cursor: pointer;
            opacity: 0;
            transform: translateY(8px);
            animation: cardIn .35s ease forwards;
            transition: border-color .15s ease, transform .15s ease;
        }
        .card:hover {
            border-color: var(--border-strong);
            transform: translateY(-2px);
        }
        @keyframes cardIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .card .thumb {
            height: 78px;
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
            font-size: 20px;
            position: relative;
            color: #fff;
            background-size: cover;
            background-position: center;
        }
        .card .thumb::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
        }
        .card .thumb .cat-badge {
            position: relative;
            z-index: 1;
            margin: 6px;
            width: 22px;
            height: 22px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10.5px;
            background: rgba(0, 0, 0, .6);
            backdrop-filter: blur(3px);
            border: 1px solid rgba(255, 255, 255, .15);
        }
        .card .thumb .link-badge {
            position: absolute;
            top: 6px;
            right: 6px;
            z-index: 2;
            width: 24px;
            height: 24px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            background: rgba(46, 204, 113, 0.8);
            backdrop-filter: blur(3px);
            border: 1px solid rgba(255, 255, 255, .2);
            color: #fff;
            opacity: 0;
            transition: opacity .2s;
        }
        .card:hover .thumb .link-badge {
            opacity: 1;
        }
        .card .thumb .play {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, .25);
            opacity: 0;
            transition: opacity .15s;
            font-size: 16px;
            z-index: 2;
        }
        .card:hover .thumb .play {
            opacity: 1;
        }
        .card .meta {
            padding: 8px 9px;
        }
        .card .ctitle {
            font-size: 11px;
            font-weight: 600;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .card .csub {
            font-size: 9.5px;
            color: var(--text-faint);
            margin-top: 2px;
            font-family: 'JetBrains Mono', monospace;
        }
        .fw-grid.list .card {
            display: flex;
            align-items: center;
        }
        .fw-grid.list .card .thumb {
            width: 70px;
            height: 44px;
            flex-shrink: 0;
        }
        .fw-grid.list .card .meta {
            flex: 1;
        }
        .fw-statusbar {
            display: flex;
            justify-content: space-between;
            padding: 6px 16px;
            border-top: 1px solid var(--border);
            font-size: 10.5px;
            color: var(--text-faint);
            font-family: 'JetBrains Mono', monospace;
            flex-shrink: 0;
        }

        /* Context menu */
        .ctx-menu {
            position: absolute;
            width: 210px;
            background: #1a1a20;
            border: 1px solid var(--border-strong);
            border-radius: 9px;
            box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .8);
            z-index: 30;
            opacity: 0;
            transform: scale(.92);
            transform-origin: top left;
            pointer-events: none;
            transition: opacity .12s ease, transform .12s ease;
        }
        .ctx-menu.show {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
        }
        .ctx-head {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 9px 10px;
            border-bottom: 1px solid var(--border);
        }
        .ctx-head .cthumb {
            width: 26px;
            height: 22px;
            border-radius: 4px;
            flex-shrink: 0;
            background-size: cover;
            background-position: center;
        }
        .ctx-head .cinfo {
            min-width: 0;
        }
        .ctx-head .cinfo .n {
            font-size: 11px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ctx-item {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 8px 11px;
            font-size: 11.5px;
            color: var(--text-dim);
            cursor: pointer;
        }
        .ctx-item i {
            width: 13px;
            text-align: center;
            font-size: 10.5px;
            opacity: .85;
        }
        .ctx-item:hover {
            background: rgba(255, 255, 255, .06);
            color: var(--text);
        }
        .ctx-item .tag {
            margin-left: auto;
            font-size: 8.5px;
            color: var(--text-faint);
            font-family: 'JetBrains Mono', monospace;
        }
        .ctx-sep {
            height: 1px;
            background: var(--border);
            margin: 2px 0;
        }
        .ctx-item.danger {
            color: #ff7a70;
        }


/* ---- WORK: NDA / ANONYMIZED CARDS ---- */
.card .thumb.nda {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--nda-c, #2a2a33), #0d0d10 75%);
}
.card .thumb.nda .nda-lock {
    font-size: 24px;
    color: var(--nda-c, #9a9aa2);
    opacity: .95;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
}
.card .thumb .nda-ribbon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 9px;
    letter-spacing: .06em;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(10, 10, 12, .72);
    border: 1px solid var(--border-strong);
    color: var(--text-dim);
    font-family: 'Amiri', 'Inter', sans-serif;
}
.fw-grid.list .card .thumb.nda {
    width: 54px;
    height: 40px;
    flex-shrink: 0;
}
.fw-grid.list .card .thumb.nda .nda-lock {
    font-size: 13px;
}
.fw-grid.list .card .thumb .nda-ribbon {
    display: none;
}
.ctx-head .cthumb.nda {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctx-head .cthumb.nda i {
    font-size: 13px;
    color: #f2f2f4;
    opacity: .9;
}

/* ---- WORK: OPEN CARDS (showcase allowed) ---- */
.card .thumb.open {
    overflow: hidden;
}
.card .thumb.open .thumb-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    background-color: #0d0d10;
    transition: transform .45s ease;
}
.card:hover .thumb.open .thumb-img {
    transform: scale(1.06);
}
.card .thumb.open .cat-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(10, 10, 12, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.fw-grid.list .card .thumb.open .thumb-img {
    position: absolute;
}

/* ---- WORK: CASE MODAL (light) ---- */
.swal2-popup.nda-case {
    border-radius: 18px !important;
    padding: 2rem 1.75rem !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35) !important;
    border: 1px solid rgba(0, 0, 0, .06);
}
.swal2-popup.nda-case .swal2-title {
    font-family: 'Amiri', serif;
    font-size: 1.45rem;
    font-weight: 700;
}
.swal2-popup.nda-case .swal2-html-container {
    font-family: 'Amiri', 'Inter', sans-serif;
    font-size: 1.02rem;
    line-height: 1.85;
    margin: .6rem 0 1rem;
}
.swal2-popup.nda-case .swal2-confirm,
.swal2-popup.nda-case .swal2-cancel {
    border-radius: 50px !important;
    font-family: 'Amiri', 'Inter', sans-serif;
    font-weight: 700;
    font-size: .98rem;
    padding: .7rem 1.8rem;
    box-shadow: none !important;
    border: none !important;
    transition: filter var(--transition-fast), transform var(--transition-fast);
}
.swal2-popup.nda-case .swal2-confirm {
    background-color: #10b981 !important;
    color: #ffffff !important;
}
.swal2-popup.nda-case .swal2-cancel {
    background-color: #1a2634 !important;
    color: #ffffff !important;
}
.swal2-popup.nda-case .swal2-confirm:hover,
.swal2-popup.nda-case .swal2-cancel:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}
.swal2-popup.nda-case .swal2-confirm:focus,
.swal2-popup.nda-case .swal2-cancel:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22) !important;
}

/* ---- WORK: RESPONSIVE ---- */
@media (max-width: 700px) {
    .section-work .fw-sidebar { width: 140px; }
    .section-work .icon-grid { gap: 20px; }
}
@media (max-width: 550px) {
    .section-work .fw-sidebar { display: none; }
    .section-work .fw-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   IMAGE LIGHTBOX (work galleries)
   ============================================================ */
/* ============================================================
   IMAGE LIGHTBOX
   ============================================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-container {
    position: relative;
    width: 90vw;
    max-width: 1100px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
}
.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}
.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}
.lightbox-close:hover {
    background: rgba(255, 60, 60, 0.7);
    transform: scale(1.1);
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(16, 185, 129, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.lightbox-caption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-family: 'Amiri', serif;
    text-align: center;
}
.lightbox-counter {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-family: 'Amiri', serif;
}
@media (max-width: 900px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    .lightbox-close {
        top: -10px;
        right: -10px;
        width: 38px;
        height: 38px;
    }
}
@media (max-width: 480px) {
    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .lightbox-img {
        border-radius: 8px;
    }
}

.section-messages {
    padding: 5rem 0 3rem;
    background: var(--msg-bg);
    position: relative;
    overflow: hidden;
    font-family: 'Amiri', 'Inter', sans-serif;
}

/* تدرج خلفية ناعم */
.section-messages::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 127, 255, 0.05), transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.container-messages {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ---- عنوان القسم ---- */
.section-label {
    font-family: 'Amiri', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 38px;
    letter-spacing: .01em;
    margin-bottom: 22px;
    text-transform: uppercase;
    color: var(--msg-text);
}
.section-label .accent {
    color: var(--msg-accent);
}

/* ---- Menubar (شريط المهام) ---- */
.menubar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 30px;
    background: rgba(24, 26, 34, 0.92);
    border: 1px solid var(--msg-border);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    font-size: 12px;
    color: var(--msg-text-dim);
    font-family: 'Amiri', 'Inter', sans-serif;
}
.menubar .brand {
    color: var(--msg-text);
    font-weight: 500;
}
.menubar .right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dot-live {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ecc71;
    margin-right: 6px;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, .15);
}
.clock {
    font-variant-numeric: tabular-nums;
}

/* ---- نافذة الرسائل ---- */
.msg-window {
    background: var(--msg-elevated);
    border: 1px solid var(--msg-border-strong);
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}

/* شريط العنوان */
.titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    height: 40px;
    background: linear-gradient(180deg, #22242e, #1a1c26);
    border-bottom: 1px solid var(--msg-border);
    cursor: grab;
}
.titlebar:active {
    cursor: grabbing;
}
.titlebar .title {
    font-size: 12.5px;
    color: var(--msg-text-dim);
    font-family: 'Amiri', 'Inter', sans-serif;
}
.titlebar .spacer {
    width: 59px;
}
.traffic {
    display: flex;
    gap: 8px;
}
.traffic span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}
.traffic .r { background: #ff5f57; }
.traffic .y { background: #febc2e; }
.traffic .g { background: #28c840; }

/* ---- جسم النافذة ---- */
.body {
    display: flex;
    min-height: 420px;
}

/* ---- الشريط الجانبي (قائمة العملاء) ---- */
.sidebar {
    width: 250px;
    flex-shrink: 0;
    background: var(--msg-surface);
    border-right: 1px solid var(--msg-border);
    padding: 14px 10px;
}
.sidebar-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--msg-text-faint);
    padding: 8px 10px 6px;
    font-family: 'Amiri', 'Inter', sans-serif;
}
.msg-list {
    overflow-y: auto;
    max-height: 400px;
}

/* ---- عناصر قائمة العملاء ---- */
.msg-item {
    display: flex;
    gap: 11px;
    padding: 12px 18px;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: background .15s;
    border-radius: 8px;
}
.msg-item:hover {
    background: rgba(255, 255, 255, .03);
}
.msg-item.active {
    background: rgba(16, 185, 129, 0.04);
    border-left-color: transparent;
}
.msg-item.active .msg-item-top .name::after {
    content: '●';
    color: var(--msg-accent);
    font-size: 14px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: .6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    font-family: 'Amiri', 'Inter', sans-serif;
}
.msg-item-body {
    min-width: 0;
    flex: 1;
}
.msg-item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}
.msg-item-top .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--msg-text);
}
.msg-item-top .time {
    font-size: 10px;
    color: var(--msg-text-faint);
    font-family: 'Amiri', 'Inter', sans-serif;
    flex-shrink: 0;
}
.msg-item-preview {
    font-size: 11.5px;
    color: var(--msg-text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0 6px;
}
.platform-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .03em;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Amiri', 'Inter', sans-serif;
    background: rgba(255, 255, 255, .06);
    color: var(--msg-text-dim);
}

/* ---- منطقة المحادثة (Thread) ---- */
.thread {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.thread-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--msg-border);
}
.thread-head .name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--msg-text);
}
.thread-head .sub {
    font-size: 11px;
    color: var(--msg-text-faint);
}

/* شارة التشغيل التلقائي */
.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: var(--msg-accent);
    font-family: 'Amiri', 'Inter', sans-serif;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(16, 185, 129, .1);
    border: 1px solid rgba(16, 185, 129, .25);
    cursor: default;
    white-space: nowrap;
    flex-shrink: 0;
}
.live-badge .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--msg-accent);
    animation: pulseDot 1.1s infinite;
}
.live-badge.manual {
    color: var(--msg-text-dim);
    background: rgba(255, 255, 255, .04);
    border-color: var(--msg-border);
    cursor: pointer;
}
.live-badge.manual .live-dot {
    display: none;
}

/* جسم المحادثة (الفقاعات) */
.thread-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--msg-surface);
    min-height: 300px;
    max-height: 400px;
}
.bubble {
    max-width: 70%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--msg-text);
}
.bubble.them {
    align-self: flex-start;
    background: var(--msg-elevated);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--msg-border);
}
.bubble.me {
    align-self: flex-end;
    background: var(--msg-accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.bubble.me .voice-indicator {
    font-size: 10px;
    margin-right: 6px;
    opacity: 0.7;
}
.typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 11px 14px;
    background: var(--msg-elevated);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--msg-border);
}
.typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--msg-text-faint);
    animation: bounce 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-3px); opacity: 1; }
}

/* ---- الرسائل الصوتية ---- */
.bubble.voice-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    min-width: 230px;
    max-width: 75%;
}

.voice-play {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--msg-accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, .3);
}

.voice-play:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(16, 185, 129, .4);
}

.voice-body {
    flex: 1;
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    min-width: 110px;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 22px;
    width: 100%;
}

.voice-wave span {
    flex: 1;
    background: rgba(255, 255, 255, .22);
    border-radius: 2px;
    min-width: 2px;
    transform-origin: center;
}

.bubble.them.voice-bubble .voice-wave span {
    background: rgba(200, 206, 219, .5);
}

.bubble.voice-bubble.playing .voice-wave span {
    animation: voiceWaveAnim .7s ease-in-out infinite alternate;
}

.bubble.voice-bubble.playing .voice-wave span:nth-child(3n) { animation-delay: .12s; }
.bubble.voice-bubble.playing .voice-wave span:nth-child(3n+1) { animation-delay: .24s; }
.bubble.voice-bubble.playing .voice-wave span:nth-child(3n+2) { animation-delay: .36s; }

@keyframes voiceWaveAnim {
    from { transform: scaleY(.45); opacity: .55; }
    to { transform: scaleY(1.15); opacity: 1; }
}

.voice-progress {
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2.5px;
    width: 0%;
    background: var(--msg-accent);
    border-radius: 3px;
    transition: width .15s linear;
    pointer-events: none;
}

.bubble.me.voice-bubble .voice-progress {
    background: #fff;
}

.voice-dur {
    font-size: 10.5px;
    color: var(--msg-text-faint);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    min-width: 30px;
    text-align: center;
}

.bubble.voice-bubble audio {
    display: none;
}

@media (max-width: 550px) {
    .bubble.voice-bubble {
        min-width: 190px;
        max-width: 88%;
    }
}

/* ---- حقل الإدخال (مع زر الصوت) ---- */
.thread-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--msg-border);
    background: var(--msg-surface);
}
.thread-input input {
    flex: 1;
    min-width: 0;
    background: var(--msg-elevated);
    border: 1px solid var(--msg-border);
    border-radius: 20px;
    padding: 9px 14px;
    color: var(--msg-text);
    font-size: 12.5px;
    font-family: 'Amiri', 'Inter', sans-serif;
    outline: none;
    transition: border-color .2s;
}
.thread-input input:focus {
    border-color: var(--msg-accent);
}
.thread-input input::placeholder {
    color: var(--msg-text-faint);
}

/* زر الميكروفون */
.gm-voice-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--msg-border);
    background: var(--msg-elevated);
    color: var(--msg-text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .25s ease;
    flex-shrink: 0;
}
.gm-voice-btn:hover {
    border-color: var(--msg-accent);
    color: var(--msg-accent);
}
.gm-voice-btn.listening {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, .08);
    animation: voicePulse 1.2s ease-in-out infinite;
}
.gm-voice-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}
.voice-wave {
    position: absolute;
    inset: -6px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2px;
    pointer-events: none;
}
.gm-voice-btn.listening .voice-wave {
    display: flex;
}
.voice-wave span {
    width: 2px;
    height: 6px;
    background: #ef4444;
    border-radius: 2px;
    animation: waveAnim 0.6s ease-in-out infinite alternate;
}
.voice-wave span:nth-child(2) { height: 10px; animation-delay: .1s; }
.voice-wave span:nth-child(3) { height: 14px; animation-delay: .2s; }
.voice-wave span:nth-child(4) { height: 10px; animation-delay: .3s; }
@keyframes waveAnim {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}
@keyframes voicePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .3); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* زر الإرسال */
.thread-input .send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--msg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #fff;
    font-size: 13px;
    border: none;
    transition: transform .12s ease, background .12s ease;
}
.thread-input .send.sending {
    transform: scale(.85);
    background: var(--msg-accent-dim);
}

/* حالة الصوت */
.voice-status {
    padding: 4px 16px 8px;
    font-size: 11px;
    color: var(--msg-text-faint);
    font-family: 'Amiri', 'Inter', sans-serif;
    min-height: 24px;
    background: var(--msg-surface);
    border-top: 1px solid transparent;
    transition: all .3s;
}
.voice-status.active {
    color: #ef4444;
    border-top-color: rgba(239, 68, 68, .15);
}
.voice-status.success {
    color: var(--msg-accent);
    border-top-color: rgba(16, 185, 129, .15);
}

/* ---- شريط التمرير ---- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .1);
    border-radius: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}

/* ---- التجاوب ---- */
@media (max-width: 768px) {
    .sidebar {
        width: 180px;
    }
    .container-messages {
        padding: 0 1rem;
    }
    .section-messages {
        padding: 3rem 0 2rem;
    }
    .section-label {
        font-size: 28px;
    }
}
@media (max-width: 550px) {
    .sidebar {
        display: none;
    }
    .thread {
        flex: 1;
    }
    .gm-voice-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .thread-input {
        padding: 8px 10px;
    }
    .thread-body {
        min-height: 200px;
        max-height: 300px;
    }
}
/* ============================================================
   SECTION: PRESENCE (خريطة الحضور)
   ============================================================ */
.presence-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    font-family: 'Amiri', 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}
.presence-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.presence-header {
    margin-bottom: 2.5rem;
}
.presence-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #047857;
    padding: 0.35rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.1);
}
.presence-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}
.presence-subtitle {
    color: #6b7280;
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Map container (flex: SVG + side panel) ===== */
.presence-map-wrap {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    gap: 1.6rem;
    align-items: stretch;
    text-align: start;
    padding: 1rem;
    background: transparent;
}
.map-flex-svg {
    flex: 1.55;
    position: relative;
    padding: 1.2rem;
    overflow: hidden;
}
svg.wilaya-svg {
    width: 100%;
    height: auto;
    max-height: 560px;
    display: block;
    position: relative;
    z-index: 1;
}
svg.wilaya-svg path {
    stroke: #f4f7fb;
    stroke-width: 9;
    stroke-linejoin: round;
    transition: fill 0.2s ease, transform 0.2s ease, filter 0.2s ease;
    transform-box: fill-box;
    transform-origin: center;
    cursor: default;
}
svg.wilaya-svg path.st-soon { fill: #d7e3ee; }
svg.wilaya-svg path.st-covered { fill: #0d9488; cursor: pointer; }
svg.wilaya-svg path.st-covered:hover { fill: #14b8a6; filter: drop-shadow(0 4px 10px rgba(13, 148, 136, 0.4)); }
svg.wilaya-svg path.st-startup { fill: #0d9488; cursor: pointer; }
svg.wilaya-svg path.st-startup:hover { fill: #14b8a6; filter: drop-shadow(0 4px 12px rgba(13, 148, 136, 0.4)); }
svg.wilaya-svg path.st-hq { fill: #0ea5e9; cursor: pointer; }
svg.wilaya-svg path.st-hq:hover { fill: #38bdf8; filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.5)); }
svg.wilaya-svg path.st-active { filter: drop-shadow(0 6px 16px rgba(13, 148, 136, 0.45)); }

/* ===== Selection ripple ===== */
.ripple-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.ripple-dot::before,
.ripple-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #34d399;
    animation: presenceRipple 1.8s ease-out infinite;
}
.ripple-dot::after { animation-delay: 0.5s; }
@keyframes presenceRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(7); opacity: 0; }
}

/* ===== Legend ===== */
.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(16, 185, 129, 0.25);
    font-size: 0.8rem;
    color: #5a6e7c;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.map-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.map-legend i { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }

/* ===== Cursor-following tooltip ===== */
.map-tooltip {
    position: fixed;
    background: #111827;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 100;
    max-width: 220px;
    text-align: start;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 16px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #111827;
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip .city { font-size: 1rem; color: #6ee7b7; }
.map-tooltip .detail { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; }

/* ===== Side info panel ===== */
.map-side {
    flex: 1;
    background: transparent;
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    text-align: start;
}
.side-empty {
    margin: auto;
    text-align: center;
    color: #8299a6;
    padding: 1rem;
}
.side-empty i { font-size: 2rem; color: #a7f3d0; margin-bottom: 0.6rem; display: block; }
.side-empty p { font-size: 0.9rem; line-height: 1.8; }

.side-detail { display: none; }
.side-detail.show { display: block; animation: sideFade 0.3s ease; }
@keyframes sideFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.side-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}
.side-status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.side-status-badge.hq { background: rgba(14, 165, 233, 0.1); color: #0369a1; }
.side-status-badge.hq::before { background: #0ea5e9; }
.side-status-badge.startup { background: rgba(13, 148, 136, 0.1); color: #0f766e; }
.side-status-badge.startup::before { background: #0d9488; }
.side-status-badge.covered { background: rgba(13, 148, 136, 0.1); color: #0f766e; }
.side-status-badge.covered::before { background: #0d9488; }

.side-detail h3 { font-size: 1.5rem; font-weight: 800; color: #111827; margin-bottom: 1rem; }
.side-detail .latin { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: #8299a6; margin-bottom: 1rem; }

.side-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-top: 1px solid #eef3f6;
}
.side-stat-row:first-of-type { border-top: none; }
.side-stat-row .lbl,
.side-services .lbl {
    font-size: 0.82rem;
    color: #5a6e7c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.side-stat-row .lbl i,
.side-services .lbl i { color: #0d9488; width: 16px; text-align: center; }
.side-stat-row .val { font-weight: 800; color: #111827; font-size: 0.95rem; }

.side-services {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0;
    border-top: 1px solid #eef3f6;
}
.service-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; justify-content: flex-end; }
.service-chip {
    display: inline-block;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.18);
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    white-space: nowrap;
}

.side-note {
    margin-top: 0.9rem;
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.8;
    padding-block: 0.4rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.side-note::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    margin-top: 0.5rem;
}
.side-cta {
    margin-top: 1.1rem;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #10b981, #0a7a55);
    color: #fff;
    padding: 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: filter 0.15s;
}
.side-cta:hover { filter: brightness(1.08); }

.directory-mini {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.directory-mini button {
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: #f3f9f6;
    color: #047857;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.directory-mini button:hover,
.directory-mini button.active {
    background: #10b981;
    color: #fff;
}

/* ===== Presence responsive ===== */
@media (max-width: 900px) {
    .presence-map-wrap { flex-direction: column; padding: 0.5rem; }
    .map-flex-svg { padding: 0.9rem; }
    .map-side { min-height: 0; }
}
@media (max-width: 480px) {
    .presence-section { padding: 3.5rem 1rem; }
    .presence-title { font-size: 1.8rem; }
    .map-legend { gap: 0.6rem; font-size: 0.72rem; }
    .side-services { flex-direction: column; gap: 0.4rem; }
    .service-chips { justify-content: flex-start; }
}
/* ============================================================
   SECTION: FAQ (الأسئلة الشائعة)
   ============================================================ */
.faq-section {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    padding: 5rem 2rem;
    font-family: 'Amiri', 'Inter', sans-serif;
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.6rem;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #047857;
    padding: 0.35rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.faq-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    color: #6b7280;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e6eaf0;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, border-radius 0.35s ease;
}

.faq-item:hover {
    border-color: #d5dbe4;
}

.faq-item.open {
    border-color: rgba(16, 185, 129, 0.45);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(16, 185, 129, 0.1);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2937;
    text-align: start;
}

.faq-item.open .faq-q {
    color: #047857;
}

.faq-q i {
    color: #9ca3af;
    font-size: 0.85rem;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-q i {
    transform: rotate(45deg);
    color: #10b981;
}

.faq-a {
    display: grid;
    grid-template-rows: minmax(0, 0fr);
    transition: grid-template-rows 0.35s ease;
}

.faq-item.open .faq-a {
    grid-template-rows: minmax(0, 1fr);
}

.faq-a-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 1.6rem 1.3rem;
}

.faq-a-inner p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.9;
}

.faq-a-inner ul {
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.faq-a-inner li {
    position: relative;
    padding-inline-start: 1.4rem;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-a-inner li::before {
    content: '\2713';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .faq-section { padding: 3rem 1.2rem; }
    .faq-title { font-size: 1.9rem; }
    .faq-q { padding: 1rem 1.3rem; font-size: 0.95rem; }
    .faq-a-inner { padding: 0 1.3rem 1.2rem; }
}

/* ============================================================
   SHARED SWIPER NAV (arrows + pagination) — used by wwb / projects sliders
   ============================================================ */
.wwb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 1.5rem;
}

.wwb-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dde3ea;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.06);
    transition: all 0.2s ease;
}

.wwb-nav-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.wwb-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 7px;
}

.wwb-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 50px;
    transition: all 0.25s ease;
    margin: 0 !important;
}

.wwb-pagination .swiper-pagination-bullet-active {
    background: #10b981;
    width: 24px;
}

/* ============================================================
   SECTION: CONTACT / LET'S TALK
   ============================================================ */

.contact-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(135deg, #f4f7fb 0%, #ffffff 100%);
    font-family: 'Amiri', 'Inter', sans-serif;
    direction: ltr;
    overflow: hidden;
}

.contact-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.12);
    padding: 0.3rem 1.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.contact-subtitle {
    color: #5a6e7c;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Grid ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ===== النموذج ===== */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.06);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border-color: rgba(16, 185, 129, 0.12);
}

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

.contact-field {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.contact-field label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a2634;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1a2634;
    background: #f7fafc;
    border: 1.5px solid #eef2f6;
    border-radius: 50px;
    padding: 0.75rem 1.2rem;
    outline: none;
    transition: all 0.25s ease;
    resize: vertical;
}

.contact-field textarea {
    border-radius: 16px;
    min-height: 80px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.06);
    background: #ffffff;
}

.contact-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 1.4rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.25);
}

.contact-submit-btn:active {
    transform: scale(0.97);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}
.contact-submit-btn:hover i {
    transform: translateX(4px);
}

.contact-form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    min-height: 1.5rem;
    color: #10b981;
    transition: all 0.3s ease;
}

.contact-form-feedback.error {
    color: #ef4444;
}

/* ===== أخطاء الحقول (تحت كل حقل) ===== */
.field-error {
    display: block;
    color: #ef4444;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 0.4rem;
    padding-inline-start: 0.4rem;
    animation: fieldErrorIn 0.25s ease;
}

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

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
    border-color: #ef4444;
    background: #fff5f5;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.contact-field.has-error input:focus,
.contact-field.has-error select:focus,
.contact-field.has-error textarea:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

[dir="rtl"] .field-error {
    text-align: right;
}

/* ===== SweetAlert2 — حواف دائرية ===== */
.swal2-popup {
    border-radius: 22px !important;
    font-family: 'Amiri', 'Inter', sans-serif !important;
    padding: 1.5rem 1.8rem !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.swal2-icon {
    border-radius: 50%;
}

.swal2-title {
    font-family: 'Amiri', 'Inter', sans-serif !important;
    font-size: 1.5rem !important;
    color: #1a2634 !important;
}

.swal2-html-container {
    font-family: 'Amiri', 'Inter', sans-serif !important;
    color: #5a6e7c !important;
    font-size: 1rem !important;
}

.swal2-confirm {
    border-radius: 50px !important;
    font-family: 'Amiri', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    padding: 0.6rem 2rem !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25) !important;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25), 0 0 0 4px rgba(16, 185, 129, 0.15) !important;
}

/* ===== معلومات الاتصال ===== */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid rgba(16, 185, 129, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(6px);
    border-color: rgba(16, 185, 129, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.05) rotate(-4deg);
}

.contact-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8f9aa6;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.1rem;
}

.contact-info-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a2634;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-value:hover {
    color: #10b981;
}

/* ===== شارات الثقة ===== */
.contact-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.contact-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5a6e7c;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.06);
}

.contact-trust-badges i {
    color: #10b981;
    font-size: 0.7rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0 4rem;
    }
    .contact-form-wrapper {
        padding: 1.8rem 1.5rem;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-info-wrapper {
        gap: 0.8rem;
    }
    .contact-info-card {
        padding: 1rem 1.2rem;
    }
    .contact-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-trust-badges {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-trust-badges span {
        justify-content: center;
    }
}

/* ============================================================
   SECTION: CONTACT (نموذج فقط – مطابق للأصل)
   ============================================================ */

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0 6rem;
    font-family: 'Amiri', 'Inter', sans-serif;
    direction: ltr;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Header (مطابق للأصل) ===== */
.section-header-enhanced {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 1.4rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'Amiri', serif;
}

.section-title-enhanced {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e2f3e, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    font-family: 'Amiri', serif;
}

.section-subtitle {
    color: #5a6e7c;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: 'Amiri', serif;
}

/* ===== Grid ===== */
.contact-grid {
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== نموذج الاتصال ===== */
.contact-form {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.2rem 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.06);
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.12);
}

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

.contact-field {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e2f3e;
    margin-bottom: 0.4rem;
    font-family: 'Amiri', serif;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    font-family: 'Amiri', 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #1e2f3e;
    background: #f7fafc;
    border: 1.5px solid #e3edf2;
    border-radius: 50px;
    padding: 0.75rem 1.2rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
    width: 100%;
    box-sizing: border-box;
}

.contact-field textarea {
    border-radius: 14px;
    font-family: 'Amiri', 'Inter', sans-serif;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.contact-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #00b4d8);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 1.4rem;
    font-family: 'Amiri', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-form-note {
    text-align: center;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
    min-height: 1.2em;
    font-family: 'Amiri', serif;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0 4rem;
    }

    .section-title-enhanced {
        font-size: 1.8rem;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 1.6rem 1.3rem;
        border-radius: 22px;
    }

    .contact-grid {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    .contact-form {
        padding: 1.2rem 1rem;
    }
    .contact-submit-btn {
        font-size: 0.85rem;
        padding: 0.75rem 1.2rem;
    }
}

/* ============================================================
   SECTION: DIRECT CONTACT (وسائل التواصل المباشر)
   ============================================================ */

.direct-contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0 6rem;
    font-family: 'Amiri', 'Inter', sans-serif;
    direction: ltr;
}

/* ===== Header (مطابق للأقسام السابقة) ===== */
.section-header-enhanced {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 1.4rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title-enhanced {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e2f3e, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #5a6e7c;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== شبكة الأيقونات ===== */
.direct-contact-grid {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

/* ===== بطاقة التواصل ===== */
.direct-contact-card {
    background: transparent;
    border-radius: 0;
    padding: 0.5rem 0;
    text-align: center;
    border: none;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.direct-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
    border-color: transparent;
}

/* ===== أيقونة ===== */
.direct-contact-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.direct-contact-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.direct-contact-card:hover .direct-contact-icon {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.direct-contact-card:hover .direct-contact-icon::before {
    opacity: 0.2;
}

/* ===== النصوص ===== */
.direct-contact-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e2f3e;
    margin: 0;
    font-family: 'Amiri', serif;
    letter-spacing: 0.02em;
}

.direct-contact-desc {
    display: none;
}

.direct-contact-action {
    display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .direct-contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .direct-contact-section {
        padding: 3rem 0 4rem;
    }
    .section-title-enhanced {
        font-size: 1.8rem;
    }
    .direct-contact-grid {
        gap: 2.5rem;
    }
    .direct-contact-icon {
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
    }
    .direct-contact-name {
        font-size: 1rem;
        font-family: 'Amiri', serif;
    }
    .direct-contact-desc {
        display: none;
    }
    .direct-contact-action {
        display: none;
    }
}

@media (max-width: 480px) {
    .direct-contact-grid {
        gap: 2rem;
        flex-wrap: nowrap;
    }
    .direct-contact-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    .direct-contact-name {
        font-size: 0.95rem;
        font-family: 'Amiri', serif;
    }
    .direct-contact-desc {
        display: none;
    }
    .direct-contact-action {
        display: none;
    }
}

/* ===== Header (مطابق للأقسام السابقة) ===== */
.section-header-enhanced {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 1.4rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title-enhanced {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e2f3e, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #5a6e7c;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   TERMS & CONDITIONS SECTION
   ============================================================ */
.terms-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0 6rem;
    font-family: 'Amiri', 'Inter', sans-serif;
}

.terms-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 20px;
}

.terms-cta p {
    font-family: 'Amiri', serif;
    font-size: 1.2rem;
    color: #1e2f3e;
    margin-bottom: 1.2rem;
}

.terms-cta .gm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.terms-cta .gm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .terms-section {
        padding: 3rem 0 4rem;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */

.gm-footer {
    background: #05070a;
    color: #b0b8c4;
    font-family: 'Amiri', 'Inter', sans-serif;
    direction: ltr;
    padding-top: 4rem;
}

.gm-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

/* ===== Top Section ===== */
.gm-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

/* ===== Brand ===== */
.gm-footer-logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 0.9rem;
}

.gm-footer-logo-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.gm-footer-logo-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.1rem 0.6rem;
    border-radius: 40px;
    border: 1px solid rgba(16, 185, 129, 0.12);
}

.gm-footer-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #8892a0;
    margin-bottom: 1.3rem;
    max-width: 320px;
}

/* ===== Social Icons ===== */
.gm-footer-socials {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.gm-footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b8c4;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gm-footer-socials a:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

/* ===== Columns ===== */
.gm-footer-col h4 {
    color: #fff;
    font-family: 'Amiri', serif;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.gm-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gm-footer-col li {
    margin-bottom: 0.65rem;
}

.gm-footer-col a {
    color: #8892a0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gm-footer-col a i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    color: #10b981;
}

.gm-footer-col a:hover {
    color: #fff;
    padding-left: 4px;
}

/* ===== Divider ===== */
.gm-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    margin: 0 0 1.5rem 0;
}

/* ===== Bottom ===== */
.gm-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.gm-footer-bottom p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .gm-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .gm-footer {
        padding-top: 2.5rem;
    }
    .gm-footer-top {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    .gm-footer-desc {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .gm-footer-logo {
        justify-content: center;
    }
    .gm-footer-socials {
        justify-content: center;
    }
    .gm-footer-col h4 {
        text-align: center;
    }
    .gm-footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .gm-footer-col a {
        justify-content: center;
    }
    .gm-footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    [dir="rtl"] .gm-footer-top {
        flex-direction: column;
    }
    [dir="rtl"] .gm-footer-col {
        text-align: center;
    }
    [dir="rtl"] .gm-footer-col h4 {
        text-align: center;
    }
    [dir="rtl"] .gm-footer-col a {
        justify-content: center;
    }
    [dir="rtl"] .gm-footer-bottom {
        flex-direction: column;
    }
}

/* ============================================================
   RTL SUPPORT (Arabic Version)
   ============================================================ */
[dir="rtl"] body {
    font-family: 'Amiri', serif;
    text-align: right;
    direction: rtl;
}

/* Header RTL */
[dir="rtl"] .gm-logo {
    order: 1;
}

@media (min-width: 993px) {
    [dir="rtl"] .gm-nav {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    [dir="rtl"] .gm-nav-list {
        flex-direction: row;
        gap: 2.5rem;
    }
}

[dir="rtl"] .gm-header-actions {
    order: 3;
    flex-direction: row;
    gap: 1rem;
}

[dir="rtl"] .lang-switcher {
    flex-direction: row;
}

[dir="rtl"] .gm-header-cta i {
    order: -1;
    margin-inline-end: 6px;
    margin-inline-start: 0;
    transform: none;
}

[dir="rtl"] .gm-header-menu {
    order: 0;
}

/* Navigation RTL */
[dir="rtl"] .gm-nav-link {
    text-align: right;
}

/* Mobile Navigation RTL — mirrors the English mobile dropdown exactly, just flipped to the left */
@media (max-width: 992px) {
    [dir="rtl"] .gm-nav {
        display: block;
        order: initial;
        flex: initial;
        justify-content: initial;
        right: auto;
        left: 1rem;
        transform-origin: top left;
    }

    [dir="rtl"] .gm-nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    [dir="rtl"] .gm-nav-link {
        text-align: right;
    }
}

/* Hero RTL */
[dir="rtl"] .gm-hero-content {
    text-align: center;
    direction: rtl;
}

[dir="rtl"] .gm-hero-tag {
    justify-content: center;
}

[dir="rtl"] .gm-hero-title {
    text-align: center;
}

[dir="rtl"] .gm-hero-desc {
    text-align: center;
}

[dir="rtl"] .gm-hero-actions {
    flex-direction: row-reverse;
    justify-content: center;
}

[dir="rtl"] .gm-hero-actions .gm-btn-primary i,
[dir="rtl"] .gm-hero-actions .gm-btn-secondary i {
    order: -1;
    margin-inline-end: 8px;
    margin-inline-start: 0;
    transform: none;
}

/* Swiper Buttons RTL */
[dir="rtl"] .gm-hero .swiper-button-next::after,
[dir="rtl"] .process-section .swiper-button-next::after,
[dir="rtl"] .wwb-section .swiper-button-next::after {
    content: '-prev';
}

[dir="rtl"] .gm-hero .swiper-button-prev::after,
[dir="rtl"] .process-section .swiper-button-prev::after,
[dir="rtl"] .wwb-section .swiper-button-prev::after {
    content: 'next-';
}

[dir="rtl"] .gm-hero .swiper-button-next,
[dir="rtl"] .process-section .swiper-button-next,
[dir="rtl"] .wwb-section .swiper-button-next {
    left: 20px;
    right: auto;
}

[dir="rtl"] .gm-hero .swiper-button-prev,
[dir="rtl"] .process-section .swiper-button-prev,
[dir="rtl"] .wwb-section .swiper-button-prev {
    right: 20px;
    left: auto;
}

/* Sections RTL */
[dir="rtl"] .wwb-header,
[dir="rtl"] .process-header,
[dir="rtl"] .section-header-enhanced {
    text-align: center;
    direction: rtl;
}

[dir="rtl"] .wwb-title,
[dir="rtl"] .process-title,
[dir="rtl"] .section-title-enhanced {
    text-align: center;
}

/* What We Build Cards RTL */
[dir="rtl"] .wwb-card {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .wwb-card-top {
    justify-content: flex-end;
}

[dir="rtl"] .wwb-card-top .wwb-icon {
    order: -1;
}

[dir="rtl"] .wwb-name {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .wwb-features {
    direction: rtl;
}

[dir="rtl"] .wwb-features li {
    justify-content: flex-start;
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .wwb-features li i {
    order: -1;
    margin-inline-end: 10px;
    margin-inline-start: 0;
}

/* Process Steps RTL */
[dir="rtl"] .process-step {
    flex-direction: row-reverse;
}

[dir="rtl"] .process-step-content {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .step-bullets {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .step-bullets li {
    justify-content: flex-start;
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .step-bullets li::before {
    margin-inline-end: 0.8rem;
    margin-inline-start: 0;
}

/* RTL Line Centering */
[dir="rtl"] .process-steps::before {
    left: calc(50% - 1.5px);
}

/* RTL Mobile Override */
@media (max-width: 768px) {
    [dir="rtl"] .process-steps::before {
        left: calc(50% - 1.25px);
    }

    [dir="rtl"] .process-step:nth-child(odd) .process-step-content {
        margin-left: auto;
        margin-right: 0;
        text-align: right;
        padding-right: 10px;
        padding-left: 0;
    }

    [dir="rtl"] .process-step:nth-child(even) .process-step-content {
        margin-right: auto;
        margin-left: 0;
        text-align: left;
        padding-left: 10px;
        padding-right: 0;
    }

    [dir="rtl"] .process-step:nth-child(odd) .step-bullets li {
        direction: rtl;
        text-align: right;
        padding-left: 0;
        padding-right: 0.8rem;
    }

    [dir="rtl"] .process-step:nth-child(odd) .step-bullets li::before {
        left: auto;
        right: 0;
    }
}

/* Contact Form RTL */
[dir="rtl"] .contact-form-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-field {
    text-align: right;
}

[dir="rtl"] .contact-field label {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .contact-field input,
[dir="rtl"] .contact-field select,
[dir="rtl"] .contact-field textarea {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .contact-field input[type="email"],
[dir="rtl"] .contact-field input[type="tel"] {
    direction: ltr;
    text-align: left;
}

[dir="rtl"] .contact-submit-btn {
    justify-content: center;
}

[dir="rtl"] .contact-submit-btn i {
    order: -1;
    margin-inline-end: 8px;
    margin-inline-start: 0;
    transform: none;
}

/* Direct Contact RTL */
[dir="rtl"] .direct-contact-grid {
    flex-direction: row-reverse;
}

[dir="rtl"] .direct-contact-card {
    text-align: center;
}

[dir="rtl"] .direct-contact-action {
    justify-content: center;
}

[dir="rtl"] .direct-contact-action i {
    order: -1;
    margin-inline-end: 6px;
    margin-inline-start: 0;
    transform: none;
}

/* Footer RTL */
[dir="rtl"] .gm-footer-inner {
    direction: rtl;
}

[dir="rtl"] .gm-footer-top {
    flex-direction: row-reverse;
}

[dir="rtl"] .gm-footer-col {
    text-align: right;
}

[dir="rtl"] .gm-footer-bottom {
    flex-direction: row-reverse;
}

/* Messages Section RTL */
[dir="rtl"] .thread-head {
    flex-direction: row-reverse;
}

[dir="rtl"] .thread-input {
    flex-direction: row-reverse;
}

[dir="rtl"] .thread-input input {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .msg-window .body {
    flex-direction: row-reverse;
}

[dir="rtl"] .sidebar {
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile RTL */
@media (max-width: 768px) {
    [dir="rtl"] .gm-hero-actions {
        flex-direction: column;
    }
    
    [dir="rtl"] .direct-contact-grid {
        flex-wrap: nowrap;
    }
}

/* Container Width */
.container,
.wwb-container,
.process-container,
.container-messages {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}