    /* Global Styles */
    :root {
        --primary-color: #FF7D00;
        --primary-dark: #E67100;
        --secondary-color: #333333;
        --light-color: #FFFFFF;
        --dark-color: #222222;
        --gray-color: #F5F5F5;
        --text-color: #444444;
        --text-light: #777777;
        --border-radius: 8px;
        --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Tajawal', sans-serif;
        color: var(--text-color);
        background-color: var(--light-color);
        line-height: 1.6;
    }

    body[lang="ar"] {
        direction: rtl;
        text-align: right;
        font-family: 'Tajawal', sans-serif;
    }

    body[lang="en"] {
        direction: ltr;
        text-align: left;
        font-family: 'Poppins', 'Tajawal', sans-serif;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    ul {
        list-style: none;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

    .section-divider {
        width: 80px;
        height: 4px;
        background-color: var(--primary-color);
        margin: 20px auto;
        border-radius: 2px;
    }

    .section-description {
        font-size: 1.1rem;
        color: var(--text-light);
        max-width: 700px;
        margin: 0 auto;
    }

    .btn {
        display: inline-block;
        padding: 12px 30px;
        border-radius: var(--border-radius);
        font-weight: 700;
        text-align: center;
        cursor: pointer;
        transition: var(--transition);
        border: 2px solid transparent;
    }

    .btn-primary {
        background-color: var(--primary-color);
        color: var(--light-color);
    }

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: var(--box-shadow);
    }

    .btn-outline {
        background-color: transparent;
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .btn-outline:hover {
        background-color: var(--primary-color);
        color: var(--light-color);
    }

    .btn-lg {
        padding: 15px 40px;
        font-size: 1.1rem;
    }

    /* Header Styles */
    .header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: var(--transition);
    }

    .header.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        padding: 10px 0;
    }

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }

    .logo img {
        height: 50px;
        transition: var(--transition);
    }

    .header.scrolled .logo img {
        height: 40px;
    }

    .nav-list {
        display: flex;
        gap: 20px;
    }

    [lang="en"] .nav-list {
        margin-right: auto;
        margin-left: 20px;
    }

    .nav-link {
        font-weight: 700;
        color: var(--secondary-color);
        padding: 10px 15px;
        position: relative;
        transition: var(--transition);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 5px;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: var(--transition);
    }

    [lang="ar"] .nav-link::after {
        right: 15px;
    }

    [lang="en"] .nav-link::after {
        left: 15px;
    }

    .nav-link:hover::after {
        width: calc(100% - 30px);
    }

    .nav-link:hover, .nav-link.active {
        color: var(--primary-color);
    }

    .header-actions {
        display: flex;
        align-items: center;
    }

    .header-cta {
        margin-right: 20px;
    }

    [lang="en"] .header-cta {
        margin-right: 0;
        margin-left: 20px;
    }

    .lang-switcher {
        display: flex;
        margin-right: 15px;
    }

    [lang="en"] .lang-switcher {
        margin-right: 0;
        margin-left: 15px;
    }

    .lang-btn {
        background: none;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 14px;
        color: var(--secondary-color);
        transition: var(--transition);
    }

    .lang-btn.active {
        color: var(--primary-color);
        font-weight: bold;
    }

    .mobile-menu-btn {
        display: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--secondary-color);
    }

    /* Hero Section */
    .hero {
        position: relative;
        height: 100vh;
        min-height: 700px;
        background: url('../Images/artboardempty.png') no-repeat center center/cover;
        display: flex;
        align-items: center;
        margin-top: 80px;
    }

    .overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .hero-content {
        z-index: 1;
        color: var(--light-color);
        max-width: 600px;
        position: absolute;
        right: 10;
        top: 15%;
    }

    [lang="ar"] .hero-content.desktop-left {
        margin-right: auto;
        margin-left: 0;
        text-align: right;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 20px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 30px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .hero-buttons {
        display: flex;
        gap: 20px;
        margin-top: 40px;
    }

    /* Mobile Logo Styles */
    .mobile-logo {
        display: none;
        text-align: center;
        margin-bottom: 30px;
    }

    .mobile-logo img {
        width: 70%;
        position: absolute;
        top: 1%;
        left: 50%;
        transform: translate(-50%,0);
    }

    /* Services Section */
    .services {
        padding: 100px 0;
        background-color: var(--gray-color);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }

    .service-card {
        background-color: var(--light-color);
        border-radius: var(--border-radius);
        padding: 30px;
        text-align: center;
        box-shadow: var(--box-shadow);
        transition: var(--transition);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .service-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 125, 0, 0.1);
        border-radius: 50%;
    }

    .service-icon img {
        max-width: 50px;
        max-height: 50px;
    }

    .service-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--secondary-color);
    }

    .service-description {
        color: var(--text-light);
        font-size: 1rem;
    }

    /* Portfolio Section */
    .portfolio {
        padding: 100px 0;
        background-color: var(--light-color);
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .portfolio-item {
        position: relative;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--box-shadow);
        height: 250px;
    }

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .portfolio-overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(255, 125, 0, 0.8);
        color: var(--light-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: var(--transition);
        padding: 20px;
        text-align: center;
    }

    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }

    .portfolio-item:hover img {
        transform: scale(1.1);
    }

    .portfolio-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .portfolio-overlay p {
        font-size: 1rem;
    }

    /* Why Us Section */
    .why-us {
        padding: 100px 0;
        background-color: var(--light-color);
    }

    .why-us-content {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .why-us-text {
        flex: 1;
    }

    .why-us-image {
        flex: 1;
        position: relative;
    }

    .featured-image {
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

    .image-badge {
        position: absolute;
        top: -20px;
        background-color: var(--primary-color);
        color: var(--light-color);
        padding: 15px 20px;
        border-radius: var(--border-radius);
        font-weight: 700;
        box-shadow: var(--box-shadow);
    }

    [lang="ar"] .image-badge {
        left: -20px;
    }

    [lang="en"] .image-badge {
        right: -20px;
    }

    .image-badge small {
        display: block;
        font-size: 0.8rem;
        font-weight: 400;
    }

    .features-list {
        margin: 30px 0 40px;
    }

    .features-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.1rem;
    }

    .features-list i {
        color: var(--primary-color);
        font-size: 1.3rem;
    }

    /* Footer Styles */
    .footer {
        background-color: var(--secondary-color);
        color: var(--light-color);
        padding: 80px 0 0;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-about img {
        margin-bottom: 20px;
    }

    .about-text {
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.7);
    }

    .social-links {
        display: flex;
        gap: 15px;
    }

    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--light-color);
        transition: var(--transition);
    }

    .social-link:hover {
        background-color: var(--primary-color);
        transform: translateY(-3px);
    }

    .footer-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        width: 40px;
        height: 2px;
        background-color: var(--primary-color);
    }

    [lang="ar"] .footer-title::after {
        right: 0;
    }

    [lang="en"] .footer-title::after {
        left: 0;
    }

    .footer-links ul li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        transition: var(--transition);
        display: block;
        padding: 5px 0;
    }

    [lang="ar"] .footer-links a:hover {
        color: var(--primary-color);
        padding-right: 10px;
    }

    [lang="en"] .footer-links a:hover {
        color: var(--primary-color);
        padding-left: 10px;
    }

    .contact-info li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.7);
    }

    .contact-info i {
        color: var(--primary-color);
        width: 20px;
        text-align: center;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
        text-align: center;
    }

    .copyright {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.9rem;
    }

    /* Responsive Styles */
    @media (max-width: 992px) {
        .hero-title {
            font-size: 3rem;
        }
        
        .why-us-content {
            flex-direction: column;
        }
        
        .why-us-image {
            margin-top: 50px;
        }
    }

    @media (max-width: 768px) {
        .header {
            display: none;
        }
        
        .hero {
            margin-top: 0;
        }
        
        .mobile-logo {
            display: block;
        }
        
        .hero-title {
            font-size: 2.5rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
        }
        
        .hero-buttons {
            flex-direction: column;
            gap: 15px;
        }
        
        .section-title {
            font-size: 2rem;
        }
        
        .portfolio-grid,
        .services-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .mobile-menu-btn {
            display: block;
        }
        
        .nav {
            position: fixed;
            top: 0;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background-color: var(--light-color);
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            z-index: 1000;
        }
        
        [lang="ar"] .nav {
            right: -100%;
        }
        
        [lang="en"] .nav {
            left: -100%;
        }
        
        .nav.active {
            transform: translateX(0);
        }
        
        [lang="ar"] .nav.active {
            right: 0;
        }
        
        [lang="en"] .nav.active {
            left: 0;
        }
        
        .nav-list {
            flex-direction: column;
            padding: 80px 30px 30px;
        }
        
        .header-actions {
            margin-right: auto;
        }
        
        [lang="en"] .header-actions {
            margin-right: 0;
            margin-left: auto;
        }
    }

    @media (max-width: 576px) {
        .hero {
            background-image: url(../Images/backphone.png);
            text-align: center;
            position: relative;
        }
        
        .hero-content {
    position: absolute;
        top: 20%; 
        right: 10px;
        left: 10px;
        z-index: 1;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        color: var(--light-color);
        }
        
        .hero-title {
            font-size: 2rem;
        }
        
        .section-title {
            font-size: 1.8rem;
        }
        
        .services-grid,
        .portfolio-grid {
            grid-template-columns: 1fr;
        }
    }
    /* تنسيق زر اللغة في الموبايل */
    .mobile-lang-switcher {
        display: none;
        margin-top: 20px;
        padding: 15px 0;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .mobile-lang-switcher .lang-btn {
        margin: 0 5px;
        padding: 8px 15px;
        font-size: 16px;
    }

    @media (max-width: 768px) {
        /* إخفاء زر اللغة في الهيدر */
        .header-actions .lang-switcher {
            display: none;
        }
        
        /* إظهار زر اللغة في قائمة الموبايل */
        .mobile-lang-switcher {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* تعديلات إضافية للهيدر في الموبايل */
        .header .container {
            justify-content: space-between;
        }
        
        .header-actions .header-cta {
            margin-right: 0;
        }
        
        [lang="en"] .header-actions .header-cta {
            margin-left: 0;
        }
    }   

    
/* Mobile Navigation Styles */
.mobile-nav-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    font-size: 1.8rem;
    color: var(--primary-color);
    /* background-color: rgba(255, 255, 255, 0.9); */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}
.powered-by {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--light-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 15px;
    font-weight: 700;
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-nav-link:hover, 
.mobile-nav-link.active {
    background-color: rgba(255, 125, 0, 0.1);
    color: var(--primary-color);
}

/* إظهار العناصر فقط في الموبايل */
@media (min-width: 769px) {
    .mobile-nav-btn,
    .mobile-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    /* إخفاء القائمة الأصلية */
    .nav {
        display: none;
    }
    
    /* تعديل تنسيق الهيرو ليتناسب مع القائمة الجديدة */
    .hero {
        margin-top: 0;
    }
    
    /* تعديل موقع زر القائمة */
    [lang="ar"] .mobile-nav-btn {
        right: 20px;
        left: auto;
    }
    
    [lang="en"] .mobile-nav-btn {
        left: 20px;
        right: auto;
    }
    
    /* تعديل اتجاه القائمة */
    [lang="ar"] .mobile-nav {
        right: -100%;
        left: auto;
    }
    
    [lang="ar"] .mobile-nav.active {
        right: 0;
    }
    
    [lang="en"] .mobile-nav {
        left: -100%;
        right: auto;
    }
    
    [lang="en"] .mobile-nav.active {
        left: 0;
    }
}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: #fefefe;
  color: #222;
  direction: rtl;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #2a2a2a;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: #f4c707;
  margin: 0 auto 10px;
}

.section-description {
  font-size: 1rem;
  color: #666;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background-color: #fafafa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
  position: relative;
  padding-right: 10px;
}

.testimonial-text::before {
  content: '"';
  font-size: 2rem;
  color: #f4c707;
  position: absolute;
  right: 0;
  top: -10px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #999;
}
.testimonial-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 20px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  margin: 20px auto;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.client-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1973ad;
  margin-bottom: 15px;
}

.client-name {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-bottom: 5px;
}

.client-role {
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
}

.client-comment p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
.testimonials-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.testimonial-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.client-image img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1973ad;
  margin-bottom: 15px;
}

.client-name {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-bottom: 5px;
}

.client-role {
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
}

.client-comment p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* End */
.offer-card {
  animation: fadeInUp 1s ease;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.shake {
  animation: shake 1s infinite;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.shake {
  animation: shake 1.5s infinite;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
