* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-red: #E53E3E;
            --primary-blue: #2D4A73;
            --accent-orange: #be2929;
            --dark-navy: #1A202C;
            --light-gray: #F7FAFC;
            --text-dark: #2D3748;
            --text-light: #718096;
            --white: #FFFFFF;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        html {
            scroll-behavior: smooth;
            }


        /* Language Toggle */
        /* .language-toggle {
            position: fixed;
            top: 2.5px;
            left: 550px;
            z-index: 1000;
            background: var(--white);
            border-radius: 25px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            padding: 5px;
            display: flex;
            gap: 5px;
        }

        .lang-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            background: transparent;
        }

        .lang-btn.active {
            background: var(--primary-red);
            color: var(--white);
        }

        .lang-btn:not(.active) {
            color: var(--text-light);
        }

        .lang-btn:hover:not(.active) {
            background: var(--light-gray);
        } */

        /* Header */
        .header {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
            color: var(--white);
            padding: 1rem 0; /* قللنا المسافة */
            position: relative;
            overflow: hidden;
            height: 95vh; /* بدل 95vh عشان يبقى أعلى */
            
           
        }

        .header::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
            animation: float 20s infinite linear;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            100% { transform: translateY(-100px); }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3rem;
            padding: 0 2rem;
        }

        .logo {
            display: flex;
            align-items: center; /* يخلي النص واللوجو في نفس السطر */
            gap: 0.8rem; /* مسافة صغيرة بينهم */
            font-size:  2rem;
            font-weight: bold;
            margin-bottom: 18px;
            cursor: pointer;
        }

        .logo-icon {
            width:65px;
            height: 65px;
            /* background: linear-gradient(135deg, var(--primary-red), var(--accent-orange)); */
            border-radius: 50% 50% 50% 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
             font-size: 1.2rem;
            transform: rotate(-45deg);
        }

        .logo-icon span {
            transform: rotate(45deg);
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* عشان اللوجو يبان مظبوط */
            transform: rotate(45deg);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
           
        }

        .nav-menu a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            /* font-size: large; */
            transition: all 0.3s ease;
            position: relative;
             margin-right: 20px;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-red);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        .hero {
            text-align: center;
            padding: 2rem 0;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--white), var(--primary-red));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
            color: var(--white);
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3);
        }

        /* Services Section */
        .services {
            padding: 5rem 0;
            background: var(--light-gray);
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
            border-radius: 2px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-card {
            background: var(--white);
            padding: 2.5rem 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--white);
            font-size: 2rem;
        }

        .service-card h3 {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .service-card p {
            color: var(--text-light);
            line-height: 1.8;
        }

        /* Features Section */
        .features {
            padding: 5rem 0;
            background: var(--white);
        }

        .features-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .features-text h2 {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 2rem;
        }

        .feature-list {
            list-style: none;
        }

        .feature-list li {
            padding: 1rem 0;
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-dark);
            font-size: 1.1rem;
        }

        .feature-list li::before {
            content: '✓';
            background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
            color: var(--white);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .features-visual {
            position: relative;
        }

        .feature-card {
            background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
            color: var(--white);
            padding: 2rem;
            border-radius: 20px;
            margin: 1rem 0;
            transform: rotate(-5deg);
            box-shadow: 0 15px 30px rgba(229, 62, 62, 0.3);
        }

        .feature-card:nth-child(2) {
            transform: rotate(5deg);
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
            margin-top: -1rem;
        }

        /* Footer */
           .footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 1.5rem 0 1rem; /* أصغر */
    font-family: "Poppins", sans-serif;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
    text-align: center; /* كل الكلام في النص */
  }

  .footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
  }

  .footer-text p {
    margin: 0.4rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .footer-text i {
    color: var(--primary-red);
  }

  .footer-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 شمال و 3 يمين */
    gap: 0.8rem;
    justify-items: center; /* النصوص في النص */
  }

  .footer-services a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
  }

  .footer-services a:hover {
    color: var(--white);
  }

  .footer-bottom {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid #4A5568;
    color: var(--text-light);
    font-size: 0.8rem;
}


        /* English RTL Override */
        [dir="ltr"] {
            text-align: left;
        }

        [dir="ltr"] .hero {
            text-align: center;
        }

        [dir="ltr"] .section-title {
            text-align: center;
        }

        [dir="ltr"] .service-card {
            text-align: center;
        }

        [dir="ltr"] .footer-bottom {
            text-align: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .container {
                padding: 0 1rem;
            }

            .nav {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-menu {
                flex-wrap: wrap;
                justify-content: center;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .features-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .language-toggle {
                top: 10px;
                left: 10px;
            }
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 1.5rem;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .mobile-menu-toggle {
                display: block;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--steel-blue);
                flex-direction: column;
                padding: 1rem;
                border-radius: 10px;
                margin-top: 1rem;
                box-shadow: 0 10px 30px var(--shadow-dark);
            }

            .nav-menu.active {
                display: flex;
            }
        }