﻿        body { background-color: #0a0a0a; color: white; font-family: 'Tajawal', sans-serif; overflow-x: hidden;  }
        img, video { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; user-drag: none; pointer-events: auto; }
        input, textarea, select, [contenteditable="true"] { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; }
        .glass-nav { background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(10px); }
        .hero-gradient {
            background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(242, 101, 34, 0.22) 0%, rgba(242, 101, 34, 0.06) 50%, transparent 80%);
        }
        .hero-bridge { height: 80px; background: linear-gradient(to bottom, transparent, #0a0a0a); pointer-events: none; }
        
        /* Lines Background Styles */
        .lines-container {
            position: absolute;
            inset: 0;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }
        .line {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 1px;
            background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03), transparent);
        }
        .line:nth-child(1) { left: 10%; }
        .line:nth-child(2) { left: 20%; }
        .line:nth-child(3) { left: 30%; }
        .line:nth-child(4) { left: 40%; }
        .line:nth-child(5) { left: 50%; }
        .line:nth-child(6) { left: 60%; }
        .line:nth-child(7) { left: 70%; }
        .line:nth-child(8) { left: 80%; }
        .line:nth-child(9) { left: 90%; }
        .line:nth-child(10) { left: 100%; }

        .watermark-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 640px; height: 640px; opacity: 0.07; z-index: 0; pointer-events: none; object-fit: contain; filter: sepia(1) saturate(4) hue-rotate(0deg) brightness(0.4); }
        .side-logo { width: 400px; height: auto; opacity: 0.8; filter: drop-shadow(0 0 20px rgba(242, 101, 34, 0.3)); }
        /* Modern Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb:hover {
    background: #F26522;
}
html {
    scrollbar-color: #262626 #0a0a0a;
    scrollbar-width: thin;
}
        .stats-card { background-color: #1a1a1a; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; padding: 2rem; text-align: center; opacity: 0; transform: translateY(40px) scale(0.9); transition: opacity 0.7s cubic-bezier(.34,1.56,.64,1), transform 0.7s cubic-bezier(.34,1.56,.64,1); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; }
        .service-card { background-color: #1a1a1a; border-radius: 16px; padding: 2rem; position: relative; overflow: hidden; transition: all 0.3s ease; }
        .service-card:hover { transform: translateY(-4px); }
        .service-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; position: absolute; top: 1.5rem; right: 1.5rem; }
        .service-icon-orange { background-color: #F26522; color: #ffffff; }
        .service-icon-dark { background-color: #2a2a2a; color: #F26522; }
        .modal-overlay { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); }
        .modal-glass { background: rgba(26, 26, 26, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; }
        .modal-img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 16px; }
        .portfolio-item { transition: all 0.3s ease; }
        .portfolio-item:hover { transform: translateY(-8px); border-color: #F26522; }
        .img-count { position: absolute; bottom: 8px; right: 8px; background: rgba(242, 101, 34, 0.9); color: white; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
        .social-widget { display: flex; gap: 16px; justify-content: center; margin-top: 24px; }
        .social-link { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; transition: all 0.3s ease; text-decoration: none; }
        .social-link:hover { transform: translateY(-4px) scale(1.1); }
        .social-facebook { background: linear-gradient(135deg, #1877f2, #0d47a1); box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3); }
        .social-facebook:hover { box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5); }
        .social-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
        .social-whatsapp:hover { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5); }
        .social-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3); }
        .social-instagram:hover { box-shadow: 0 8px 25px rgba(225, 48, 108, 0.5); }
        .social-icon { width: 28px; height: 28px; fill: white; }
        @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
        .animate-float { animation: float 6s ease-in-out infinite; }
        @keyframes slideUp { 0% { opacity: 0; transform: translateY(30px) scale(0.95); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
        .animate-slideUp { animation: slideUp 0.4s ease-out; }
        /* Marquee */
        @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% - 2rem)); } }
        .marquee-wrapper { position: relative; width: 100%; overflow-x: hidden; overflow-y: visible; direction: ltr; padding: 1.5rem 0; }
        .marquee-track { display: flex; flex-direction: row; width: max-content; gap: 2rem; }
        .marquee-content { display: flex; flex-direction: row; gap: 2rem; align-items: center; animation: marquee 40s linear infinite; flex-shrink: 0; padding: 2rem 0; will-change: transform; }
        .marquee-wrapper:hover .marquee-content { animation-play-state: paused; }
        .fade-left  { position: absolute; left:  0; top: 0; bottom: 0; width: 120px; background: linear-gradient(to right, #0a0a0a, transparent); z-index: 10; pointer-events: none; }
        .fade-right { position: absolute; right: 0; top: 0; bottom: 0; width: 120px; background: linear-gradient(to left,  #0a0a0a, transparent); z-index: 10; pointer-events: none; }

        /* ===== Pro Reveal System ===== */
        [data-reveal] { opacity: 0; will-change: opacity, transform, filter; transition: opacity 0.9s cubic-bezier(.22,.61,.36,1), transform 0.9s cubic-bezier(.22,.61,.36,1), filter 0.9s ease; }
        [data-reveal="up"]    { transform: translateY(50px); }
        [data-reveal="down"]  { transform: translateY(-50px); }
        [data-reveal="left"]  { transform: translateX(60px); }
        [data-reveal="right"] { transform: translateX(-60px); }
        [data-reveal="zoom"]  { transform: scale(0.85); filter: blur(6px); }
        [data-reveal="fade"]  { transform: translateY(0); }
        [data-reveal="rotate"]{ transform: rotate(-6deg) translateY(40px); }
        [data-reveal].revealed { opacity: 1; transform: none; filter: none; }
        [data-delay="1"] { transition-delay: 0.1s; }
        [data-delay="2"] { transition-delay: 0.2s; }
        [data-delay="3"] { transition-delay: 0.3s; }
        [data-delay="4"] { transition-delay: 0.4s; }
        [data-delay="5"] { transition-delay: 0.5s; }
        [data-delay="6"] { transition-delay: 0.6s; }

        [data-stagger] > * { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1); }
        [data-stagger].revealed > * { opacity: 1; transform: none; }
        [data-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
        [data-stagger].revealed > *:nth-child(2) { transition-delay: 0.15s; }
        [data-stagger].revealed > *:nth-child(3) { transition-delay: 0.25s; }
        [data-stagger].revealed > *:nth-child(4) { transition-delay: 0.35s; }
        [data-stagger].revealed > *:nth-child(5) { transition-delay: 0.45s; }
        [data-stagger].revealed > *:nth-child(6) { transition-delay: 0.55s; }

        .reveal-underline { position: relative; display: inline-block; }
        .reveal-underline::after { content: ''; position: absolute; bottom: -10px; right: 0; height: 3px; width: 0; background: #F26522; border-radius: 2px; transition: width 0.8s cubic-bezier(.65,.05,.36,1) 0.3s; }
        .reveal-underline.revealed::after { width: 100%; }

        @keyframes textRise { 0% { opacity: 0; transform: translateY(30px); filter: blur(8px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }
        .hero-rise { animation: textRise 1s cubic-bezier(.22,.61,.36,1) both; }
        .hero-rise-1 { animation-delay: 0.1s; }
        .hero-rise-2 { animation-delay: 0.35s; }
        .hero-rise-3 { animation-delay: 0.6s; }
        .hero-rise-4 { animation-delay: 0.85s; }

        .service-card { transition: transform 0.4s cubic-bezier(.22,.61,.36,1), border-color 0.4s ease; }
        .service-card:hover { transform: translateX(-8px); border-color: rgba(242,101,34,0.4) !important; }

        .service-request-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
            padding: 8px 18px;
            background: transparent;
            border: 1px solid rgba(242, 101, 34, 0.5);
            color: #F26522;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 700;
            font-family: 'Tajawal', sans-serif;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .service-request-btn:hover {
            background: #F26522;
            color: #fff;
            border-color: #F26522;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(242,101,34,0.35);
        }
        .service-request-btn svg {
            transition: transform 0.3s ease;
            transform: rotate(180deg);
        }
        .service-request-btn:hover svg {
            transform: rotate(180deg) translateX(4px);
        }

        .portfolio-item { overflow: hidden; }
        .portfolio-item img { transition: transform 0.7s cubic-bezier(.22,.61,.36,1); }
        .portfolio-item:hover img { transform: scale(1.08); }

        /* Stats Counter Animation */
        .stats-card.in-view { opacity: 1; transform: translateY(0) scale(1); }
        .stats-card:nth-child(1) { transition-delay: 0s; }
        .stats-card:nth-child(2) { transition-delay: 0.15s; }
        .stats-card:nth-child(3) { transition-delay: 0.3s; }
        .stats-card.in-view h3 { animation: pulseGlow 0.8s ease-out 0.5s; }
        @keyframes pulseGlow { 0%,100% { text-shadow: 0 0 0 transparent; } 50% { text-shadow: 0 0 25px rgba(242,101,34,0.8); transform: scale(1.08); } }

        /* Avatar */
        .client-avatar { position: relative; width: 96px; height: 96px; flex-shrink: 0; cursor: pointer; transition: transform 0.35s cubic-bezier(.34,1.56,.64,1); filter: drop-shadow(0 0 0px transparent); }
        .client-avatar:hover { transform: scale(1.18) translateY(-6px); filter: drop-shadow(0 0 14px rgba(242,101,34,0.85)); }
        .client-avatar-inner { width: 100%; height: 100%; border-radius: 9999px; overflow: hidden; border: 2px solid rgba(255,255,255,0.12); transition: border-color 0.35s ease; }
        .client-avatar:hover .client-avatar-inner { border-color: #F26522; }
        .client-avatar-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }

        /* Video Container Styles - Portrait 9:16 */
        .video-container {
            position: relative;
            width: 100%;
            max-width: 360px;
            margin: 0 auto;
            aspect-ratio: 9 / 16;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            grid-column: span 1;
            background: #000;
            overflow: hidden;
        }
        .video-container video {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border: 0;
            display: block;
        }
        #modal-gallery:has(.video-container) {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

        /* ===================== Desktop Services Grid (2-col on tablet, 3-col on desktop) ===================== */
        @media (min-width: 768px) {
            #services .max-w-3xl { max-width: 56rem !important; }
            #services [data-stagger] {
                display: grid !important;
                grid-template-columns: repeat(2, 1fr);
                grid-auto-rows: 1fr;
                gap: 1.25rem;
                align-items: stretch;
            }
            #services [data-stagger] > .service-card {
                padding: 1.75rem !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: space-between !important;
                box-sizing: border-box;
            }
            #services [data-stagger] .service-card h3 { padding-right: 0 !important; }
            #services [data-stagger] .service-card p  { padding-right: 0 !important; flex: 1; }
        }
        @media (min-width: 1024px) {
            #services .max-w-3xl { max-width: 76rem !important; }
            #services [data-stagger] {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 1.5rem !important;
            }
            #services [data-stagger] > .service-card {
                padding: 1.75rem !important;
            }
        }

        /* ===================== Desktop Portfolio Masonry ===================== */
        @media (min-width: 768px) {
            #portfolio .grid { display: block !important; columns: 3; column-gap: 1rem; }
            #portfolio .grid .portfolio-item { display: inline-block; width: 100%; margin-bottom: 1rem; break-inside: avoid; }
            #portfolio .grid .portfolio-item img { display: block; width: 100%; height: auto; }
        }
        @media (min-width: 768px) and (max-width: 1023px) {
            #portfolio .grid { columns: 2; }
        }

        /* ===================== Mobile Responsive ===================== */
        @media (max-width: 767px) {
            html { font-size: 15px; }
            .container { padding-left: 1rem !important; padding-right: 1rem !important; }

            /* ===== HERO MOBILE ===== */
            section.relative.min-h-screen {
                padding-top: 5.5rem;
                padding-bottom: 2.5rem;
                min-height: 100svh;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            /* Hero badge pill */
            .hero-rise.hero-rise-1 { font-size: 0.75rem !important; padding: 0.3rem 0.9rem; margin-bottom: 1rem; }
            /* Hero h1 */
            h1.hero-rise-2 { font-size: 3.75rem !important; line-height: 1.3 !important; margin-bottom: 0.75rem !important; padding-top: 0.2em !important; overflow: visible !important; }
            h1.hero-rise-2 span { font-size: 3.5rem !important; display: inline-block !important; margin-right: 0 !important; padding-top: 0.2em !important; line-height: 1.3 !important; overflow: visible !important; }
            /* Hero subtitle */
            .hero-rise-3 { font-size: 0.95rem !important; padding: 0 0.75rem; margin-bottom: 1.75rem !important; line-height: 1.6; }
            /* Hero CTA buttons — full width stacked */
            .hero-rise-4 { flex-direction: column !important; gap: 0.7rem !important; width: 100%; padding: 0 0.5rem; }
            .hero-rise-4 a { width: 100% !important; text-align: center !important; padding: 0.9rem 1rem !important; font-size: 1rem !important; border-radius: 10px !important; }
            /* Scroll indicator arrow */
            .hero-scroll-indicator { display: flex !important; }
            /* Stats cards — force 3 cols always on mobile */
            .stats-card { padding: 0.85rem 0.5rem; }
            .stats-card h3 { font-size: 1.5rem; }
            .stats-card p { font-size: 0.72rem; }
            .grid.grid-cols-3 {
                gap: 0.4rem !important;
                margin-top: 1.75rem !important;
            }

            /* ===== SECTIONS SPACING ===== */
            section.py-24 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
            section.py-16 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
            .mb-16 { margin-bottom: 2.5rem !important; }
            .mb-12 { margin-bottom: 2rem !important; }

            /* ===== TYPOGRAPHY ===== */
            h2.text-3xl, h2.text-4xl, h2.text-5xl { font-size: 1.875rem !important; line-height: 1.2; }

            /* ===== SERVICES — horizontal scroll chips on mobile ===== */
            #services [data-stagger] {
                display: flex !important;
                flex-direction: row !important;
                overflow-x: auto !important;
                gap: 0.75rem !important;
                padding-bottom: 1rem !important;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            #services [data-stagger]::-webkit-scrollbar { display: none; }
            #services [data-stagger] .service-card {
                flex: 0 0 72vw !important;
                max-width: 280px !important;
                min-width: 220px !important;
                padding: 1.25rem !important;
                scroll-snap-align: start;
                border-radius: 14px !important;
            }
            #services [data-stagger] .service-card h3 { padding-right: 0 !important; margin-top: 0 !important; font-size: 1rem; }
            #services [data-stagger] .service-card p { padding-right: 0 !important; font-size: 0.8rem; }
            #services [data-stagger] .service-icon { top: 1rem; right: 1rem; }
            #services-scroll-hint { display: block !important; }

            /* ===== PORTFOLIO — 2-col square (Instagram-style) ===== */
            #portfolio .grid {
                display: grid !important;
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.5rem !important;
                columns: unset !important;
            }
            #portfolio .grid .portfolio-item {
                display: block !important;
                width: 100% !important;
                margin-bottom: 0 !important;
                border-radius: 0.625rem;
                aspect-ratio: 1 / 1;
                overflow: hidden;
            }
            #portfolio .grid .portfolio-item > div { height: 100%; }
            #portfolio .grid .portfolio-item img {
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
                object-position: center !important;
            }
            .portfolio-item:hover { transform: none; }
            .img-count { font-size: 10px; padding: 3px 8px; }

            /* ===== MODAL ===== */
            .modal-glass { border-radius: 16px; max-height: 92vh !important; }
            #modal-gallery.grid { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
            #modal-title { font-size: 1.125rem !important; }
            #modal-subtitle { font-size: 0.75rem; }
            .modal-img { max-height: 60vh; }
            .video-container { max-width: 100%; }

            /* ===== CLIENTS MARQUEE ===== */
            .client-avatar { width: 64px; height: 64px; }
            .client-avatar:hover { transform: none; filter: none; }
            .marquee-content { gap: 1rem; padding: 1rem 0; }
            .marquee-track { gap: 1rem; }
            .fade-left, .fade-right { width: 50px; }

            /* ===== CONTACT ===== */
            #contact .grid { gap: 2rem !important; }
            #contact input, #contact select, #contact textarea { font-size: 16px !important; }

            /* ===== NAVBAR ===== */
            nav .container { height: 4rem !important; }
            nav .container > div:first-child span { font-size: 1.125rem; }
            nav .container img { width: 2rem; height: 2rem; }

            /* ===== MOBILE MENU smooth transition ===== */
            #mobile-menu { transition: opacity 0.25s ease, transform 0.25s ease; transform: translateY(-8px); opacity: 0; pointer-events: none; }
            #mobile-menu.open { display: flex !important; flex-direction: column; transform: translateY(0); opacity: 1; pointer-events: auto; }

            /* ===== FOOTER ===== */
            footer { padding-top: 2rem; padding-bottom: 2rem; }

            /* ===== WHY US ===== */
            #why-us .flex.flex-col.lg\\:flex-row { gap: 2.5rem !important; }

            /* ===== FLOAT WA — fix position for RTL ===== */
            #float-wa { left: auto !important; right: 16px !important; bottom: 16px !important; }

            /* Disable heavy reveal transforms on mobile */
            [data-reveal="left"], [data-reveal="right"] { transform: translateY(20px); }

            /* Hide extra decorative lines */
            .lines-container .line:nth-child(n+6) { display: none; }
        }

        @media (max-width: 374px) {
            h1.hero-rise-2, h1.hero-rise-2 span { font-size: 2.75rem !important; line-height: 1.3 !important; overflow: visible !important; }
            .stats-card h3 { font-size: 1.4rem; }
            .stats-card p { font-size: 0.7rem; }
            #services [data-stagger] .service-card { flex: 0 0 82vw !important; }
        }

        /* Tablet tweaks */
        @media (min-width: 768px) and (max-width: 1023px) {
            .container { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
            section.py-24 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
            #services [data-stagger] { gap: 1rem; }
        }

        /* ===== Scroll indicator (hidden by default, shown on mobile) ===== */
        .hero-scroll-indicator { display: none; justify-content: center; margin-top: 2rem; }
        .hero-scroll-indicator-inner {
            width: 36px; height: 36px; border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.15);
            display: flex; align-items: center; justify-content: center;
            color: rgba(255,255,255,0.4); font-size: 1rem;
            animation: scrollBounce 2s ease-in-out infinite;
        }
        @keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

        /* ===== Services scroll hint ===== */
        #services-scroll-hint { display: none; text-align: center; font-size: 0.75rem; color: #555; margin-top: 0.5rem; }
        /* ===== Reading Progress Bar ===== */
        #reading-progress {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(to left, #F26522, #ff8c42);
            z-index: 99999;
            width: 0%;
            transition: width 0.1s linear;
            box-shadow: 0 0 8px rgba(242,101,34,0.6);
        }

        /* ===== CTA Primary Pulse ===== */
        @keyframes ctaPulse {
            0%, 100% { box-shadow: 0 0 30px rgba(242,101,34,0.4); }
            50% { box-shadow: 0 0 50px rgba(242,101,34,0.7), 0 0 80px rgba(242,101,34,0.2); }
        }
        .cta-primary { animation: ctaPulse 2.5s ease-in-out infinite; }
        .cta-primary:hover { animation: none; }

        /* ===== Typed Text Cursor ===== */
        .typed-cursor { display: inline-block; width: 3px; background: #F26522; animation: blink 0.8s step-end infinite; margin-right: 2px; vertical-align: middle; height: 1em; border-radius: 2px; }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

        /* ===== Active Navbar Link ===== */
        nav a.nav-active { color: #F26522 !important; }
        nav a.nav-active::after { content: ''; display: block; width: 6px; height: 6px; background: #F26522; border-radius: 50%; margin: 4px auto 0; }

        /* ===== Section Decorative Number ===== */
        .section-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 8rem;
            font-weight: 900;
            color: rgba(242, 101, 34, 0.04);
            line-height: 1;
            pointer-events: none;
            user-select: none;
            z-index: 0;
            letter-spacing: -5px;
        }

        /* ===== Section Dot Divider ===== */
        .section-divider { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 0; }
        .section-divider span { width: 6px; height: 6px; border-radius: 50%; background: rgba(242,101,34,0.4); }
        .section-divider span:nth-child(2) { background: #F26522; width: 8px; height: 8px; }

        /* ===== Floating WhatsApp Button ===== */
        #float-wa {
            position: fixed;
            bottom: 24px;
            right: 24px;
            left: auto;
            z-index: 9990;
            background: linear-gradient(135deg, #25d366, #128c7e);
            border-radius: 50%;
            width: 62px;
            height: 62px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(37,211,102,0.5);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-decoration: none;
        }
        #float-wa:hover {
            transform: scale(1.12) translateY(-4px);
            box-shadow: 0 8px 30px rgba(37,211,102,0.65);
        }
        @keyframes waPulse {
            0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
            50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
        }
        #float-wa { animation: waPulse 2.5s ease-in-out infinite; }
        #float-wa:hover { animation: none; }
        #float-wa svg { width: 30px; height: 30px; fill: white; }

        @media (max-width: 767px) {
            #float-wa { width: 52px; height: 52px; bottom: 16px; left: 16px; }
            #float-wa svg { width: 24px; height: 24px; }
        }

        /* ===== 1. NOISE TEXTURE OVERLAY ===== */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            opacity: 0.035;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 128px 128px;
        }

        /* ===== 2. GRADIENT MESH BACKGROUND ===== */
        .mesh-bg {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }
        .mesh-bg::before {
            content: '';
            position: absolute;
            width: 600px; height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(242,101,34,0.08) 0%, transparent 70%);
            top: -200px; right: -200px;
            animation: meshFloat1 12s ease-in-out infinite;
        }
        .mesh-bg::after {
            content: '';
            position: absolute;
            width: 500px; height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(242,101,34,0.05) 0%, transparent 70%);
            bottom: -150px; left: -150px;
            animation: meshFloat2 15s ease-in-out infinite;
        }
        @keyframes meshFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,30px) scale(1.1)} }
        @keyframes meshFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-40px) scale(1.15)} }

        /* ===== 3. PARTICLES CANVAS ===== */
        #particles-canvas {
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
        }

        /* ===== 4. GLASSMORPHISM SERVICE CARDS ===== */
        .service-card {
            background: rgba(255,255,255,0.03) !important;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.07) !important;
            box-shadow: 0 4px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
            transition: all 0.4s cubic-bezier(.22,.61,.36,1) !important;
        }
        .service-card:hover {
            background: rgba(242,101,34,0.05) !important;
            border-color: rgba(242,101,34,0.25) !important;
            box-shadow: 0 8px 40px rgba(242,101,34,0.12), inset 0 1px 0 rgba(255,255,255,0.08) !important;
            transform: translateX(-6px) translateY(-2px) !important;
        }

        /* ===== 5. PORTFOLIO HOVER OVERLAY ===== */
        .portfolio-item { position: relative; }
        .portfolio-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(242,101,34,0.9) 0%, rgba(0,0,0,0.5) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            opacity: 0;
            transition: opacity 0.35s ease;
            border-radius: inherit;
            z-index: 5;
        }
        .portfolio-item:hover .portfolio-overlay { opacity: 1; }
        .portfolio-overlay-icon { font-size: 32px; transform: translateY(10px); transition: transform 0.35s ease 0.05s; }
        .portfolio-item:hover .portfolio-overlay-icon { transform: translateY(0); }
        .portfolio-overlay-text { color: white; font-weight: 800; font-size: 14px; transform: translateY(10px); transition: transform 0.35s ease 0.1s; }
        .portfolio-item:hover .portfolio-overlay-text { transform: translateY(0); }

        /* ===== 6. STATS CARDS WITH PROGRESS RING ===== */
        .stats-card {
            position: relative;
            overflow: hidden;
        }
        .stats-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(242,101,34,0.06) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        .stats-card.in-view::before { opacity: 1; }
        .stat-ring-wrap {
            position: relative;
            width: 80px;
            height: 80px;
            margin: 0 auto 12px;
        }
        .stat-ring-svg {
            position: absolute;
            inset: 0;
            transform: rotate(-90deg);
        }
        .stat-ring-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 4; }
        .stat-ring-fill {
            fill: none;
            stroke: #F26522;
            stroke-width: 4;
            stroke-linecap: round;
            stroke-dasharray: 220;
            stroke-dashoffset: 220;
            transition: stroke-dashoffset 1.8s cubic-bezier(.22,.61,.36,1) 0.3s;
            filter: drop-shadow(0 0 6px rgba(242,101,34,0.6));
        }
        .stats-card.in-view .stat-ring-fill { stroke-dashoffset: 0; }

        /* ===== 7. GRADIENT TEXT ON HEADINGS ===== */
        .gradient-text {
            background: linear-gradient(135deg, #F26522 0%, #ff9a5c 50%, #F26522 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 4s linear infinite;
            padding-top: 0.15em;
            display: inline-block;
        }
        @keyframes gradientShift { 0%{background-position:0%} 100%{background-position:200%} }

        /* ===== 8. ANIMATED GRADIENT BORDER ON CTA ===== */
        .cta-primary {
            position: relative;
            z-index: 0;
        }
        .cta-primary::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 10px;
            background: linear-gradient(90deg, #F26522, #ff9a5c, #F26522, #e05510);
            background-size: 300% 100%;
            animation: borderGradient 3s linear infinite;
            z-index: -1;
        }
        @keyframes borderGradient { 0%{background-position:0%} 100%{background-position:300%} }

        /* ===== 9. SECTION CLIP-PATH TRANSITIONS ===== */
        .clip-section-top {
            clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
            margin-bottom: -40px;
        }
        .clip-section-bottom {
            clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
            padding-top: calc(3rem + 40px) !important;
        }

        /* ===== 10. GLOWING DOTS ON SECTION DIVIDERS ===== */
        .section-divider span {
            animation: dotPulse 2s ease-in-out infinite;
        }
        .section-divider span:nth-child(1) { animation-delay: 0s; }
        .section-divider span:nth-child(2) { animation-delay: 0.3s; }
        .section-divider span:nth-child(3) { animation-delay: 0.6s; }
        @keyframes dotPulse {
            0%,100% { transform: scale(1); opacity: 0.4; }
            50% { transform: scale(1.4); opacity: 1; }
        }

        /* ===== 11. TILT EFFECT ON WHY-US CARDS ===== */
        .tilt-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            transform-style: preserve-3d;
        }
        .tilt-card:hover {
            box-shadow: -8px 8px 30px rgba(242,101,34,0.15);
        }

        /* ===== 12. SHIMMER ON STATS NUMBERS ===== */
        @keyframes shimmer {
            0% { background-position: -200% center; }
            100% { background-position: 200% center; }
        }
        .stat-number {
            background: linear-gradient(90deg, #F26522 30%, #ffb347 50%, #F26522 70%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .stats-card.in-view .stat-number {
            animation: shimmer 2s linear infinite 1s;
        }



/* ==========================================================================
   THEME SWITCHER CONTROLS (Desktop & Mobile)
   ========================================================================== */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    user-select: none;
}
.theme-toggle-btn:hover {
    background: rgba(241, 112, 54, 0.18);
    border-color: #F17036;
    color: #F17036;
    transform: translateY(-2px);
}
.theme-toggle-btn-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1rem;
    user-select: none;
}
.theme-toggle-btn-compact:hover {
    background: rgba(241, 112, 54, 0.2);
    border-color: #F17036;
    transform: scale(1.05);
}
.theme-toggle-menu-row {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    width: 100%;
}

