    
    /* ============================================================
       TIMELINE (desktop): gold line + dots
       ============================================================ */
    .tl-line {
        position: absolute;
        top: 50%;
        left: 6%;
        right: 6%;
        height: 2px;
        background: linear-gradient(90deg,
            rgba(212,180,140,0.05) 0%,
            rgba(212,180,140,0.35) 15%,
            rgba(212,180,140,0.35) 85%,
            rgba(212,180,140,0.05) 100%);
        transform: translateY(-50%);
        z-index: 0;
        border-radius: 999px;
    }

    @keyframes ovalIn {
        from { opacity: 0; transform: translateY(10px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .oval-enter { animation: ovalIn .45s cubic-bezier(.22,1,.36,1) both; }

    .tl-dot {
        width: 68px;
        height: 68px;
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        border-width: 2px;
        border-style: solid;
        transition: all .5s cubic-bezier(.22,1,.36,1);
    }

    /* ============================================================
       DETAIL PANEL
       ============================================================ */
    .tl-panel {
        border-radius: 1.75rem;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 2.5rem 2rem;
        text-align: center;
        border: 1px solid rgba(212,180,140,0.28);
        box-shadow: 0 0 40px rgba(212,180,140,0.08);
        transition: border-color .4s ease, box-shadow .4s ease;
    }
    @media (min-width: 768px) {
        .tl-panel { padding: 2.75rem 3rem; }
    }

    /* ============================================================
       BUTTONS
       ============================================================ */
    .btn-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        padding: 0.85rem 1.9rem;
        border-radius: 9999px;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        transition: all .3s cubic-bezier(.22,1,.36,1);
        cursor: pointer;
        border: 1.5px solid transparent;
        text-decoration: none;
    }
    .btn-cta i { transition: transform .3s ease; }
    .btn-cta:hover i { transform: translateX(3px); }

    .btn-primary {
        background: linear-gradient(135deg, #d4b48c, #b8956a);
        color: #0b0a0a;
        border-color: #d4b48c;
        box-shadow: 0 0 25px rgba(212,180,140,0.35);
    }
    .btn-primary:hover {
        box-shadow: 0 0 40px rgba(212,180,140,0.6);
        transform: translateY(-2px);
    }

    .btn-secondary {
        background: transparent;
        color: #e8dccc;
        border-color: rgba(212,180,140,0.45);
    }
    .btn-secondary:hover {
        border-color: #d4b48c;
        color: #d4b48c;
        background: rgba(212,180,140,0.06);
        transform: translateY(-2px);
    }

    /* ============================================================
       MOBILE: 3-row grid of pipe-separated links
       ============================================================ */
    @media (max-width: 768px) {
        .tl-line { display: none !important; }
        .tl-track { display: none !important; }

        .mobile-services-links {
            display: flex !important;
            flex-direction: column;
            align-items: center;
            gap: 0.35rem;
            padding: 0.75rem 0.5rem;
            margin-top: 0.5rem;
        }

        .mobile-services-links .ms-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 0.35rem 0.5rem;
            width: 100%;
        }

        .mobile-services-links .ms-link {
            font-size: 0.9rem;
            font-weight: 500;
            color: #e8dccc;
            text-decoration: none;
            background: none;
            border: none;
            padding: 0.3rem 0.35rem;
            cursor: pointer;
            line-height: 1.4;
            transition: color .3s ease, opacity .3s ease;
        }

        .mobile-services-links .ms-link:hover,
        .mobile-services-links .ms-link:focus-visible {
            color: #d4b48c;
            outline: none;
        }

        .mobile-services-links .ms-link.active {
            color: #d4b48c;
            font-weight: 600;
        }

        .mobile-services-links .ms-pipe {
            color: rgba(212,180,140,0.35);
            font-size: 0.9rem;
            user-select: none;
            padding: 0 0.05rem;
        }

        .relative.py-10 {
            padding-top: 0.25rem !important;
            padding-bottom: 0.25rem !important;
        }

        #expertisex { margin-top: 0px !important; }
    }

    @media (min-width: 769px) {
        .mobile-services-links { display: none !important; }
    }

    /* ============================================================
       LIGHT THEME — SECTION HEADER (#expertisex)
       ============================================================ */
    [data-theme="light"] #expertisex .text-arch-gold\/60 {
        color: rgba(184, 134, 11, 0.9) !important;
    }
    [data-theme="light"] #expertisex h2.text-arch-light {
        color: #1a1a1a !important;
    }

    /* ============================================================
       LIGHT THEME — TIMELINE
       ============================================================ */
    [data-theme="light"] #expertisex .tl-line {
        background: linear-gradient(90deg,
            rgba(184, 134, 11, 0.05) 0%,
            rgba(184, 134, 11, 0.45) 15%,
            rgba(184, 134, 11, 0.45) 85%,
            rgba(184, 134, 11, 0.05) 100%) !important;
    }

    /* Timeline dots (injected by JS) */
    [data-theme="light"] #expertisex .tl-dot {
        background: #f5f0e8 !important;
        border-color: rgba(184, 134, 11, 0.35) !important;
        color: #4a4035 !important;
    }
    [data-theme="light"] #expertisex .tl-dot:hover {
        border-color: #b8860b !important;
        color: #b8860b !important;
        background: rgba(184, 134, 11, 0.08) !important;
    }
    [data-theme="light"] #expertisex .tl-dot.active,
    [data-theme="light"] #expertisex .tl-dot.is-active {
        background: linear-gradient(135deg, #d4b48c, #b8860b) !important;
        border-color: #b8860b !important;
        color: #fff !important;
    }

    /* ============================================================
       LIGHT THEME — DETAIL PANEL
       ============================================================ */
    [data-theme="light"] #expertisex .tl-panel {
        background: rgba(255, 255, 255, 0.7) !important;
        border-color: rgba(184, 134, 11, 0.25) !important;
        box-shadow: 0 8px 40px -12px rgba(184, 134, 11, 0.15) !important;
    }
    [data-theme="light"] #expertisex .tl-panel h3,
    [data-theme="light"] #expertisex .tl-panel h4 {
        color: #1a1a1a !important;
    }
    [data-theme="light"] #expertisex .tl-panel p {
        color: #4a4035 !important;
    }
    [data-theme="light"] #expertisex .tl-panel .text-arch-light {
        color: #1a1a1a !important;
    }
    [data-theme="light"] #expertisex .tl-panel .text-arch-stone {
        color: #4a4035 !important;
    }
    [data-theme="light"] #expertisex .tl-panel .text-arch-secondary {
        color: #b8860b !important;
    }

    /* ============================================================
       LIGHT THEME — PANEL BUTTONS
       ============================================================ */
    [data-theme="light"] #expertisex .btn-primary {
        background: linear-gradient(135deg, #d4b48c, #b8860b) !important;
        color: #fff !important;
        border-color: #b8860b !important;
        box-shadow: 0 8px 25px -8px rgba(184, 134, 11, 0.5) !important;
    }
    [data-theme="light"] #expertisex .btn-primary:hover {
        box-shadow: 0 12px 35px -8px rgba(184, 134, 11, 0.7) !important;
    }

    [data-theme="light"] #expertisex .btn-secondary {
        background: transparent !important;
        color: #4a4035 !important;
        border-color: rgba(184, 134, 11, 0.45) !important;
    }
    [data-theme="light"] #expertisex .btn-secondary:hover {
        background: rgba(184, 134, 11, 0.08) !important;
        color: #b8860b !important;
        border-color: #b8860b !important;
    }

    /* ============================================================
       LIGHT THEME — MOBILE SERVICE LINKS
       ============================================================ */
    [data-theme="light"] #expertisex .mobile-services-links .ms-link {
        color: #4a4035 !important;
    }
    [data-theme="light"] #expertisex .mobile-services-links .ms-link:hover,
    [data-theme="light"] #expertisex .mobile-services-links .ms-link:focus-visible {
        color: #b8860b !important;
    }
    [data-theme="light"] #expertisex .mobile-services-links .ms-link.active {
        color: #b8860b !important;
    }
    [data-theme="light"] #expertisex .mobile-services-links .ms-pipe {
        color: rgba(184, 134, 11, 0.4) !important;
    }


