   :root {
            --primary-gradient: linear-gradient(90deg, #2563eb, #4f46e5);
            --primary-blue: #2563eb;
            --primary-indigo: #4f46e5;
        }
        
        body {
            background-color: #f8f9fa;
            font-family: 'Tajawal', sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow-x: hidden;
            padding: 20px 0;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 30%);
        }
        
        /* إضافة تنسيق الناف بار */
        .glass {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
        }
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
           
        }
        
        .navbar.scrolled {
            padding: 8px 25px;
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 5px 20px rgba(37, 99, 235, 0.15);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-blue);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .navbar-brand:hover {
            transform: translateY(-2px);
            color: var(--primary-indigo);
        }
        
        .nav-links {
            display: flex;
            gap: 25px;
        }
        
        .nav-link {
            font-weight: 500;
            color: #4a5568;
            text-decoration: none;
            position: relative;
            transition: all 0.3s ease;
            padding: 5px 0;
        }
        
        .nav-link:hover {
            color: var(--primary-blue);
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-gradient);
            transition: width 0.3s ease;
            border-radius: 2px;
        }
        
        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }
        
        .nav-link.active {
            color: var(--primary-blue);
            font-weight: 600;
        }
        
        .contact-nav-btn {
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 25px;
            padding: 8px 20px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .contact-nav-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
            color: white;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--primary-blue);
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* تعديل على كارت الملف الشخصي ليناسب الشريط العلوي */
        .profile-card {
            background: white;
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
            overflow: hidden;
            max-width: 1000px;
            width: 90%;
            position: relative;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            margin-top: 80px;
        }
        
        .profile-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 30px 60px rgba(79, 70, 229, 0.2);
        }
        
        .card-header {
            background: var(--primary-gradient);
            padding: 60px 30px 40px;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        /* إضافة النمط المتحرك خلف الصورة */
        .header-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .animated-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.15;
        }
        
        /* دوائر متحركة في خلفية الهيدر */
        .animated-circle:nth-child(1) {
            width: 120px;
            height: 120px;
            background: white;
            top: 20%;
            left: 10%;
            animation: moveCircle1 15s linear infinite alternate;
        }
        
        .animated-circle:nth-child(2) {
            width: 80px;
            height: 80px;
            background: white;
            bottom: 15%;
            right: 15%;
            animation: moveCircle2 12s linear infinite alternate;
        }
        
        .animated-circle:nth-child(3) {
            width: 60px;
            height: 60px;
            background: white;
            top: 65%;
            left: 30%;
            animation: moveCircle3 10s ease-in-out infinite alternate;
        }
        
        .animated-circle:nth-child(4) {
            width: 40px;
            height: 40px;
            background: white;
            top: 30%;
            right: 35%;
            animation: moveCircle4 8s ease-in-out infinite alternate;
        }
        
        /* أشكال زخرفية حول الصورة */
        .decorative-shape {
            position: absolute;
            opacity: 0.3;
            z-index: 1;
        }
        
        .decorative-shape.wave {
            width: 100%;
            height: 120px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,224C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            background-repeat: no-repeat;
            bottom: 0;
            left: 0;
        }
        
        /* أنيميشن للدوائر المتحركة */
        @keyframes moveCircle1 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, 20px) scale(1.2); }
            100% { transform: translate(-30px, -20px) scale(0.8); }
        }
        
        @keyframes moveCircle2 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-40px, 25px) scale(1.3); }
            100% { transform: translate(40px, -25px) scale(0.9); }
        }
        
        @keyframes moveCircle3 {
            0% { transform: translate(0, 0) scale(1) rotate(0deg); }
            50% { transform: translate(25px, -15px) scale(1.1) rotate(180deg); }
            100% { transform: translate(-25px, 15px) scale(0.9) rotate(360deg); }
        }
        
        @keyframes moveCircle4 {
            0% { transform: translate(0, 0) scale(1) rotate(0deg); }
            50% { transform: translate(-20px, -20px) scale(1.2) rotate(-180deg); }
            100% { transform: translate(20px, 20px) scale(0.8) rotate(-360deg); }
        }
        
        /* منطقة الصورة الشخصية المحسنة */
        .profile-image-container {
            position: relative;
            width: 200px;
            height: 200px;
            margin: 0 auto 35px;
            z-index: 10;
        }
        
        /* أول طبقة من الإطار الدائري */
        .profile-image-border-outer {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 3px dashed rgba(255, 255, 255, 0.7);
            animation: spin 20s linear infinite;
        }
        
        /* طبقة ثانية من الإطار الدائري */
        .profile-image-border-middle {
            position: absolute;
            width: 90%;
            height: 90%;
            top: 5%;
            left: 5%;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.4);
            animation: spin 15s linear infinite reverse;
        }
        
        /* طبقة ثالثة من الإطار الدائري */
        .profile-image-border-inner {
            position: absolute;
            width: 80%;
            height: 80%;
            top: 10%;
            left: 10%;
            border-radius: 50%;
            border: 4px dashed rgba(255, 255, 255, 0.6);
            animation: spin 25s linear infinite;
        }
        
        /* إضافة أشكال مضيئة حول الصورة */
        .glow-dots {
            position: absolute;
            border-radius: 50%;
            background: white;
            box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
            z-index: 2;
        }
        
        .glow-dots:nth-child(1) {
            width: 12px;
            height: 12px;
            top: 5%;
            left: 50%;
            animation: pulse 3s ease-in-out infinite;
        }
        
        .glow-dots:nth-child(2) {
            width: 10px;
            height: 10px;
            top: 50%;
            right: 5%;
            animation: pulse 2.5s ease-in-out infinite 0.5s;
        }
        
        .glow-dots:nth-child(3) {
            width: 14px;
            height: 14px;
            bottom: 10%;
            left: 50%;
            animation: pulse 3.5s ease-in-out infinite 1s;
        }
        
        .glow-dots:nth-child(4) {
            width: 8px;
            height: 8px;
            top: 50%;
            left: 5%;
            animation: pulse 3s ease-in-out infinite 1.5s;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.7; }
            50% { transform: scale(1.5); opacity: 1; }
            100% { transform: scale(1); opacity: 0.7; }
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* إضافة هالة خلف الصورة */
        .image-glow {
            position: absolute;
            width: 75%;
            height: 75%;
            top: 12.5%;
            left: 12.5%;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            filter: blur(10px);
            z-index: 1;
            animation: glowPulse 5s ease-in-out infinite;
        }
        
        @keyframes glowPulse {
            0% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.2); opacity: 0.5; }
            100% { transform: scale(1); opacity: 0.3; }
        }
        
        .profile-image {
            position: absolute;
            top: 25px;
            left: 25px;
            width: calc(100% - 50px);
            height: calc(100% - 50px);
            border-radius: 50%;
            border: 5px solid white;
            object-fit: cover;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            z-index: 5;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        .profile-name {
            color: white;
            margin-bottom: 15px;
            font-weight: 800;
            font-size: 2.8rem;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
            z-index: 10;
        }
        
        .profile-name::after {
            content: '';
            position: absolute;
            width: 60%;
            height: 4px;
            background: white;
            bottom: -8px;
            left: 20%;
            border-radius: 4px;
        }
        
        .profile-title {
            color: rgba(255, 255, 255, 0.95);
            font-size: 1.4rem;
            margin-bottom: 20px;
            font-weight: 500;
            position: relative;
            z-index: 10;
        }
        
        .card-body {
            padding: 40px;
            position: relative;
            z-index: 1;
        }
        
        .section-title {
            font-weight: 700;
            color: #2563eb;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
            font-size: 1.5rem;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            width: 60%;
            height: 4px;
            background: var(--primary-gradient);
            bottom: -10px;
            left: 0;
            border-radius: 4px;
        }
        
        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #4a5568;
            margin-bottom: 30px;
        }
        
        .skill-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .skill-badge {
            background: white;
            color: #4f46e5;
            border: 2px solid #e2e8f0;
            border-radius: 50px;
            padding: 10px 18px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: default;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .skill-badge:hover {
            background: var(--primary-gradient);
            color: white;
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
            border-color: transparent;
        }
        
        .contact-section {
            background: rgba(37, 99, 235, 0.05);
            border-radius: 16px;
            padding: 30px;
            margin-top: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .contact-section:hover {
            box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
            transform: translateY(-5px);
        }
        
        .contact-btn {
            background: var(--primary-gradient);
            border: none;
            border-radius: 50px;
            padding: 12px 30px;
            font-size: 1.1rem;
            font-weight: 600;
            box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            margin-top: 10px;
        }
        
        .contact-btn:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
        }
        
        .social-icons {
            display: flex;
            gap: 20px;
            margin-top: 25px;
            justify-content: center;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: white;
            color: #4f46e5;
            border: 2px solid #e2e8f0;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            font-size: 1.3rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .social-icon:hover {
            background: var(--primary-gradient);
            color: white;
            transform: translateY(-8px);
            box-shadow: 0 15px 25px rgba(79, 70, 229, 0.25);
            border-color: transparent;
        }
        
        .animate-in {
            animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
            opacity: 0;
            transform: translateY(30px);
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .projects-link {
            display: inline-block;
            background: var(--primary-gradient);
            color: white;
            text-decoration: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            margin-top: 20px;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
        }
        
        .projects-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
            color: white;
        }
        
        .projects-link i {
            margin-right: 8px;
            transition: transform 0.3s ease;
        }
        
        .projects-link:hover i {
            transform: translateX(5px);
        }
        
        .gradient-bg {
            background: linear-gradient(120deg, #2563eb 0%, #4f46e5 100%);
        }
     
        .footer-wave {
            position: relative;
            background: linear-gradient(45deg, #2563eb, #4f46e5);
        }

        .footer-wave::before {
            content: '';
            position: absolute;
            top: -50px;
            left: 0;
            width: 100%;
            height: 50px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232563eb' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
            background-size: cover;
        }
        
        /* إضافة تنسيق للقائمة في حالة الشاشات الصغيرة */
        @media (max-width: 991px) {
            .navbar {
                padding: 10px 15px;
            }
            
            .navbar-container {
                position: relative;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .nav-menu {
                position: absolute;
                top: 100%;
                right: 0;
                background: white;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
                border-radius: 10px;
                padding: 20px;
                width: 250px;
                opacity: 0;
                transform: translateY(20px);
                pointer-events: none;
                transition: all 0.3s ease;
                z-index: 100;
            }
            
            .nav-menu.show {
                opacity: 1;
                transform: translateY(10px);
                pointer-events: all;
            }
            
            .nav-links {
                flex-direction: column;
                gap: 15px;
            }
            
            .contact-nav-btn {
                margin-top: 15px;
                width: 100%;
                text-align: center;
            }
        }
        
        @media (max-width: 768px) {
            .profile-image-container {
                width: 160px;
                height: 160px;
            }
            
            .profile-image {
                top: 20px;
                left: 20px;
                width: calc(100% - 40px);
                height: calc(100% - 40px);
            }
            
            .profile-name {
                font-size: 2.2rem;
            }
            
            .card-header, .card-body {
                padding: 30px 20px;
            }
            
            .skill-badge {
                padding: 8px 16px;
                font-size: 0.9rem;
            }
            
            .contact-section {
                padding: 25px 20px;
            }
        }