/* ==========================================================================
   DAY MODE (الوضع النهاري)
   تصميم راقي متوازن: أبيض ناصع + أسود صريح + درجات برتقالي اللوجو الرسمية (#F17036 و #972F00)
   ========================================================================== */
html.light-mode,
html.light-mode body {
    background-color: #FFFFFF !important;
    color: #111827 !important;
}

html.light-mode body::before {
    opacity: 0.02 !important;
}

/* Custom scrollbar in light mode */
html.light-mode::-webkit-scrollbar-track {
    background: #F3F4F6 !important;
}
html.light-mode::-webkit-scrollbar-thumb {
    background: #CBD5E1 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
html.light-mode::-webkit-scrollbar-thumb:hover {
    background: #F17036 !important;
}
html.light-mode {
    scrollbar-color: #CBD5E1 #F3F4F6;
}

/* Base Tailwind Utility Overrides in Light Mode */
html.light-mode .bg-brand-dark {
    background-color: #FFFFFF !important;
}
html.light-mode .bg-brand-card {
    background-color: #F8F9FA !important;
}
html.light-mode .text-brand-muted {
    color: #4B5563 !important;
}
html.light-mode .border-white\/5,
html.light-mode .border-white\/10,
html.light-mode .border-white\/20 {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Headings & Texts in Light Mode */
html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode h5,
html.light-mode h6 {
    color: #111827;
}

/* Gradient Text: Vibrant Logo Orange -> Deep Terracotta */
html.light-mode .gradient-text {
    background: linear-gradient(135deg, #F17036 0%, #D85820 40%, #972F00 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Section Decorative Watermark Numbers (01, 02, 03, 04) */
html.light-mode .section-number {
    color: rgba(241, 112, 54, 0.05) !important;
}

/* Reading Progress Bar */
html.light-mode #reading-progress {
    background: linear-gradient(to left, #F17036, #972F00) !important;
    box-shadow: 0 0 10px rgba(241, 112, 54, 0.4) !important;
}

/* ===== NAVBAR in Light Mode ===== */
html.light-mode .glass-nav {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
}
html.light-mode nav span.text-white {
    color: #111827 !important;
}
html.light-mode nav .text-brand-muted a {
    color: #374151 !important;
}
html.light-mode nav .text-brand-muted a:hover {
    color: #F17036 !important;
}
html.light-mode nav a[href="login.html"] {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
}
html.light-mode nav a[href="login.html"]:hover {
    border-color: #F17036 !important;
    color: #F17036 !important;
    background: rgba(241, 112, 54, 0.05) !important;
}
html.light-mode #mobile-menu-btn {
    color: #111827 !important;
}
html.light-mode #mobile-menu .glass-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
html.light-mode #mobile-menu a {
    color: #1F2937 !important;
}
html.light-mode #mobile-menu a:hover {
    color: #F17036 !important;
}
html.light-mode #mobile-menu a[href="login.html"] {
    border-color: rgba(0, 0, 0, 0.12) !important;
    background: #F8F9FA !important;
    color: #111827 !important;
}