/* --- Background image / video overlay gradients --- */
[data-theme="light"] .hero-locked .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right,
        rgba(11, 10, 10, 0.8),
        rgba(11, 10, 10, 0.6),
        rgba(11, 10, 10, 0.9)) !important;
}
		
#home p.text-arch-light\/60 {
    color: rgba(232, 220, 204, 0.6) !important;
}
		
/* Lock "Start a Project" button — identical in light theme */
[data-theme="light"] #home a[href="contactus.php"] {
    background-color: rgb(255 255 255 / 0.05) !important;
    border-color: rgb(232 220 204 / 0.10) !important;
    color: rgb(232 220 204 / 0.70) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}
[data-theme="light"] #home a[href="contactus.php"]:hover {
    background-color: rgb(255 255 255 / 0.10) !important;
    border-color: rgb(212 180 140 / 0.30) !important;
}
		
[data-theme="light"] .hero-locked .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right,
        rgba(11, 10, 10, 0.8),
        rgba(11, 10, 10, 0.6),
        rgba(11, 10, 10, 0.9)) !important;
}
		
	/* Flip ONLY this hero tagline block when Arabic is active */
body.lang-ar .hero-tagline-row {
    direction: rtl !important;
}
		
body.lang-ar #expertisex,
body.lang-ar #expertisex .tl-panel,
body.lang-ar #expertisex .tl-panel p,
body.lang-ar #expertisex .tl-item,
body.lang-ar #expertisex .tl-label,
body.lang-ar #expertisex .tl-num,
body.lang-ar #expertisex .tl-titleAr,		
body.lang-ar #expertisex .mobile-services-links,
body.lang-ar #expertisex .i18n-en,
body.lang-ar #expertisex .i18n-ar {
    direction: rtl !important;
}

