:root {
            --primary-color: #667eea;
            --secondary-color: #764ba2;
            --accent-color: #f093fb;
            --text-dark: #2c3e50;
            --text-light: #666;
            --text-muted: #999;
            --white: #ffffff;
            --black: #000000;
            --bg-color: #ffffff;
            --heading-color: #ffffff;
            --subtitle-color: #cccccc;
            --link-color: #667eea;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --border-radius: 15px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        [data-theme="dark"] {
            --primary-color: #7c9cff;
            --secondary-color: #a67cff;
            --accent-color: #ff6b9d;
            --text-dark: #e6eef8;
            --text-light: #a0aec0;
            --text-muted: #718096;
            --white: #1a202c;
            --black: #ffffff;
            --bg-color: #0b1220;
            --heading-color: #f7fafc;
            --subtitle-color: #cbd5e0;
            --link-color: #90cdf4;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: transparent;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.48) 0%, rgba(118, 75, 162, 0.48) 100%);
    z-index: -1;
}

#matrix-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

#matrix-canvas {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body,
main,
footer {
    position: relative;
    z-index: 1;
}

header {
    z-index: 1;
}

body.blur-on #matrix-canvas {
    filter: brightness(0.8) blur(1.5px);
}

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gradient-primary);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--gradient-secondary);
        }

        /* Loading Animation */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Particle Background */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        header.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            position: relative;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            cursor: pointer;
            transition: var(--transition);
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--primary-color);
            transition: var(--transition);
        }

        .logo:hover img {
            border-color: var(--accent-color);
            box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
        }

        .logo h1 {
            color: var(--text-dark);
            font-size: 1.8rem;
            font-weight: 800;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 1.1rem;
            position: relative;
            transition: var(--transition);
            padding: 0.5rem 1rem;
            border-radius: 25px;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--gradient-primary);
            transition: var(--transition);
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .nav-links a:hover::before {
            width: 80%;
        }

        .nav-links a:hover {
            color: var(--primary-color);
            background: rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        .contact-info {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        .contact-info a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            background: rgba(102, 126, 234, 0.1);
            transition: var(--transition);
        }

        .contact-info a:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        /* Nav Controls */
        .nav-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .language-toggle {
            background: transparent;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            height: 45px;
            padding: 0 1rem;
            border-radius: 25px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: var(--transition);
            font-weight: 600;
            font-size: 1rem;
        }

        .language-toggle:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .language-toggle:hover .language-flag,
        .language-toggle:hover .language-text {
            filter: brightness(1.2);
        }

        .language-flag {
            font-size: 1.2rem;
            line-height: 1;
        }

        .language-text {
            font-size: 0.9rem;
            font-weight: 700;
        }

        .theme-toggle {
            background: transparent;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .theme-toggle::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--gradient-primary);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: var(--transition);
        }

        .theme-toggle:hover::before {
            width: 100%;
            height: 100%;
        }

        .theme-toggle:hover {
            color: white;
            transform: scale(1.1) rotate(15deg);
            box-shadow: var(--shadow);
        }

        .theme-toggle i {
            position: relative;
            z-index: 1;
            transition: var(--transition);
        }

        .theme-toggle:hover i {
            transform: rotate(-15deg);
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            padding: 0.5rem;
            border: none;
            background: transparent;
            position: relative;
            z-index: 10002;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .mobile-menu-toggle:focus-visible {
            outline: 3px solid var(--primary-color);
            outline-offset: 3px;
        }

        .mobile-menu-toggle:hover {
            transform: scale(1.05);
        }

        .nav-links.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
        }

        [data-theme="dark"] .nav-links.active {
            background: rgba(11, 18, 32, 0.95);
        }

        .mobile-menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--text-dark);
            margin: 3px 0;
            transition: var(--transition);
            border-radius: 2px;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        [data-theme="dark"] .mobile-menu-toggle span {
            background: var(--text-light);
        }

        body.menu-open {
            overflow: hidden;
        }

        /* Hero Section */