/* Theme Toggle in Light Mode */
html.light-mode .theme-toggle-btn {
    background: #F3F4F6 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #111827 !important;
}
html.light-mode .theme-toggle-btn:hover {
    background: rgba(241, 112, 54, 0.1) !important;
    border-color: #F17036 !important;
    color: #F17036 !important;
}
html.light-mode .theme-toggle-btn-compact {
    background: #F3F4F6 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #111827 !important;
}
html.light-mode .theme-toggle-btn-compact:hover {
    background: rgba(241, 112, 54, 0.1) !important;
    border-color: #F17036 !important;
}
html.light-mode .theme-toggle-menu-row {
    background: #F3F4F6 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #111827 !important;
}

/* ===== HERO SECTION in Light Mode ===== */
html.light-mode .hero-gradient {
    background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(241, 112, 54, 0.12) 0%, rgba(241, 112, 54, 0.02) 50%, transparent 80%) !important;
}
html.light-mode .line {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02), transparent) !important;
}
html.light-mode #typed-tagline,
html.light-mode .hero-rise-3 {
    color: #4B5563 !important;
}
html.light-mode a[href="#portfolio"].border-white\/20 {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #111827 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
html.light-mode a[href="#portfolio"].border-white\/20:hover {
    border-color: #F17036 !important;
    color: #F17036 !important;
    background: rgba(241, 112, 54, 0.05) !important;
}
html.light-mode a[href="#testimonials"] {
    background: #FFFFFF !important;
    border-color: rgba(241, 112, 54, 0.45) !important;
    color: #F17036 !important;
    box-shadow: 0 4px 15px rgba(241, 112, 54, 0.06);
}
html.light-mode a[href="#testimonials"]:hover {
    background: rgba(241, 112, 54, 0.1) !important;
}
html.light-mode .hero-scroll-indicator-inner {
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: rgba(0, 0, 0, 0.45) !important;
}
html.light-mode .stats-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
html.light-mode .stats-card .text-brand-muted {
    color: #4B5563 !important;
}
html.light-mode .stat-number {
    background: linear-gradient(90deg, #F17036 30%, #ff9e66 50%, #972F00 70%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
html.light-mode .stat-ring-bg {
    stroke: rgba(0, 0, 0, 0.06) !important;
}
html.light-mode .hero-bridge {
    background: linear-gradient(to bottom, transparent, #FFFFFF) !important;
}
html.light-mode .section-divider {
    background-color: #FFFFFF !important;
}

/* ===== SERVICES SECTION in Light Mode ===== */
html.light-mode #services {
    background-color: #FFFFFF !important;
}
html.light-mode #services h2 {
    color: #111827 !important;
}
html.light-mode .service-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}
html.light-mode .service-card:hover {
    background: #FFFFFF !important;
    border-color: rgba(241, 112, 54, 0.35) !important;
    box-shadow: 0 12px 35px rgba(241, 112, 54, 0.12) !important;
}
html.light-mode .service-card h3 {
    color: #111827 !important;
}
html.light-mode .service-card p {
    color: #4B5563 !important;
}
html.light-mode .service-icon-dark {
    background-color: #F3F4F6 !important;
    color: #972F00 !important;
}
html.light-mode .service-request-btn {
    border-color: rgba(241, 112, 54, 0.45) !important;
    color: #F17036 !important;
    background: rgba(241, 112, 54, 0.04) !important;
}
html.light-mode .service-request-btn:hover {
    background: #F17036 !important;
    color: #FFFFFF !important;
    border-color: #F17036 !important;
    box-shadow: 0 6px 20px rgba(241, 112, 54, 0.35) !important;
}
html.light-mode #services-scroll-hint {
    color: #6B7280 !important;
}