body.lang-ar #expertisex .tl-panel .flex.items-center.justify-center {
    flex-direction: row-reverse;
}
body.lang-ar #projects h2[data-ar] {
    font-family: 'Cairo', 'Inter', system-ui, sans-serif !important;
}
		
body.lang-ar #expertisex .tl-track {
    direction: rtl;
    flex-direction: row-reverse;
}
/*********************************servicesaddon*****************************/


        /* ============================================================
           FIX: NAVBAR VISIBLE IMMEDIATELY ON LOAD & STAYS VISIBLE
           ============================================================ */
        #stickyNav,
        #stickyNav.navbar-hidden {
            opacity: 1 !important;
            transform: none !important;
            visibility: visible !important;
            pointer-events: auto !important;
            transition: opacity 0.3s ease, transform 0.3s ease !important;
        }
        #stickyNav {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            z-index: 9999 !important;
        }
        /* Portfolio specific overrides to match about.html aesthetic */
        .glass-card {
            background: rgba(11, 10, 10, 0.5);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(212, 180, 140, 0.15);
        }

/* ---------- Project card ---------- */
.project-card {
    background: rgba(11, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 180, 140, 0.1);
    transition: all 0.4s ease;
}
.project-card:hover {
    border-color: rgba(212, 180, 140, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(212, 180, 140, 0.15);
}

/* ---------- Filter bar buttons ---------- */
.filter-btn {
    padding: 0.5rem 1.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 180, 140, 0.25);
    border-radius: 9999px;
    color: rgba(232, 220, 204, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}
.filter-btn:hover {
    border-color: rgba(212, 180, 140, 0.5);
    color: #e8dccc;
    background: rgba(212, 180, 140, 0.1);
}
.filter-btn.active {
    background: linear-gradient(to right, #d4b48c, #c9a87c);
    color: #0b0a0a;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(212, 180, 140, 0.3);
}

[data-theme="light"] .filter-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(184, 134, 11, 0.25);
    color: #555;
}
[data-theme="light"] .filter-btn:hover {
    background: rgba(184, 134, 11, 0.1);
    color: #333;
}
[data-theme="light"] .filter-btn.active {
    color: #fff;
}

/* ---------- Custom scrollbar (details SPA + modal) ---------- */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(11, 10, 10, 0.6);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(212, 180, 140, 0.3);
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 180, 140, 0.6);
}

/* ---------- Gradient title (page-level override) ---------- */
.title-gradient {
    background: linear-gradient(135deg, #d4b48c 0%, #c9a87c 50%, #e6d4b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Utility ---------- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.fancybox__container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: -webkit-fill-available !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
}

.fancybox__toolbar {
    pointer-events: none !important;
    z-index: 2147483647 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.fancybox__toolbar button,
.fancybox__toolbar .fancybox__button,
.fancybox__button--close,
.fancybox__button--zoom,
.fancybox__button--slideshow,
.fancybox__button--thumbs,
.fancybox__button--fullscreen {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 2147483647 !important;
    position: relative !important;
}
/*********************************servicesaddon*****************************/