.hero {
    background: transparent;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.55) 0%, rgba(118, 75, 162, 0.55) 100%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
            animation: heroBackground 20s ease-in-out infinite;
        }

        @keyframes heroBackground {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(180deg); }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            font-weight: 800;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            background: linear-gradient(45deg, #fff, #f0f8ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: titleGlow 3s ease-in-out infinite alternate;
        }

        @keyframes titleGlow {
            0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
            100% { text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.5); }
        }

        .hero p {
            font-size: 1.4rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
            line-height: 1.8;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--white);
            color: var(--primary-color);
            padding: 18px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: var(--transition);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            transition: var(--transition);
            z-index: -1;
        }

        .cta-button:hover::before {
            left: 0;
        }

        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            color: white;
        }

        .cta-button.secondary {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
        }

        .cta-button.secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: white;
        }

        /* Floating Elements */
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .floating-element {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 60px;
            height: 60px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            width: 100px;
            height: 100px;
            bottom: 20%;
            left: 20%;
            animation-delay: 4s;
        }

        /* Stats Counter */
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 3rem;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: white;
            display: block;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.8;
            margin-top: 0.5rem;
        }

        /* Services Section */
.services {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

        .services::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(102,126,234,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
            z-index: 2;
        }

        .section-title h2 {
            font-size: 3rem;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            font-weight: 800;
            position: relative;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .section-title p {
            font-size: 1.3rem;
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.8;
        }

        /* Service Sectors */
        .service-sector {
            margin-bottom: 4rem;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-radius: var(--border-radius);
            padding: 3rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .service-sector::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
        }

        .service-sector:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .sector-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .sector-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: white;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .service-sector:hover .sector-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .sector-header h3 {
            font-size: 2.2rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
            font-weight: 700;
            position: relative;
        }

        .sector-header h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .sector-header p {
            font-size: 1.2rem;
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
        }

        .systems-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .system-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .system-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: var(--transition);
        }

        .system-card:hover::before {
            transform: scaleX(1);
        }

        .system-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .system-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            margin-bottom: 1.5rem;
            transition: var(--transition);
        }

        .system-card:hover .system-icon {
            transform: scale(1.1);
        }

        .system-card h4 {
            font-size: 1.3rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .system-card p {
            color: var(--text-light);
            line-height: 1.7;
            font-size: 0.95rem;
        }

        /* Dark theme adjustments */
        [data-theme="dark"] .service-sector {
            background: rgba(255, 255, 255, 0.02);
            border-color: rgba(255, 255, 255, 0.1);
        }

        [data-theme="dark"] .system-card {
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.1);
        }

        [data-theme="dark"] .system-card:hover {
            background: rgba(255, 255, 255, 0.05);
        }

.service-card {
    background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.25);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: var(--transition);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-color);
        }

        .service-card i {
            font-size: 3.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
            display: block;
            transition: var(--transition);
        }

        .service-card:hover i {
            transform: scale(1.1) rotate(5deg);
        }

        .service-card h3 {
            font-size: 1.6rem;
            color: var(--text-dark);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .service-card p {
            color: var(--text-light);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .service-list {
            list-style: none;
            margin-top: 1.5rem;
        }

        .service-list li {
            padding: 0.7rem 0;
            color: var(--text-light);
            position: relative;
            padding-right: 2rem;
            transition: var(--transition);
        }

        .service-list li:hover {
            color: var(--primary-color);
            transform: translateX(-5px);
        }

        .service-list li::before {
            content: '✓';
            position: absolute;
            right: 0;
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* Service Card Variants */
.service-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.55) 0%, rgba(118, 75, 162, 0.55) 100%);
            color: white;
            transform: scale(1.05);
        }

        .service-card.featured h3,
        .service-card.featured p,
        .service-card.featured li {
            color: white;
        }

        .service-card.featured i {
            color: white;
            -webkit-text-fill-color: white;
        }

        /* Service Icons Animation */
        .service-card .icon-wrapper {
            position: relative;
            display: inline-block;
        }

        .service-card .icon-wrapper::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: var(--transition);
        }

        .service-card:hover .icon-wrapper::after {
            width: 80px;
            height: 80px;
        }

        /* About Section */
.about {
    padding: 100px 0;
    background: transparent;
            position: relative;
            overflow: hidden;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                linear-gradient(135deg, rgba(102, 126, 234, 0.45) 0%, rgba(118, 75, 162, 0.45) 100%),
                radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .about-text {
            color: white;
        }

        .about-text h2 {
            font-size: 3rem;
            color: white;
            margin-bottom: 1.5rem;
            font-weight: 800;
            position: relative;
        }

        .about-text h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 2px;
        }

        .about-text p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .about-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 1rem;
            border-radius: var(--border-radius);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .feature-item i {
            font-size: 1.5rem;
            color: white;
        }

        .feature-item span {
            color: white;
            font-weight: 600;
        }

        .about-image {
            text-align: center;
            position: relative;
        }

        .about-image img {
            max-width: 100%;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-hover);
            transition: var(--transition);
            border: 3px solid rgba(255, 255, 255, 0.2);
        }

        .about-image:hover img {
            transform: scale(1.05);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: 20px;
            bottom: 20px;
            background: var(--gradient-secondary);
            border-radius: var(--border-radius);
            z-index: -1;
            opacity: 0.3;
        }

        /* Contact Section */