/* ===== WHY US SECTION in Light Mode ===== */
html.light-mode #why-us {
    background-color: #F8F9FA !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
html.light-mode #why-us-heading-1 {
    color: #111827 !important;
}
html.light-mode #why-us-list h4 {
    color: #111827 !important;
}
html.light-mode #why-us-list p {
    color: #4B5563 !important;
}
html.light-mode .side-logo {
    filter: drop-shadow(0 0 25px rgba(241, 112, 54, 0.25)) !important;
}

/* ===== PORTFOLIO SECTION in Light Mode ===== */
html.light-mode #portfolio {
    background-color: #FFFFFF !important;
}
html.light-mode #portfolio h2 {
    color: #111827 !important;
}
html.light-mode #portfolio p.text-brand-muted {
    color: #4B5563 !important;
}
html.light-mode .portfolio-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
html.light-mode .portfolio-item:hover {
    border-color: #F17036 !important;
    box-shadow: 0 10px 30px rgba(241, 112, 54, 0.16) !important;
}
/* Keep text overlay on portfolio items readable */
html.light-mode .portfolio-item p.text-white,
html.light-mode .portfolio-item span.text-white {
    color: #FFFFFF !important;
}
html.light-mode .portfolio-overlay {
    background: linear-gradient(to top, rgba(241, 112, 54, 0.95) 0%, rgba(151, 47, 0, 0.8) 100%) !important;
}
html.light-mode .portfolio-overlay-text {
    color: #FFFFFF !important;
}

