        :root {
            --primary-color: #36A7E9;
            --secondary-color: #3a86ff;
            --accent-color: #1e40af;
            --text-primary: #1e293b;
            --text-secondary: #475569;
            --text-muted: #64748b;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-dark: #1e293b;
            --border-color: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --container-max: 1400px;
            --container-padding: 0.75rem;
            --header-height: 55px;
            --topbar-height: 35px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "Almarai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-secondary);
            color: var(--text-primary);
            line-height: 1.6;
            font-size: 16px;
            overflow-x: hidden;
        }

        /* Container System - Fixed responsive breakpoints */
        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding-left: var(--container-padding);
            padding-right: var(--container-padding);
        }

        /* ==================== RESPONSIVE MAIN HEADER ==================== */
        .main-header {
            background: var(--bg-primary);
            /*box-shadow: var(--shadow-md);*/
            box-shadow: 0 1px 3px 0 rgba(132, 146, 166, .2) !important;
            position: sticky;
            top: 0;
            z-index: 100;
            transition: transform 0.3s ease-in-out;
        
            margin-bottom: 10px;
        }
        
/*.main-header {*/
/*    background: var(--bg-primary);*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 100;*/
/*    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;*/
/*    margin-bottom: 10px;*/
/*    box-shadow: none; */
/*}*/

/*.main-header.scrolled {*/
    /*box-shadow: var(--shadow-md); */