.contact {
    padding: 100px 0;
    background: transparent;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.12) 0%, transparent 50%);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            position: relative;
            z-index: 2;
        }

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
            padding: 3rem;
            border-radius: var(--border-radius);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: var(--transition);
        }

        .contact-info-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .contact-info-card h3 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
            color: white;
            font-weight: 700;
            position: relative;
        }

        .contact-info-card h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            border-radius: 10px;
            transition: var(--transition);
        }

        .contact-item:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateX(10px);
        }

        .contact-item i {
            font-size: 1.5rem;
            color: var(--primary-color);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 50%;
        }

        .contact-item a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .contact-item a:hover {
            color: var(--primary-color);
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            color: white;
            text-decoration: none;
            border-radius: 50%;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .social-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-secondary);
            opacity: 0;
            transition: var(--transition);
        }

        .social-links a:hover::before {
            opacity: 1;
        }

        .social-links a:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: var(--shadow-hover);
        }

        .social-links a i {
            position: relative;
            z-index: 2;
            font-size: 1.2rem;
        }

        /* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
            padding: 3rem;
            border-radius: var(--border-radius);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .form-group {
            margin-bottom: 2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: white;
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(5px);
            color: white;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(255, 255, 255, 0.15);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .submit-btn {
            background: var(--gradient-primary);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        /* Footer */