/* ===== TESTIMONIALS SECTION in Light Mode ===== */
html.light-mode #testimonials {
    background-color: #F8F9FA !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
html.light-mode #testimonials h2 {
    color: #111827 !important;
}
html.light-mode #testimonials p.text-brand-muted {
    color: #4B5563 !important;
}
html.light-mode .testimonial-card .relative {
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
}
html.light-mode .testimonial-card:hover .relative {
    border-color: rgba(241, 112, 54, 0.5) !important;
    box-shadow: 0 14px 40px rgba(241, 112, 54, 0.2) !important;
}
html.light-mode .testimonial-card p.text-white {
    color: #FFFFFF !important;
}

/* ===== CLIENTS SECTION in Light Mode ===== */
html.light-mode section.py-16.bg-brand-dark {
    background-color: #FFFFFF !important;
}
html.light-mode section.py-16.bg-brand-dark h2 {
    color: #111827 !important;
}
html.light-mode section.py-16.bg-brand-dark p.text-brand-muted {
    color: #4B5563 !important;
}
html.light-mode .fade-left {
    background: linear-gradient(to right, #FFFFFF, transparent) !important;
}
html.light-mode .fade-right {
    background: linear-gradient(to left, #FFFFFF, transparent) !important;
}
html.light-mode .client-avatar-inner {
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
    background: #FFFFFF !important;
}
html.light-mode .client-avatar:hover .client-avatar-inner {
    border-color: #F17036 !important;
}

/* ===== CONTACT SECTION in Light Mode ===== */
html.light-mode #contact {
    background-color: #F8F9FA !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
html.light-mode #contact h2 {
    color: #111827 !important;
}
html.light-mode #contact p.text-brand-muted {
    color: #4B5563 !important;
}
html.light-mode #contact .bg-brand-dark {
    background-color: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}