/*}*/


        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            min-height: var(--header-height);
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }

        /* Logo Section - Always Visible */
        .logo-section {
            display: flex;
            align-items: center;
            gap: 0.2rem;
            text-decoration: none;
            flex-shrink: 0;
            z-index: 101;
        }

        .logo-img {
            height: 32px;
            width: 32px;
            border-radius: var(--radius-sm);
        }

        .logo-text {
            font-size: 1.25rem;
            font-weight: 500;
            color: var(--text-primary);
            letter-spacing: -0.025em;
        }

        /* Desktop Navigation - Hidden on mobile */
        .main-nav {
            display: none;
            flex: 1;
            justify-content: center;
        }

        .nav-list {
            display: flex;
            align-items: center;
            gap: 1rem;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 0.85rem;
            text-decoration: none;
            padding: 0.4rem 0.6rem;
            border-radius: var(--radius-sm);
            transition: all 0.3s ease;
            position: relative;
            white-space: nowrap;
        }

        .nav-link:hover {
            color: var(--primary-color);
            background: rgba(59, 130, 246, 0.05);
        }

        .nav-link i {
            font-size: 0.75rem;
        }

        /* Header Actions */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            flex-shrink: 0;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            padding: 0.4rem 0.8rem;
            border-radius: var(--radius-md);
            font-weight: 500;
            text-decoration: none;
            /*transition: all 0.3s ease;*/
            border: none;
            cursor: pointer;
            font-family: inherit;
            font-size: 1rem;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        }

        .btn-outline {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            
        }

        .btn-outline:hover {
            background: var(--bg-secondary);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .hide-sahre-btn {
            display: none; /* Hidden on mobile by default */
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1.4rem;
            cursor: pointer;
            padding: 0.4rem;
            border-radius: var(--radius-sm);
            transition: all 0.3s ease;
            width: 36px;
            height: 36px;
        }

        .mobile-menu-btn:hover {
            background: var(--bg-secondary);
            color: var(--primary-color);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            max-width: 320px;
            height: 100vh;
            background: var(--bg-primary);
            box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
            transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            overflow-y: auto;
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-menu-header {
            padding: 1rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--bg-secondary);
            direction: ltr;
        }

        .mobile-menu-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 1.4rem;
            color: var(--text-muted);
            cursor: pointer;
            padding: 0.4rem;
            border-radius: var(--radius-sm);
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            background: #fee2e2;
            color: #ef4444;
        }

        .mobile-nav {
            padding: 0.5rem 0;
        }

        .mobile-nav-list {
            list-style: none;
        }

        .mobile-nav-item {
            margin-bottom: 0.2rem;
        }

        .mobile-nav-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.8rem 1rem;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
            border-right: 3px solid transparent;
        }

        .mobile-nav-link:hover {
            background: var(--bg-secondary);
            color: var(--primary-color);
            border-right-color: var(--primary-color);
        }

        .mobile-nav-link i {
            font-size: 0.9rem;
            width: 1rem;
        }

        .mobile-actions {
            padding: 1rem;
            border-top: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            background: var(--bg-secondary);
        }

        /* Overlay */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Main Content Responsiveness */
        .main-content {
            min-height: 50vh;
            padding: 2rem 0;
            text-align: center;
            background: white;
            margin: 1rem 0;
            border-radius: var(--radius-lg);
        }

        .main-content h1 {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 800;
            line-height: 1.2;
        }

        .main-content p {
            font-size: clamp(0.9rem, 2.5vw, 1.1rem);
            color: var(--text-muted);
            max-width: 500px;
            margin: 0 auto 1.5rem;
            line-height: 1.6;
            padding: 0 1rem;
        }

        .main-content-actions {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 1.5rem;
            padding: 0 1rem;
        }


        /* ==================== RESPONSIVE FOOTER ==================== */
        .footer {
            background: var(--bg-dark);
            color: white;
            margin-top: 0;
        }



        /* Main Footer */
        .footer-main {
            padding: 1rem 0 1rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .footer-section {
            display: flex;
            flex-direction: column;
        }

        /* Footer Brand */
        .footer-brand {
            margin-bottom: 1rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            /*margin-bottom: 0.8rem;*/
        }

        .footer-logo img {
            height: 30px;
            width: 30px;
            border-radius: var(--radius-sm);
        }

        .footer-logo-text {
            font-size: 1.2rem;
            font-weight: 800;
            color: white;
        }

        .footer-description {
            color: #94a3b8;
            line-height: 1.6;
            margin-bottom: 1.2rem;
            font-size: 0.85rem;
        }

        .social-links {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
        }

        .social-link {
            width: 2.2rem;
            height: 2.2rem;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .social-link:hover {
            background: var(--primary-color);
            transform: translateY(-2px);
        }

        .footer-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
            position: relative;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: -0.4rem;
            right: 0;
            width: 1.5rem;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 1px;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .footer-link {
            color: #94a3b8;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.8rem;
            padding: 0.2rem 0;
        }

        .footer-link:hover {
            color: white;
            padding-right: 0.4rem;
        }

        .footer-link i {
            font-size: 0.7rem;
            opacity: 0.7;
            width: 0.8rem;
        }

        /* Contact Info */
        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 0.8rem;
            color: #94a3b8;
            font-size: 0.8rem;
        }

        .contact-icon {
            width: 1.8rem;
            height: 1.8rem;
            background: rgba(59, 130, 246, 0.2);
            color: var(--primary-color);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            flex-shrink: 0;
        }

        /* App Download */
        .app-download {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .app-store-btn {
            display: inline-block;
            transition: transform 0.3s ease;
        }

        .app-store-btn:hover {
            transform: scale(1.05);
        }

        .app-store-btn img {
            height: 4rem;
            width: auto;
            border-radius: var(--radius-sm);
        }

        /* Footer Bottom */
        .footer-bottom {
            border-top: 1px solid #334155;
            padding: 1.2rem 0;
            margin-top: 2rem;
        }

        .footer-bottom-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            text-align: center;
        }

        .copyright {
            color: #64748b;
            font-size: 0.75rem;
        }

        .footer-legal {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }

        .legal-link {
            color: #64748b;
            text-decoration: none;
            font-size: 0.75rem;
            transition: color 0.3s ease;
        }

        .legal-link:hover {
            color: white;
        }
        
        

        /* ==================== RESPONSIVE BREAKPOINTS ==================== */

        /* Small Mobile: 480px+ */
        @media (min-width: 480px) {
            :root {
                --container-padding: 1rem;
                --header-height: 55px;
            }
            
            .logo-text {
                display: block;
            }

            
            .app-download {
                flex-direction: row;
                justify-content: center;
            }
            
            .top-bar-item {
                font-size: 0.75rem;
            }
            

        }

        /* Mobile Large: 640px+ */
        @media (min-width: 640px) {
            :root {
                --container-padding: 1.25rem;
            }
            
            .hide-sahre-btn {
                display: flex;
            }
            
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-bottom-content {
                flex-direction: row;
                justify-content: space-between;
                text-align: left;
            }
            
            .mobile-menu {
                max-width: 350px;
            }
        }

        /* Tablet: 768px+ */
        @media (min-width: 768px) {
            :root {
                --header-height: 55px;
                --container-padding: 1.5rem;
            }
            
            .logo-img {
                height: 36px;
                width: 36px;
            }
            
            .logo-text {
                font-size: 1.4rem;
            }
            
            .footer-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            
            .main-content {
                padding: 2.5rem 0;
                margin: 1.5rem 0;
            }
        }

        /* Desktop: 1024px+ */
        @media (min-width: 1024px) {
            :root {
                --header-height: 60px;
            }
            
            .main-nav {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: none;
            }
            
            .nav-list {
                gap: 1.5rem;
            }
            
            .nav-link {
                font-size: 0.9rem;
                padding: 0.5rem 0.75rem;
            }
            
            
            .logo-img {
                height: 36px;
                width: 36px;
            }
            
            .logo-text {
                font-size: 1.5rem;
            }
            
            .footer-grid {
                /*grid-template-columns: 2fr 1fr 1fr 1fr 1fr;*/
                grid-template-columns: 2fr 1fr 1fr 1fr;
            }
            
            .main-content {
                padding: 3rem 0;
            }
        }

        /* Large Desktop: 1280px+ */
        @media (min-width: 1280px) {
            :root {
                --container-padding: 2rem;
            }
            
            .nav-list {
                gap: 2rem;
            }
            
            .nav-link {
                font-size: 1rem;
            }
        }

        /* Ultra Wide: 1536px+ */
        @media (min-width: 1536px) {
            :root {
                --container-max: 1600px;
            }
        }

        /* Very small screens - Emergency fixes */
        @media (max-width: 320px) {
            :root {
                --container-padding: 0.5rem;
                --header-height: 55px;
            }
            
            .logo-text {
                /*display: none;*/
            }
            
            .top-bar-item span {
                display: none;
            }
            
            .action-btn span {
                display: none;
            }
            
            .mobile-menu {
                max-width: 280px;
            }
            
            .footer-grid {
                gap: 1.5rem;
            }
        }

        /* Landscape mobile optimization */
        @media (max-height: 500px) and (orientation: landscape) {
            .top-bar {
                display: none;
            }
            
            :root {
                --header-height: 60px;
            }
        }

        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            /*.action-btn,*/
            .nav-link,
            .mobile-nav-link {
                min-height: 44px;
            }
            
            .social-link {
                min-width: 44px;
                min-height: 44px;
            }
            
            .mobile-menu-btn {
                min-width: 44px;
                min-height: 44px;
            }
        }

        /* Reduced motion preferences */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* High contrast mode */
        @media (prefers-contrast: high) {
            .btn-primary {
                background: #000;
                border: 2px solid #fff;
            }
            
            .nav-link:hover {
                background: #000;
                color: #fff;
            }
        }

        /* Focus styles for accessibility */
        .nav-link:focus,
        .action-btn:focus,
        .footer-link:focus,
        .social-link:focus,
        .mobile-nav-link:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* Loading states */
        .loading {
            pointer-events: none;
            opacity: 0.7;
            position: relative;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 1rem;
            height: 1rem;
            margin: -0.5rem 0 0 -0.5rem;
            border: 2px solid transparent;
            border-top: 2px solid currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Print styles */
        @media print {
            .top-bar,
            .main-header,
            /*.newsletter-section,*/
            .footer,
            .mobile-menu,
            .overlay {
                display: none !important;
            }
            
            body {
                font-size: 12pt;
                color: #000;
                background: #fff;
            }
        }

        /* Better text scaling for readability */
        @media (max-width: 375px) {
            body {
                font-size: 14px;
            }
        }

        /* Improve clickable areas on small screens */
        @media (max-width: 480px) {
            .top-bar-item,
            .footer-link,
            .nav-link {
                padding: 0.5rem;
                margin: -0.25rem;
            }
        }