        :root {
            --primary: #2C3E50;
            --secondary: #1ABC9C;
            --accent: #3498DB;
            --light: #F8F9FA;
            --dark: #1A252F;
            --text: #2C3E50;
            --text-light: #7B8A8B;
            --border: #E9ECEF;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
            --radius: 8px;
        }
        
        /* Base Styles */
        body {
            font-family: "Tajawal", sans-serif;
            font-size: 16px;
            color: var(--text);
            line-height: 1.7;
            overflow-x: hidden;
            padding-top: 76px;
            background-color: #FFFFFF;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: "Tajawal", sans-serif;
            font-weight: 600;
            line-height: 1.3;
        }
        a {
            text-decoration: none;
            transition: var(--transition);
            color: var(--primary);
        }
        a:hover {
            color: var(--secondary);
        }
        /* Utility Classes */
        .text-primary { color: var(--primary) !important; }
        .text-secondary { color: var(--secondary) !important; }
        .bg-primary { background-color: var(--primary) !important; }
        .bg-secondary { background-color: var(--secondary) !important; }
        .bg-light { background-color: var(--light) !important; }
        .bg-dark { background-color: var(--dark) !important; }
        .section-padding {
            padding: 80px 0;
        }
        /* Buttons */
        .btn {
            font-weight: 500;
            padding: 0.75rem 1.75rem;
            border-radius: var(--radius);
            transition: var(--transition);
            font-size: 0.95rem;
        }
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        .btn-primary:hover {
            background-color: #233140;
            border-color: #233140;
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }
        .btn-secondary {
            background-color: var(--secondary);
            border-color: var(--secondary);
        }
        .btn-secondary:hover {
            background-color: #16A085;
            border-color: #16A085;
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }
        .btn-outline-primary {
            color: var(--primary);
            border-color: var(--primary);
            background: transparent;
        }
        .btn-outline-primary:hover {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        .btn-outline-light {
            color: rgba(255, 255, 255, 0.9);
            border-color: rgba(255, 255, 255, 0.5);
            background: transparent;
        }
        .btn-outline-light:hover {
            background-color: white;
            border-color: white;
            color: var(--primary);
        }
        /* Navigation */
        .navbar {
            padding: 16px 0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-sm);
            backdrop-filter: blur(10px);
            transition: var(--transition);
        }
        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: var(--shadow-md);
        }
        
        .nav-link {
            font-weight: 500;
            padding: 8px 16px !important;
            margin: 0 4px;
            color: var(--text) !important;
            border-radius: var(--radius);
            font-size: 0.95rem;
        }
        .nav-link:hover, 
        .nav-link.active {
            color: var(--secondary) !important;
            background-color: rgba(26, 188, 156, 0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--primary);
        }
        .navbar-brand span {
            color: var(--secondary);
        }
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            padding: 120px 0 100px;
            position: relative;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            z-index: 1;
        }
        .hero::after {
            content: '';
            position: absolute;
            bottom: -50px;
            left: -50px;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            z-index: 1;
        }
        .hero-content {
            position: relative;
            z-index: 2;
        }
        .hero h1 {
            font-size: 3.25rem;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }
        .hero p {
            font-size: 1.15rem;
            opacity: 0.9;
            max-width: 600px;
            margin-bottom: 30px;
        }
        .hero-img {
            width: 100%;
            max-width: 320px;
            border-radius: 16px;
            position: relative;
            z-index: 2;
            border: 4px solid rgba(255, 255, 255, 0.2);
            box-shadow: var(--shadow-lg);
        }
        /* Section Styling */
        .section-title {
            position: relative;
            margin-bottom: 60px;
            text-align: center;
        }
        .section-title h2 {
            font-weight: 700;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
            margin-bottom: 15px;
        }
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--secondary);
        }
        .section-title .lead {
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }
        /* Cards */
        .card {
            border: none;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            height: 100%;
            overflow: hidden;
        }
        .card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }
        .highlight-card {
            padding: 30px;
            background: white;
            border-left: 4px solid var(--secondary);
        }
        .highlight-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }
        /* Education & Skills Cards */
        .education-card, .skills-card {
            padding: 30px;
            background: white;
        }
        .skills-card h4 i {
            color: var(--secondary);
            margin-right: 10px;
        }
        /* Project Showcase */
        .project-showcase {
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            background: white;
        }
        .project-showcase:hover {
            box-shadow: var(--shadow-md);
        }
        .project-showcase .img-container {
            height: 100%;
            min-height: 280px;
            overflow: hidden;
        }
        .project-showcase img {
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        .project-showcase:hover img {
            transform: scale(1.03);
        }
        /* Certificate Cards */
        .certificate-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }
        .certificate-icon {
            font-size: 2rem;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        /* Enhanced Contact Form */
        .contact-form {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            padding: 40px;
            border-left: 4px solid var(--secondary);
            position: relative;
            overflow: hidden;
        }
        .contact-form::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 150px;
            height: 150px;
            background: linear-gradient(135deg, transparent 50%, rgba(26, 188, 156, 0.05) 50%);
            z-index: 0;
        }
        .contact-form h3 {
            color: var(--primary);
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
            font-size: 1.8rem;
            font-weight: 600;
            z-index: 1;
        }
        .contact-form h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--secondary);
        }
        
        /* Enhanced Form Elements */
        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }
        .form-control {
            padding: 14px 16px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            transition: var(--transition);
            font-size: 0.95rem;
            background-color: #f9f9f9;
        }
        .form-control:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 0.25rem rgba(26, 188, 156, 0.25);
            background-color: white;
        }
        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--text);
            font-size: 0.95rem;
        }
        
        /* Enhanced Contact Info */
        .info-box {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            padding: 40px;
            height: 100%;
            border-left: 4px solid var(--primary);
            position: relative;
            overflow: hidden;
        }
        .info-box::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 150px;
            height: 150px;
            background: linear-gradient(135deg, transparent 50%, rgba(44, 62, 80, 0.05) 50%);
            z-index: 0;
        }
        .info-box h3 {
            color: var(--primary);
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
            font-size: 1.8rem;
            font-weight: 600;
            z-index: 1;
        }
        .info-box h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--primary);
        }
        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            position: relative;
            z-index: 1;
        }
        .info-item .icon-box {
            width: 50px;
            height: 50px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-right: 15px;
            transition: var(--transition);
        }
        .info-item:hover .icon-box {
            background-color: var(--light);
        }
        .info-item:hover .icon-box i {
            color: white;
        }
        .info-item i {
            color: var(--primary);
            font-size: 1.2rem;
            transition: var(--transition);
        }
        .info-item-content h5 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--dark);
        }
        .info-item-content p {
            margin: 0;
            color: var(--text-light);
        }
        
        /* Enhanced Footer */
        footer {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            padding: 70px 0 25px;
            position: relative;
            direction: ltr;
            text-align: left;
            box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
        }
        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--secondary), var(--accent));
        }
        .footer-widget {
            margin-bottom: 30px;
        }
        .footer-widget h4 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer-widget h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 40px;
            height: 2px;
            background-color: var(--secondary);
        }
        .footer-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: white;
            display: inline-block;
            margin-bottom: 15px;
        }
        .footer-brand span {
            color: var(--secondary);
        }
        .footer-description {
            font-size: 0.95rem;
            opacity: 0.8;
            margin-bottom: 20px;
            max-width: 300px;
        }
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
            display: inline-block;
        }
        .footer-links a:hover {
            color: var(--secondary);
            transform: translateX(5px);
        }
        .social-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .social-links a:hover {
            background-color: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        }
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 40px;
            padding-top: 20px;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }
        
        /* Alerts */
        .alert {
            position: fixed;
            top: 100px;
            right: 20px;
            z-index: 1000;
            min-width: 300px;
            animation: slideIn 0.5s forwards;
            box-shadow: var(--shadow-md);
            border: none;
            border-radius: var(--radius);
            padding: 16px 20px;
        }
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        /* WhatsApp Floating Button */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: var(--shadow-md);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: var(--shadow-lg);
        }
        /* Language Dropdown */
        .lang-dropdown .dropdown-toggle {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text);
            padding: 6px 12px;
            border-radius: var(--radius);
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
        }
        .lang-dropdown .dropdown-toggle:hover {
            background-color: rgba(26, 188, 156, 0.1);
            border-color: var(--secondary);
        }
        .lang-dropdown .dropdown-menu {
            border: none;
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            padding: 8px;
        }
        .lang-dropdown .dropdown-item {
            padding: 8px 12px;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        .lang-dropdown .dropdown-item:hover,
        .lang-dropdown .dropdown-item.active {
            background-color: rgba(26, 188, 156, 0.1);
            color: var(--secondary);
        }
        /* CV Download Button */
        .cv-download-btn {
            background-color: var(--secondary);
            border-color: var(--secondary);
            color: white;
            padding: 10px 20px;
            border-radius: var(--radius);
            font-weight: 500;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
        }
        .cv-download-btn:hover {
            background-color: #16a085;
            border-color: #16a085;
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
            color: white;
        }
        .cv-download-btn i {
            margin-right: 8px;
        }
        
        /* Skills Section */
        .skills-card {
            padding: 30px;
            background: white;
            border-radius: 8px;
            height: 100%;
            transition: var(--transition);
            border-left: 4px solid var(--primary);
            box-shadow: var(--shadow-sm);
            margin-bottom: 30px;
        }
        .skills-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }
        .skills-card h4 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--dark);
        }
        .skills-card h4 i {
            color: var(--secondary);
            margin-left: 10px;
            margin-right: 0;
        }
        .skill-progress {
            margin-bottom: 20px;
        }
        .skill-name {
            font-weight: 500;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
        }
        .progress {
            height: 8px;
            border-radius: 4px;
            background-color: #e9ecef;
        }
        .progress-bar {
            background-color: var(--secondary);
            border-radius: 4px;
        }
        
        /* Projects Preview - Updated */
        .project-category-card {
            background: var(--light);
            border-radius: 10px;
            padding: 40px 30px;
            height: 100%;
            transition: var(--transition);
            border: none;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--secondary);
            text-align: center;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .project-category-card:hover {
            box-shadow: var(--shadow-md);
            border: 1px solid var(--primary);
            transform: translateY(-5px);
        }
        .certificate-card {
            background: white;
            border-radius: 10px;
            padding: 40px 30px;
            height: 100%;
            transition: var(--transition);
            border: none;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--secondary);
            text-align: center;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .project-category-icon {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }
        .project-category-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--primary);
        }
        .project-category-desc {
            color: var(--text-light);
            margin-bottom: 20px;
        }
        .project-category-link {
            color: var(--secondary);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
        }
        .project-category-link i {
            margin-left: 8px;
        }
        
        /* RTL modifications */
        body[dir="rtl"] {
            text-align: right;
            direction: rtl;
        }
        
        body[dir="rtl"] .section-title h2::after {
            right: 50%;
            left: auto;
            transform: translateX(50%);
        }
        
        body[dir="rtl"] .contact-form h3::after,
        body[dir="rtl"] .info-box h3::after {
            right: auto;
            left: 0;
        }
        
        body[dir="rtl"] .form-control {
            text-align: right;
        }
        
        body[dir="rtl"] .skills-card h4 i {
            margin-left: 0;
            margin-right: 10px;
        }
        
        body[dir="rtl"] .info-item .icon-box {
            margin-right: 0;
            margin-left: 15px;
        }
        
        body[dir="rtl"] .footer-widget h4::after {
            right: auto;
            left: 0;
        }
        
        body[dir="rtl"] .footer-links a:hover {
            transform: translateX(-5px);
        }
        
        body[dir="rtl"] .alert {
            right: auto;
            left: 20px;
            text-align: right;
        }
        
        @keyframes slideInRTL {
            from { transform: translateX(-100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.8rem;
            }
            
            .section-padding {
                padding: 70px 0;
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                padding: 100px 0 80px;
                text-align: center;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                margin-left: auto;
                margin-right: auto;
            }
            
            .project-showcase .img-container {
                min-height: 250px;
            }
            
            .contact-form {
                padding: 30px;
            }
            
            .info-box {
                padding: 30px;
                margin-top: 30px;
            }
        }
        
        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            body {
                font-size: 15px;
                padding-top: 70px;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .contact-form, .info-box {
                padding: 25px 15px;
            }
            
            .btn {
                padding: 0.6rem 1.5rem;
                font-size: 0.9rem;
            }
            
            .alert {
                width: calc(100% - 40px);
                right: 20px;
                left: 20px;
            }
            
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 25px;
            }
        }