html.light-mode #contact h3 {
    color: #111827 !important;
}
html.light-mode #contact label {
    color: #374151 !important;
}
html.light-mode #contact input,
html.light-mode #contact select,
html.light-mode #contact textarea {
    background-color: #F9FAFB !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #111827 !important;
}
html.light-mode #contact input::placeholder,
html.light-mode #contact textarea::placeholder {
    color: #9CA3AF !important;
}
html.light-mode #contact input:focus,
html.light-mode #contact select:focus,
html.light-mode #contact textarea:focus {
    border-color: #F17036 !important;
    box-shadow: 0 0 0 3px rgba(241, 112, 54, 0.15) !important;
    background-color: #FFFFFF !important;
}
html.light-mode #contact select option {
    background-color: #FFFFFF !important;
    color: #111827 !important;
}
html.light-mode #social-handle {
    color: #4B5563 !important;
}
html.light-mode #contact .bg-brand-orange\/10 {
    background-color: rgba(241, 112, 54, 0.08) !important;
    border-color: rgba(241, 112, 54, 0.25) !important;
}
html.light-mode #quick-reply-text {
    color: #4B5563 !important;
}

/* ===== FOOTER in Light Mode ===== */
html.light-mode footer {
    background-color: #FFFFFF !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}
html.light-mode footer span.font-bold {
    color: #111827 !important;
}
html.light-mode footer a {
    color: #4B5563 !important;
}
html.light-mode footer a:hover {
    color: #F17036 !important;
}
html.light-mode footer #footer-facebook,
html.light-mode footer #footer-instagram,
html.light-mode footer #footer-whatsapp {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
html.light-mode footer #footer-facebook svg,
html.light-mode footer #footer-instagram svg,
html.light-mode footer #footer-whatsapp svg {
    color: #4B5563 !important;
}
html.light-mode footer #footer-copyright {
    color: #6B7280 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
