        /* --- CSS Variables & Reset --- */
        :root {
            --primary-color: #6C63FF;
            --secondary-color: #2A2D3E;
            --accent-color: #00d2d3;
            --bg-dark: #1a1a2e;
            --bg-card: #16213e;
            --bg-footer: #0f1322;
            --text-color: #e0e0e0;
            --text-muted: #a0a0a0;
            --font-main: 'Tajawal', sans-serif;
            --transition: all 0.3s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: var(--font-main);
            background-color: var(--bg-dark);
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; }
        section { padding: 80px 5%; }

        /* --- Header --- */
        header {
            background-color: rgba(26, 26, 46, 0.95);
            padding: 15px 5%;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            display: flex;
            justify-content: space-between;
            align-items: center;
            backdrop-filter: blur(10px);
        }

        nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }

        .logo { font-size: 24px; font-weight: 900; color: var(--accent-color); letter-spacing: 1px; }

        .nav-links { display: flex; gap: 25px; align-items: center; }
        .nav-links a { font-weight: 500; font-size: 16px; position: relative; }
        
        .nav-links a::after {
            content: ''; position: absolute; width: 0; height: 2px; bottom: -5px;
            background-color: var(--primary-color); transition: var(--transition);
            left: 0; /* LTR default */
        }
        
        .nav-links a:hover::after { width: 100%; }

        .menu-toggle { display: none; font-size: 24px; cursor: pointer; color: white; }

        .lang-btn {
            background: transparent; border: 1px solid var(--accent-color);
            color: var(--accent-color); padding: 5px 15px; border-radius: 20px;
            cursor: pointer; font-family: var(--font-main); font-weight: bold;
            transition: var(--transition);
        }
        .lang-btn:hover { background: var(--accent-color); color: var(--bg-dark); }

        /* --- Hero --- */
        .hero {
            min-height: 100vh; display: flex; align-items: center; justify-content: center;
            padding-top: 80px; position: relative; overflow: hidden;
        }
        .hero-content {
            display: flex; align-items: center; justify-content: space-between;
            width: 100%; max-width: 1200px; z-index: 1;
        }
        .hero-text { flex: 1; padding: 20px; }
        .hero-text h1 {
            font-size: 48px; margin-bottom: 20px; line-height: 1.2;
            background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .hero-text p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; max-width: 600px; }
        
        .btn-group { display: flex; gap: 15px; }
        .btn {
            padding: 12px 30px; border-radius: 50px; font-weight: bold;
            display: inline-flex; align-items: center; gap: 10px; transition: var(--transition);
            border: none; cursor: pointer;
        }
        .btn-primary {
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            color: white; box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
        }
        .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(108, 99, 255, 0.6); }
        .btn-secondary {
            background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color);
        }
        .btn-secondary:hover { background: var(--primary-color); color: white; }

        .hero-image { flex: 1; display: flex; justify-content: center; position: relative; }
        .image-wrapper { position: relative; width: 400px; height: 400px; }
        .hero-img {
            width: 100%; height: auto; border-radius: 20px; z-index: 2;
            animation: float 6s ease-in-out infinite;
        }
        .floating-shapes .shape { position: absolute; border-radius: 50%; opacity: 0.5; z-index: 1; }
        .shape-1 { width: 100px; height: 100px; background: var(--primary-color); top: -20px; left: -20px; animation: bounce 4s infinite; }
        .shape-2 { width: 60px; height: 60px; background: var(--accent-color); bottom: 40px; right: -30px; animation: bounce 5s infinite; }
        .shape-3 { width: 40px; height: 40px; background: #ff007f; top: 50%; right: -40px; animation: bounce 3s infinite; }

        /* --- Services & Skills & Projects --- */
        .services-grid, .skills-grid, .accounts-grid, .certificates-grid, .stats-grid, .projects-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
        }
        .service-card {
            background: var(--bg-card); padding: 30px; border-radius: 15px;
            border: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
            position: relative;
        }
        .service-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
        .service-number { font-size: 60px; font-weight: 900; color: rgba(255,255,255,0.03); position: absolute; top: 10px; left: 20px; }
        .service-icon { font-size: 40px; color: var(--accent-color); margin-bottom: 20px; }
        .service-card h3 { margin-bottom: 15px; font-size: 20px; }
        .service-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
        .service-tag { font-size: 12px; background: rgba(108, 99, 255, 0.1); color: var(--primary-color); padding: 5px 10px; border-radius: 5px; }

        /* --- Sections Headers --- */
        .section-header { text-align: center; margin-bottom: 60px; }
        .section-title { font-size: 32px; margin-bottom: 15px; color: white; position: relative; display: inline-block; }
        .section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--accent-color); margin: 10px auto 0; border-radius: 2px; }
        .section-subtitle { color: var(--text-muted); max-width: 700px; margin: 0 auto; }

        /* --- Skills Bars --- */
        .skill-card { background: var(--bg-card); padding: 30px; border-radius: 15px; text-align: center; }
        .skill-icon { font-size: 40px; color: var(--primary-color); margin-bottom: 20px; }
        .skill-item { margin-bottom: 15px; text-align: left; }
        .skill-info { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 14px; }
        .progress-bg { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
        .progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); border-radius: 10px; width: 0; transition: width 1.5s ease-in-out; }

        /* --- Projects --- */
        .project-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
        .filter-btn { background: transparent; border: 1px solid var(--text-muted); color: var(--text-color); padding: 8px 20px; border-radius: 30px; cursor: pointer; transition: var(--transition); }
        .filter-btn.active, .filter-btn:hover { background: var(--primary-color); border-color: var(--primary-color); color: white; }
        .project-card { background: var(--bg-card); border-radius: 15px; overflow: hidden; transition: var(--transition); }
        .project-card:hover { transform: translateY(-5px); }
        .project-img { width: 100%; height: 200px; object-fit: cover; }
        .project-info { padding: 20px; }
        
        /* --- Accounts & Stats --- */
        .account-card { background: var(--bg-card); padding: 30px; border-radius: 15px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
        .platform-logo img { height: 60px; margin-bottom: 15px; }
        .service-features { text-align: left; margin: 20px 0; }
        .service-features li { margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
        .stat-card { background: linear-gradient(45deg, var(--bg-card), #1f2b4d); padding: 30px; border-radius: 15px; text-align: center; }
        .stat-icon { font-size: 30px; color: var(--accent-color); margin-bottom: 15px; }
        .stat-number { font-size: 36px; font-weight: 900; margin-bottom: 5px; color: white; }

        /* --- Contact --- */
        .social-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
        .social-link { display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--bg-card); padding: 20px; border-radius: 15px; width: 150px; transition: var(--transition); }
        .social-link:hover { background: var(--primary-color); transform: translateY(-5px); }
        .social-icon { font-size: 30px; }

        /* --- Footer --- */
        .footer {
            background-color: var(--bg-footer);
            padding: 70px 5% 20px;
            margin-top: 100px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
        
        .footer-about p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.8; }
        .social-icons { display: flex; gap: 15px; }
        .social-icons a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
        .social-icons a:hover { background: var(--primary-color); transform: translateY(-5px); }

        .footer-links h4 { color: white; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
        .footer-links h4::after { content: ''; position: absolute; bottom: 0; width: 30px; height: 2px; background: var(--accent-color); left: 0; }

        .footer-contact li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; color: var(--text-muted); font-size: 14px; }
        .footer-contact i { color: var(--accent-color); margin-top: 5px; }

        .footer-support { background: rgba(108, 99, 255, 0.05); border: 1px solid rgba(108, 99, 255, 0.2); padding: 25px; border-radius: 15px; text-align: center; }
        .footer-support i { font-size: 30px; color: var(--accent-color); margin-bottom: 15px; display: block; }
        .footer-support h4 { color: white; margin-bottom: 10px; font-size: 18px; }
        .support-btn { display: block; width: 100%; padding: 10px; border-radius: 8px; background: var(--primary-color); color: white; font-weight: bold; transition: var(--transition); margin-top: 15px; }
        .support-btn:hover { background: var(--accent-color); box-shadow: 0 0 15px rgba(0, 210, 211, 0.4); }

        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; text-align: center; font-size: 13px; color: var(--text-muted); }

        /* --- Animations & Responsive --- */
        @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
        @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

        @media (max-width: 992px) {
            .footer-grid { grid-template-columns: 1fr; }
            .hero-content { flex-direction: column-reverse; text-align: center; }
            .hero-text { margin-top: 30px; }
            .btn-group { justify-content: center; }
        }
        @media (max-width: 768px) {
            .nav-links {
                position: absolute; top: 70px; width: 100%; background: var(--bg-card);
                flex-direction: column; align-items: center; padding: 20px 0;
                transform: translateY(-150%); transition: var(--transition);
            }
            .nav-links.active { transform: translateY(0); }
            .menu-toggle { display: block; }
        }

        .skill-card {
            background: var(--card-bg);
            padding: 30px;
            border-radius: 20px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255,255,255,0.05);
            transition: var(--transition);
        }

        .skill-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-color);
        }

        .skill-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .skill-card h3 {
            margin-bottom: 20px;
            font-size: 1.3rem;
        }

        .skill-item {
            margin-bottom: 15px;
        }

        .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .skill-bar {
            width: 100%;
            height: 8px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            overflow: hidden;
        }

        .skill-level {
            height: 100%;
            background: var(--gradient);
            border-radius: 10px;
            transition: width 1.5s cubic-bezier(0.1, 0.39, 0.5, 1);
        }

        /* =========================================
           Projects Section
           ========================================= */
        .projects {
            background: #161721;
        }

        .project-filters {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 8px 20px;
            border-radius: 30px;
            background: var(--card-bg);
            color: var(--text-muted);
            border: 1px solid rgba(255,255,255,0.1);
            cursor: pointer;
            transition: var(--transition);
        }

        .filter-btn:hover, .filter-btn.active {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .project-card {
            background: var(--card-bg);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-5px);
        }

        .project-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image {
            transform: scale(1.05);
        }

        .project-content {
            padding: 20px;
        }

        .project-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(0, 0, 0, 0.7);
            color: var(--accent-color);
            padding: 5px 12px;
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .project-content h3 {
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .project-content p {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 15px;
            height: 40px;
            overflow: hidden;
        }

        .project-stats {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-color);
            font-weight: 600;
            transition: var(--transition);
        }

        .project-link:hover {
            color: var(--accent-color);
            gap: 12px;
        }

        /* =========================================
           Certificates Section (NEW)
           ========================================= */
        .certificates {
            background: var(--dark-bg);
        }

        .certificates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .cert-card {
            background: var(--card-bg);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            border: 1px solid rgba(255,255,255,0.05);
            display: flex;
            flex-direction: column;
        }

        .cert-card:hover {
            transform: translateY(-8px);
            border-color: var(--accent-color);
        }

        .cert-image-wrapper {
            width: 100%;
            height: 200px;
            overflow: hidden;
            background: #2d3436;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .cert-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .cert-card:hover .cert-image {
            transform: scale(1.1);
        }

        /* Fallback Icon if no image */
        .cert-icon-fallback {
            font-size: 4rem;
            color: rgba(255,255,255,0.1);
            position: absolute;
            z-index: 1;
        }

        .cert-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .cert-card:hover .cert-overlay {
            opacity: 1;
        }

        .view-cert-btn {
            background: #fff;
            color: var(--dark-bg);
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 0.9rem;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .cert-card:hover .view-cert-btn {
            transform: translateY(0);
        }

        .cert-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .cert-issuer {
            font-size: 0.8rem;
            color: var(--accent-color);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cert-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #fff;
        }

        .cert-date {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        /* =========================================
           Stats Section
           ========================================= */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .stat-card {
            text-align: center;
            background: var(--card-bg);
            padding: 30px;
            border-radius: 20px;
            box-shadow: var(--shadow);
            border-bottom: 4px solid var(--primary-color);
        }

        .stat-icon {
            font-size: 2rem;
            color: var(--accent-color);
            margin-bottom: 15px;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
        }

        .stat-label {
            color: var(--text-muted);
            font-size: 1rem;
        }

        /* =========================================
           Contact & Footer
           ========================================= */
        .contact {
            background: #161721;
            text-align: center;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 15px 30px;
            background: var(--card-bg);
            border-radius: 50px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .social-icon {
            font-size: 1.5rem;
        }

        .social-link:hover {
            background: var(--primary-color);
            color: #fff;
            transform: translateY(-5px);
        }

        footer {
            background: #0b0c10;
            padding: 30px;
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

        /* =========================================
           Animations & Responsive
           ========================================= */
        @keyframes morph {
            0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
            50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
            100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Responsive Media Queries */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                right: 0;
                width: 100%;
                background: var(--card-bg);
                flex-direction: column;
                padding: 20px;
                text-align: center;
                box-shadow: 0 10px 20px rgba(0,0,0,0.5);
            }
            
            .nav-links.active { display: flex; }

            .menu-toggle { display: block; color: #fff; }

            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                padding-top: 50px;
            }

            .hero-text h1 { font-size: 2.5rem; }
            .hero-text p { margin: 0 auto 30px; }
            .btn-group { justify-content: center; }
            .image-wrapper { width: 300px; height: 300px; margin: 0 auto; }

            .project-stats { flex-direction: column; gap: 5px; }
        }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.service-card {
    background: rgb(0, 0, 0);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-number {
    font-size: 2.8rem;
    font-weight: 700;
    opacity: 0.08;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: all 0.4s;
}

.service-card:hover .service-number {
    opacity: 0.15;
    transform: scale(1.1);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #4f46e5;
}

.service-tag {
    display: inline-block;
    background: #463e3e;
    color: #f5f9ff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
}
.accounts-services {
    padding: 100px 0;
    background: #161721;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.account-card {
    background: rgb(27, 27, 27);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.account-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.platform-logo img {
    height: 70px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.account-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: right;
}

.service-features li {
    padding: 8px 0;
    color: #ffffff;
}

.btn {
    margin-top: 15px;
}