footer {
    background: rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            color: white;
            padding: 3rem 0 2rem;
            position: relative;
            overflow: hidden;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }

        .footer-section h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: white;
            font-weight: 700;
        }

        .footer-section p,
        .footer-section li {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-section a:hover {
            color: var(--primary-color);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            z-index: 2;
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--gradient-primary);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
            z-index: 1000;
            box-shadow: var(--shadow);
        }

        .back-to-top:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .back-to-top.show {
            display: flex;
        }

        /* Floating WhatsApp Button */
        .floating-whatsapp {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 60px;
            height: 60px;
            background: #25d366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            text-decoration: none;
            box-shadow: var(--shadow);
            transition: var(--transition);
            z-index: 1000;
            animation: pulse 2s infinite;
        }

        .floating-whatsapp:hover {
            transform: scale(1.1);
            box-shadow: var(--shadow-hover);
        }

        /* Toast Notification */
        .toast {
            position: fixed;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--text-dark);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            box-shadow: var(--shadow-hover);
            z-index: 2000;
            opacity: 0;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .toast.success {
            background: #28a745;
        }

        .toast.error {
            background: #dc3545;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .container {
                padding: 0 15px;
            }
        }

        @media (max-width: 768px) {
            nav {
                gap: 1rem;
            }

            .nav-links {
                position: fixed;
                inset: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(20px);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transform: translateY(-10px);
                transition: opacity 0.3s ease, transform 0.3s ease;
                z-index: 9990;
            }

            [data-theme="dark"] .nav-links {
                background: rgba(11, 18, 32, 0.95);
            }

            .nav-links li {
                width: 100%;
                text-align: center;
            }

            .nav-links a {
                display: inline-flex;
                justify-content: center;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .nav-controls {
                position: fixed;
                top: 20px;
                left: 20px;
                z-index: 10000;
                gap: 0.5rem;
                flex-direction: column;
            }

            .language-toggle,
            .theme-toggle {
                width: 45px;
                height: 45px;
                padding: 0;
                border-radius: 50%;
                box-shadow: var(--shadow);
            }

            .language-toggle {
                padding: 0;
            }

            .language-text {
                display: none;
            }

            .language-flag {
                font-size: 1.4rem;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .systems-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .service-sector {
                padding: 2rem;
                margin-bottom: 3rem;
            }

            .sector-header h3 {
                font-size: 1.8rem;
            }

            .system-card {
                padding: 1.5rem;
            }

            .system-card h4 {
                font-size: 1.1rem;
            }

            .system-card p {
                font-size: 0.9rem;
            }

            .contact-info {
                display: none;
            }

            .hero-stats {
                gap: 1.5rem;
            }

            .about-features {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .service-sector {
                padding: 1.5rem;
                margin-bottom: 2rem;
            }

            .sector-header h3 {
                font-size: 1.5rem;
            }

            .sector-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .system-card {
                padding: 1.2rem;
            }

            .system-icon {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .system-card h4 {
                font-size: 1rem;
            }

            .system-card p {
                font-size: 0.85rem;
            }

            .hero-buttons {
                gap: 1rem;
            }

            .cta-button {
                padding: 15px 25px;
                font-size: 1rem;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }

        .fade-in-left {
            animation: fadeInLeft 0.6s ease-out;
        }

        .fade-in-right {
            animation: fadeInRight 0.6s ease-out;
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        /* Loading States */
        .loading {
            opacity: 0.6;
            pointer-events: none;
        }

        /* Success/Error States */
        .success {
            color: #28a745;
        }

        .error {
            color: #dc3545;
        }

        /* Custom Selection */
        ::selection {
            background: var(--primary-color);
            color: white;
        }

        ::-moz-selection {
            background: var(--primary-color);
            color: white;
        }

        .form-group select {
            width: 100%;
            padding: 1rem 2.5rem 1rem 1rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 1rem;
            transition: var(--transition);
            /* Remove native styles */
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            /* Custom chevron (RTL: على اليسار) */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: 12px center;
            background-size: 18px 18px;
        }

        .form-group select:hover {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
        }

        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.35);
        }

        .form-group select:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Options styling (best-effort, depends on browser) */
        .form-group select option, .form-group select optgroup {
            color: #111;
            background: #ffffff;
        }

        [data-theme="dark"] .form-group select option, [data-theme="dark"] .form-group select optgroup {
            color: #e6eef8;
            background: #0f172a;
        }

        /* Provider link accents */
        .provider-zain { border-color: #3db54a; color: #2a9d3f; }
        .provider-zain:hover { background: linear-gradient(135deg, #2ecc71, #27ae60); color: #fff; }
        .provider-sudani { border-color: #0ea5e9; color: #0ea5e9; }
        .provider-sudani:hover { background: linear-gradient(135deg, #38bdf8, #0ea5e9); color: #fff; }

        /* PWA Install Button */
        .install-app-btn {
            position: fixed;
            bottom: 30px;
            right: 100px;
            background: var(--gradient-primary);
            color: #fff;
            border: 0;
            border-radius: 999px;
            padding: 10px 14px;
            font-weight: 700;
            box-shadow: var(--shadow);
            cursor: pointer;
            display: none;
            z-index: 1000;
        }
        .install-app-btn.show { display: inline-flex; align-items:center; gap:8px; }
/* Matrix rain background */
#animated-bg-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

#matrix-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    image-rendering: pixelated;
    will-change: transform;
}

.grid-overlay,
.spectral-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grid-overlay {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 70%);
    animation: gridDrift 28s linear infinite;
    opacity: 0.6;
}

.grid-overlay.hidden {
    opacity: 0;
}

.spectral-veil {
    background: conic-gradient(from 180deg at 50% 50%,
        rgba(59, 130, 246, 0),
        rgba(168, 85, 247, 0.25),
        rgba(59, 130, 246, 0.15),
        rgba(20, 184, 166, 0.1),
        rgba(59, 130, 246, 0));
    filter: blur(45px);
    opacity: 0.18;
    mix-blend-mode: screen;
    animation: spectralShift 24s linear infinite;
}

.spectral-veil.hidden {
    opacity: 0;
}

.blur-on #matrix-canvas {
    filter: brightness(0.9);
}

@keyframes gridDrift {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(10px, 15px, 0) rotate(1deg);
    }
    100% {
        transform: translate3d(-10px, -5px, 0) rotate(-1deg);
    }
}

@keyframes spectralShift {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Google Reviews & Elfsight Widget Theme Support */
.elfsight-app iframe {
    background: transparent !important;
    border-radius: 15px;
}

/* Dark mode support for embedded widgets */
[data-theme="dark"] .elfsight-app {
    filter: brightness(0.9);
}

/* Heading and Text Colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

p {
    color: var(--text-dark);
}

a {
    color: var(--link-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}