html.light-mode footer #footer-copyright a {
    color: #F17036 !important;
}

/* ===== PORTFOLIO MODAL in Light Mode ===== */
html.light-mode .modal-glass {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18) !important;
}
html.light-mode .modal-glass .sticky.top-0 {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
html.light-mode #modal-title {
    color: #111827 !important;
}
html.light-mode .modal-glass button.bg-white\/5 {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #111827 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}
html.light-mode .modal-glass button.bg-white\/5:hover {
    background: #F17036 !important;
    color: #FFFFFF !important;
    border-color: #F17036 !important;
}
html.light-mode .modal-glass .border-t {
    border-color: rgba(0, 0, 0, 0.08) !important;
}
html.light-mode #modal-footer-btn {
    color: #6B7280 !important;
}
html.light-mode #modal-footer-btn:hover {
    color: #111827 !important;
}

/* Preserve white text inside primary CTA and WhatsApp buttons */
html.light-mode .bg-brand-orange,
html.light-mode .bg-brand-orange.text-white,
html.light-mode .cta-primary,
html.light-mode #float-wa svg {
    color: #FFFFFF !important;
}


/* ==========================================================================
   PORTFOLIO MODERN REDESIGN (Category Pills & Compact Creative Cards)
   ========================================================================== */

/* Filter Capsule Bar */
.portfolio-filter-capsule {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 5px;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.portfolio-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.portfolio-filter-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-filter-pill.active {
    background: #F17036;
    color: #ffffff;
    border-color: #F17036;
    box-shadow: 0 0 20px rgba(241, 112, 54, 0.5), 0 4px 12px rgba(241, 112, 54, 0.35);
}

.portfolio-filter-pill .pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
    line-height: 1;
}

.portfolio-filter-pill.active .pill-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Portfolio Cards Grid */
#portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    columns: unset !important;
}

@media (min-width: 768px) {
    #portfolio-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
    }
}

@media (min-width: 1024px) {
    #portfolio-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.25rem !important;
    }
}

/* Compact Creative Card */
.portfolio-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: right;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(241, 112, 54, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(241, 112, 54, 0.5) !important;
    box-shadow: 0 12px 35px rgba(241, 112, 54, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portfolio-card:hover::before {
    opacity: 1;
}

/* Card Top Row */
.portfolio-card-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #F17036;
    background: rgba(241, 112, 54, 0.1);
    border: 1px solid rgba(241, 112, 54, 0.2);
    padding: 3px 9px;
    border-radius: 9999px;
    line-height: 1;
}

.portfolio-card-action {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-card-action {
    background: #F17036;
    border-color: #F17036;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(241, 112, 54, 0.6);
}

/* Vector Illustration */
.portfolio-card-vector-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0 1rem;
    position: relative;
}

.portfolio-vector-svg {
    width: 52px;
    height: 52px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.portfolio-card:hover .portfolio-vector-svg {
    transform: scale(1.14) translateY(-2px);
}

/* Card Text */
.portfolio-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1.3;
}

.portfolio-card-hint {
    font-size: 0.75rem;
    color: #9CA3AF;
    line-height: 1.3;
}

/* Filter Card Hidden State */
.portfolio-card-hidden {
    display: none !important;
}

/* ==========================================================================
   DAY MODE (Light Mode) OVERRIDES FOR PORTFOLIO
   ========================================================================== */
html.light-mode .portfolio-filter-capsule {
    background: #F3F4F6 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

html.light-mode .portfolio-filter-pill {
    color: #4B5563 !important;
}

html.light-mode .portfolio-filter-pill:hover {
    color: #111827 !important;
    background: #E5E7EB !important;
}

html.light-mode .portfolio-filter-pill.active {
    background: #F17036 !important;
    color: #ffffff !important;
    border-color: #F17036 !important;
    box-shadow: 0 4px 15px rgba(241, 112, 54, 0.35) !important;
}

html.light-mode .portfolio-filter-pill .pill-badge {
    background: rgba(0, 0, 0, 0.08) !important;
    color: inherit !important;
}

html.light-mode .portfolio-filter-pill.active .pill-badge {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

html.light-mode .portfolio-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .portfolio-card::before {
    background: radial-gradient(circle at 50% 20%, rgba(241, 112, 54, 0.08) 0%, transparent 70%) !important;
}

html.light-mode .portfolio-card:hover {
    border-color: rgba(241, 112, 54, 0.45) !important;
    box-shadow: 0 12px 30px rgba(241, 112, 54, 0.14) !important;
}

html.light-mode .portfolio-card-badge {
    color: #972F00 !important;
    background: rgba(241, 112, 54, 0.08) !important;
    border-color: rgba(241, 112, 54, 0.2) !important;
}

html.light-mode .portfolio-card-action {
    background: #F3F4F6 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #4B5563 !important;
}

html.light-mode .portfolio-card:hover .portfolio-card-action {
    background: #F17036 !important;
    border-color: #F17036 !important;
    color: #ffffff !important;
}

html.light-mode .portfolio-card-title {
    color: #111827 !important;
}

html.light-mode .portfolio-card-hint {
    color: #6B7280 !important;
}


/* ===== 4. CREATIVE SERVICE CARDS REDESIGN ===== */
.service-card {
    background: linear-gradient(160deg, #181820 0%, #101014 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 1.75rem !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.4s cubic-bezier(.22,.61,.36,1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}
.service-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(241, 112, 54, 0.45) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 35px -5px rgba(241, 112, 54, 0.2) !important;
}

.service-card-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(241, 112, 54, 0.2) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.6;
}
.service-card:hover .service-card-glow {
    opacity: 1;
    transform: scale(1.3);
}

.service-vector-wrapper {
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(241, 112, 54, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
    border: 1px solid rgba(241, 112, 54, 0.32) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.35s cubic-bezier(.22,.61,.36,1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
}
.service-vector-wrapper svg {
    width: 35px !important;
    height: 35px !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    filter: drop-shadow(0 3px 10px rgba(241, 112, 54, 0.35)) !important;
}
.service-card:hover .service-vector-wrapper {
    background: linear-gradient(135deg, rgba(241, 112, 54, 0.28) 0%, rgba(241, 112, 54, 0.1) 100%) !important;
    border-color: rgba(241, 112, 54, 0.65) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 8px 22px rgba(241, 112, 54, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.service-card:hover .service-vector-wrapper svg {
    transform: scale(1.08) translateY(-1px) !important;
}

.service-card-num {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFA463;
    transition: all 0.3s ease;
}
.service-card:hover .service-card-num {
    border-color: rgba(241, 112, 54, 0.4);
    background: rgba(241, 112, 54, 0.1);
}

.service-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}
.service-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(241, 112, 54, 0.12);
    border: 1px solid rgba(241, 112, 54, 0.3);
    color: #F17036;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.service-card:hover .service-action-btn {
    background: #F17036;
    color: #FFFFFF;
    border-color: #F17036;
    box-shadow: 0 4px 15px rgba(241, 112, 54, 0.4);
}

/* Light mode overrides for services */
html.light-mode .service-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}
html.light-mode .service-card:hover {
    border-color: rgba(241, 112, 54, 0.4) !important;
    box-shadow: 0 16px 36px -10px rgba(241, 112, 54, 0.22) !important;
}
html.light-mode .service-card h3 {
    color: #111827 !important;
}
html.light-mode .service-card p {
    color: #4B5563 !important;
}
html.light-mode .service-vector-wrapper {
    background: linear-gradient(135deg, rgba(241, 112, 54, 0.08) 0%, rgba(241, 112, 54, 0.02) 100%) !important;
    border: 1px solid rgba(241, 112, 54, 0.2) !important;
    box-shadow: 0 2px 8px rgba(241, 112, 54, 0.08) !important;
}
html.light-mode .service-card:hover .service-vector-wrapper {
    background: linear-gradient(135deg, rgba(241, 112, 54, 0.16) 0%, rgba(241, 112, 54, 0.05) 100%) !important;
    border-color: #F17036 !important;
}
html.light-mode .service-card-num {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #972F00 !important;
}
html.light-mode .service-card-action {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}
html.light-mode .service-card-action span {
    color: #111827 !important;
}
html.light-mode .service-action-btn {
    background: rgba(241, 112, 54, 0.08) !important;
    border-color: rgba(241, 112, 54, 0.25) !important;
    color: #972F00 !important;
}
html.light-mode .service-card:hover .service-action-btn {
    background: #F17036 !important;
    color: #FFFFFF !important;
    border-color: #F17036 !important;
}
