/* CSS Variables based on Tailwind Config */
:root {
    --primary: #000000;
    --primary-fixed: #dae2fd;
    --primary-fixed-dim: #bec6e0;
    --primary-container: #131b2e;
    --on-primary-container: #7c839b;
    --secondary: #5d5f5f;
    --surface: #fcf8fa;
    --surface-container-low: #f6f3f5;
    --surface-container-lowest: #ffffff;
    --surface-container-highest: #e4e2e4;
    --outline-variant: #c6c6cd;
    --text-primary: #1b1b1d;
    --text-secondary: #45464d;
    
    --font-inter: 'Inter', sans-serif;
    --font-geist: 'Geist', sans-serif;
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--surface);
    color: var(--text-primary);
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.center {
    text-align: center;
}

.text-white {
    color: white !important;
}

.mt-4 {
    margin-top: 1rem;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    font-family: var(--font-inter);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 8px;
}

h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

p.subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 16px 0;
}

/* Icons */
.icon-filled {
    font-variation-settings: 'FILL' 1;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background: rgba(252, 248, 250, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(198, 198, 205, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}


.nav-links {
    display: none;
    gap: 48px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-family: var(--font-geist);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    font-family: var(--font-geist);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-outline {
    background-color: white;
    border: 1px solid var(--outline-variant);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--surface-container-low);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(218, 226, 253, 0.3);
    color: var(--text-secondary);
    padding: 4px 16px;
    border-radius: 99px;
    border: 1px solid rgba(218, 226, 253, 0.5);
    font-family: var(--font-geist);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}


/* تنسيق مقاس زر الهيدر ليكون متناسق وأنيق */
.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 8px;
}

/* ضمان ظهور النص باللون الأبيض في الأزرار الأساسية */
.btn-primary {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* ضمان ظهور الأيقونة باللون الأبيض وتصغير حجمها لتناسب الزر */
.btn-nav .material-symbols-outlined {
    color: #ffffff !important;
    font-size: 18px; 
}


/* الكود ده هيجبر الأزرار جوه الهيرو سكشن إنها تاخد مساحتها الطبيعية بس وتبان جنب بعض */
.hero-buttons .btn,
.hero-buttons a {
    width: auto !important;
    flex: 0 1 auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}




/* AI Glow Effects */
.hero-image-wrapper {
    position: relative;
}

.ai-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(40px);
    z-index: -1;
}

.glow-1 { top: -80px; right: -80px; }
.glow-2 { 
    bottom: -80px; 
    left: -80px; 
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0) 70%); 
}

.image-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(198, 198, 205, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.7s;
    position: relative;
}

.image-container:hover {
    transform: scale(1.01);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.floating-card {
    position: absolute;
    bottom: -40px;
    left: -40px;
    max-width: 280px;
    display: none;
}

@media (min-width: 768px) {
    .floating-card { display: block; }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--primary-container);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-label {
    font-size: 12px;
    font-family: var(--font-geist);
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
}

.card-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

.progress-bar-bg {
    height: 4px;
    background: var(--outline-variant);
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    width: 75%;
}

/* Bento Grid */
.services {
    padding: 80px 0;
    background-color: var(--surface-container-lowest);
}

.section-header {
    margin-bottom: 80px;
}

.section-header p {
    color: var(--secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 8px auto 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 48px 32px;
    background: white;
    border: 1px solid rgba(198, 198, 205, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--surface-container-low);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: white;
}

.service-card p {
    color: var(--secondary);
    font-size: 16px;
}

.learn-more {
    margin-top: 24px;
    color: var(--primary);
    font-family: var(--font-geist);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .learn-more {
    opacity: 1;
}

/* Solutions Layout */
.solutions {
    padding: 80px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.image-box {
    position: relative;
    order: 2;
}

@media (min-width: 1024px) {
    .image-box { order: 1; }
    .solutions-content { order: 2; }
}

.bg-image {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
    border: 1px solid rgba(198, 198, 205, 0.2);
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: rgba(0,0,0,0.05);
    filter: blur(64px);
    z-index: -1;
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-item p {
    font-size: 14px;
    color: var(--secondary);
}

/* Why Us Section */
.why-us {
    background-color: var(--primary-container);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 768px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 48px;
    border-radius: 16px;
    color: white;
}

.glass-card h3 { color: white; }
.glass-card p { color: var(--on-primary-container); font-size: 14px; }
.icon-large { font-size: 36px; color: var(--primary-fixed-dim); margin-bottom: 16px; }

/* Final CTA */
.cta-section { padding: 80px 0; }

.cta-box {
    background-color: var(--surface-container-highest);
    border-radius: 48px;
    padding: 48px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) { .cta-box { padding: 80px; } }

.cta-box h2 { font-size: 40px; margin: 0 auto 16px; max-width: 800px; }
@media (min-width: 1024px) { .cta-box h2 { font-size: 64px; } }

.cta-box p { font-size: 18px; color: var(--secondary); margin: 0 auto 32px; max-width: 600px; }

.cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

.cta-glow {
    top: 0; left: 50%; transform: translateX(-50%); opacity: 0.3;
}

.logos-row {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    gap: 48px;
    opacity: 0.5;
    filter: grayscale(100%);
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.logos-row span {
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: italic;
}

.why-us .section-header h2 {
    color: white;
}

.why-us .section-header p {
    color: var(--on-primary-container);
}

/* Footer */
.footer {
    padding: 80px 0;
    background-color: var(--surface-container-lowest);
    border-top: 1px solid rgba(198, 198, 205, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
    color: var(--secondary);
    margin-top: 16px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 24px;
    font-size: 16px;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(198, 198, 205, 0.1);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-bottom { text-align: center; }
}

/* =========================================
   Extended Services Section (5-Grid Layout)
   ========================================= */

.services-extended {
    padding: 80px 0;
    background-color: #ffffff; /* خلفية بيضاء نقية كما في الصورة */
}

/* توسيع الحاوية قليلاً لاستيعاب 5 كروت براحة */
.extended-container {
    max-width: 1360px;
}

.service-category {
    margin-bottom: 64px;
}

.mt-large {
    margin-top: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-header h2 {
    font-size: 28px;
    color: #111827; /* أسود داكن */
    margin-bottom: 12px;
    font-weight: 700;
}

.category-header p {
    font-size: 15px;
    color: #6b7280; /* رمادي */
    max-width: 600px;
    margin: 0 auto;
}

/* شبكة من 5 أعمدة */
.cards-grid-5 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

/* التجاوب مع الشاشات (Responsive) */
@media (min-width: 640px) {
    .cards-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .cards-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
    .cards-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* تصميم البطاقة */
.feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05); /* حواف خفيفة جداً */
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: rgba(107, 33, 168, 0.2); /* تحديد بنفسجي خفيف عند الوقوف عليها */
}

/* تصميم الأيقونة */
.icon-wrapper.purple-icon {
    width: 44px;
    height: 44px;
    background-color: #f4ebff; /* خلفية بنفسجي فاتح */
    color: #6b21a8; /* لون الأيقونة بنفسجي غامق */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-wrapper .material-symbols-outlined {
    font-size: 22px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* ================= about page ======================== */

/* ================= CSS Variables ================= */
:root {
    --primary: #000000;
    --accent-navy: #0F172A;
    --blue-600: #2563eb;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --secondary: #5d5f5f;
    --surface: #fcf8fa;
    --surface-container-low: #f6f3f5;
    --surface-container-lowest: #ffffff;
    --outline-variant: #c6c6cd;
    --text-primary: #1b1b1d;
    --text-white: #ffffff;
    
    --font-inter: 'Inter', sans-serif;
    --font-geist: 'Geist', sans-serif;
}

/* ================= Base Reset ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--surface);
    color: var(--text-primary);
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================= Typography & Colors ================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--accent-navy);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-secondary { color: var(--secondary); }
.text-white { color: var(--text-white); }
.text-blue-light { color: var(--blue-400); }
.icon-blue { color: var(--blue-600); }
.icon-navy { color: var(--accent-navy); }
.center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mt-4 { margin-top: 24px; }

/* ================= Layout Utilities ================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 48px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.items-center { align-items: center; }
.bg-white { background-color: #ffffff; }
.bg-gray { background-color: var(--surface-container-low); }
.bg-navy { background-color: var(--accent-navy); }

/* ================= Navbar ================= */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background: rgba(252, 248, 250, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(198, 198, 205, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 48px;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-links a {
    font-family: var(--font-geist);
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

/* ================= Buttons ================= */
.btn {
    font-family: var(--font-geist);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-navy { background-color: var(--accent-navy); color: var(--text-white); }
.btn-navy:hover { box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2); transform: translateY(-2px); }
.btn-outline { background-color: transparent; border: 1px solid var(--outline-variant); color: var(--text-primary); }
.btn-outline:hover { background-color: var(--surface-container-low); }
.btn-small { padding: 10px 24px; font-size: 14px; border-radius: 999px; }
.btn-large { padding: 16px 32px; font-size: 16px; }

.nav-links a.btn-navy {
    color: var(--text-white) !important;
}

/* ================= Global Components ================= */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 24px -1px rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.padding-large { padding: 48px; }
.section-header { margin-bottom: 64px; }
.section-header h2 { font-size: 40px; margin-bottom: 16px; }
.section-header p { font-size: 18px; max-width: 600px; margin: 0 auto; }
section { padding: 80px 0; }

/* ================= Hero Section ================= */
.hero { padding-top: 160px; min-height: 85vh; display: flex; align-items: center; position: relative; }
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(218, 226, 253, 0.3);
    color: var(--accent-navy);
    border-radius: 999px;
    font-family: var(--font-geist);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.hero-title { font-size: 48px; margin-bottom: 24px; }
@media (min-width: 768px) { .hero-title { font-size: 64px; } }
.text-gradient {
    background: linear-gradient(to right, var(--blue-600), #312e81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .subtitle { font-size: 18px; color: var(--secondary); margin-bottom: 32px; max-width: 600px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-image-wrapper { position: relative; display: none; }
@media (min-width: 1024px) { .hero-image-wrapper { display: block; } }
.hero-img { border-radius: 16px; filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15)); }

/* Floating Animation */
.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-stats { position: absolute; bottom: -16px; left: -16px; width: 240px; }
.stats-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--font-geist); font-size: 14px; font-weight: 500; }
.progress-bg { height: 8px; width: 100%; background: var(--surface-container-low); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 75%; background: var(--blue-600); }

/* ================= Sections ================= */
/* Who We Are */
.image-box { position: relative; }
.image-glow { position: absolute; inset: -16px; background: linear-gradient(to right, var(--blue-100), transparent); border-radius: 16px; z-index: -1; transition: transform 0.5s; }
.image-box:hover .image-glow { transform: scale(1.05); }
.rounded-img { border-radius: 16px; }
.text-content h2 { font-size: 40px; margin-bottom: 24px; }
.text-large { font-size: 18px; margin-bottom: 16px; }
.text-medium { font-size: 16px; margin-bottom: 32px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-item { border-left: 4px solid var(--blue-600); padding-left: 24px; }
.stat-item h3 { font-size: 24px; }
.stat-item p { font-family: var(--font-geist); font-size: 12px; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.1em; }

/* Mission / Vision */
.relative-glow { position: relative; z-index: 1; }
.relative-glow::after {
    content: ''; position: absolute; inset: -20px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: -1; border-radius: inherit;
}
.icon-large { font-size: 36px; }
.mission-vision h3 { font-size: 24px; margin-bottom: 12px; }
.mission-vision p { font-size: 18px; }

/* Values */
.value-card {
    padding: 48px;
    border: 1px solid rgba(198, 198, 205, 0.3);
    border-radius: 16px;
    transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.value-card h4 { font-size: 24px; margin-bottom: 8px; }

/* What We Do */
.link-blue { color: var(--blue-600); display: flex; align-items: center; gap: 4px; font-family: var(--font-geist); font-weight: 500; }
.feature-block { cursor: pointer; transition: all 0.5s; }
.feature-block .icon-box { width: 48px; height: 48px; background: var(--blue-100); border-radius: 8px; display: flex; justify-content: center; align-items: center; margin-bottom: 24px; transition: background 0.3s; color: var(--blue-600); }
.feature-block h3 { font-size: 24px; margin-bottom: 16px; transition: color 0.3s; }
.feature-block p { transition: color 0.3s; }

.feature-block:hover { background-color: var(--accent-navy); }
.feature-block:hover .icon-box { background-color: var(--blue-600); color: white; }
.feature-block:hover h3 { color: white; }
.feature-block:hover p { color: rgba(255,255,255,0.8); }

/* Why Choose Us */
.list-grid { gap: 32px; }
.list-item { display: flex; gap: 16px; align-items: flex-start; }
.list-item h5 { font-family: var(--font-geist); font-size: 14px; margin-bottom: 4px; }
.list-item p { font-size: 14px; color: var(--secondary); }

/* Stats (Dark) */
.impact-stat .stat-number { font-size: 64px; font-weight: 700; margin-bottom: 16px; }
.impact-stat .stat-label { font-family: var(--font-geist); font-size: 14px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.impact-stat p { color: rgba(255,255,255,0.4); font-size: 14px; }

/* Process */
.process-wrapper { position: relative; }
.process-line { display: none; position: absolute; top: 24px; left: 0; width: 100%; height: 1px; background: rgba(198, 198, 205, 0.3); }
@media (min-width: 1024px) { .process-line { display: block; } }
.process-step { background: white; z-index: 10; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 1024px) { .process-step { align-items: flex-start; text-align: left; } }
.step-number { width: 48px; height: 48px; background: var(--accent-navy); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 24px; transition: transform 0.3s; }
.process-step:hover .step-number { transform: scale(1.1); }
.process-step h4 { font-size: 24px; margin-bottom: 8px; }

/* Final CTA */
.cta-card { background: linear-gradient(to bottom right, #ffffff, #eff6ff); text-align: center; position: relative; overflow: hidden; }
.cta-bg-glow { position: absolute; top: -48px; right: -48px; width: 256px; height: 256px; background: var(--blue-100); border-radius: 50%; filter: blur(64px); opacity: 0.5; }
.cta-content { position: relative; z-index: 10; max-width: 672px; margin: 0 auto; }
.cta-content h2 { font-size: 40px; margin-bottom: 16px; }
@media (min-width: 768px) { .cta-content h2 { font-size: 64px; } }
.cta-content p { font-size: 18px; color: var(--secondary); margin-bottom: 24px; }

/* ================= Footer ================= */
.footer { background: var(--surface-container-lowest); border-top: 1px solid rgba(198, 198, 205, 0.2); padding-top: 80px; }
.footer-brand h3 { margin-bottom: 16px; }
.footer-brand p { color: var(--secondary); font-size: 16px; }
.footer-links h4, .footer-social h4 { font-family: var(--font-geist); font-size: 14px; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: var(--secondary); font-size: 16px; }
.footer-links a:hover { color: var(--primary); }
.footer-social p { color: var(--secondary); margin-bottom: 16px; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { width: 40px; height: 40px; background: var(--surface-container); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--secondary); transition: all 0.3s; }
.social-icons a:hover { background: var(--blue-100); color: var(--blue-600); transform: translateY(-4px); }
.footer-bottom { margin-top: 80px; padding: 48px 0 24px; border-top: 1px solid rgba(198, 198, 205, 0.1); text-align: center; color: var(--secondary); font-size: 16px; opacity: 0.6; }

/* ================= Scroll Animations ================= */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   1. إصلاح صفحة About (تظبط الصورة جنب الكلام)
   ========================================= */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================
   2. إصلاح شكل الخط تحت كلمة About في القائمة
   ========================================= */
.nav-links a {
    position: relative;
    padding-bottom: 4px;
    border-bottom: none !important; /* نلغي البوردر القديم */
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* =========================================
   3. استرجاع تنسيقات صفحة الـ Contact اللي اختفت
   ========================================= */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { 
    .form-grid { grid-template-columns: 1fr 1fr; } 
    .col-span-2 { grid-column: span 2; } 
}

.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label { 
    font-family: var(--font-geist); 
    font-size: 12px; 
    font-weight: 600; 
    color: var(--secondary); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
}
.input-group input, .input-group select, .input-group textarea { 
    width: 100%; 
    padding: 14px 16px; 
    border: 1px solid var(--outline-variant); 
    border-radius: 8px; 
    background: rgba(255, 255, 255, 0.5); 
    font-family: var(--font-inter); 
    font-size: 15px; 
    outline: none; 
    transition: all 0.3s ease; 
    color: var(--text-primary); 
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { 
    border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05); 
    background: #fff; 
}

.btn-submit { padding: 16px 32px; width: 100%; margin-top: 10px; }
@media (min-width: 640px) { .btn-submit { width: auto; } }

.office-card { 
    background: #fff; 
    border-radius: 16px; 
    border: 1px solid rgba(226, 232, 240, 0.8); 
    overflow: hidden; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
}
.office-header { 
    height: 200px; 
    background-color: var(--accent-navy); 
    position: relative; 
    padding: 24px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    color: #fff; 
}
.office-header h3 { font-size: 24px; font-weight: 600; z-index: 2; color: #fff; }
.office-header p { font-family: var(--font-geist); font-size: 13px; opacity: 0.8; z-index: 2; color: #fff;}
.office-header::after { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); 
    z-index: 1; 
}
.office-info { padding: 32px 24px; display: flex; flex-direction: column; gap: 24px; }
.info-row { display: flex; align-items: flex-start; gap: 16px; }
.info-row .icon-box { 
    background: var(--surface-container-low); 
    padding: 12px; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary); 
}
.info-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text-primary); }
.info-text p { font-size: 14px; color: var(--secondary); }


/* تعديل الكروت داخل سكشن Why Us فقط لتظهر باللون الرمادي المتناسق */
.why-us .glass-card {
    background: rgba(200, 200, 200, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* التأكد من أن النصوص داخل هذه الكروت تظهر بشكل جيد */
.why-us .glass-card h3 {
    color: #ffffff !important;
}

.why-us .glass-card p {
    color: #d1d5db !important; /* لون رمادي فاتح مريح للعين */
}

/* تنسيق الزرار ليكون احترافي ومتناسق */
.btn-navy {
    background-color: var(--accent-navy);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 8px; /* حواف دائرية أنيقة */
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
    border: 1px solid transparent;
}

/* تنسيق الزرار الاحترافي للهيدر */
.btn-navy {
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* تنسيق السهم داخل الزرار */
.btn-navy .material-symbols-outlined {
    font-size: 18px;
    color: #ffffff !important;
}

/* ===================================== case studies page ======================== */

/* تنسيق الكروت */
.glass-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* تنسيق النافذة المنبثقة */
#detailsModal {
    display: none; /* مخفي افتراضياً */
}

#detailsModal.flex {
    display: flex; /* يظهر عند إضافة كلاس flex */
}



/*phone menu icon*/

/* التنسيق الافتراضي للشاشات الكبيرة (إخفاء زر القائمة) */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    user-select: none;
}

/* إخفاء علامة X افتراضياً */
.menu-toggle .icon-close {
    display: none;
}

/* التنسيق الخاص بالشاشات الصغيرة (الهواتف) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* إظهار زر القائمة في الفون */
    }

    /* عندما يتم الضغط على الـ Checkbox (تغيير الأيقونات) */
    .menu-checkbox:checked ~ .menu-toggle .icon-open {
        display: none; /* إخفاء علامة الـ ☰ */
    }
    
    .menu-checkbox:checked ~ .menu-toggle .icon-close {
        display: inline-block; /* إظهار علامة الـ X */
    }

    /* التحكم في ظهور وإخفاء القائمة نفسها */
    .nav-links {
        display: none; /* إخفاء القائمة افتراضياً في الفون */
        position: absolute;
        top: 100%; /* تظهر أسفل الهيدر مباشرة */
        left: 0;
        width: 100%;
        background-color: #fff; /* غير اللون حسب هيدر موقعك */
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    /* عندما يتم الضغط على الـ Checkbox (إظهار القائمة) */
    .menu-checkbox:checked ~ .nav-links {
        display: flex; /* إظهار القائمة */
    }
}



/* التحكم في حجم صورة اللوجو */
.logo-img {
    max-height: 170px; /* يمكنك تكبير أو تصغير هذا الرقم حسب شكل اللوجو الخاص بك */
    width: auto;      /* للحفاظ على أبعاد الصورة بدون تشوه */
    object-fit: contain;
}


/* ================================================== Case Studies Page ========================================================== */

/* ==================== ألوان إضافية لصفحة Success Stories ==================== */
:root {
    --electric-blue: #3B82F6;
    --brand-navy: #0F172A;
}

.text-electric {
    color: var(--electric-blue);
}

.bg-white { background-color: #ffffff; }

/* ==================== Utilities (فئات مساعدة) ==================== */
.section-padding { padding: 80px 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }

.badge {
    background: var(--primary-fixed);
    color: var(--primary-container);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.display-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .display-title { font-size: 40px; }
}

/* ==================== Case Studies Cards ==================== */
.case-card {
    background: #ffffff;
    border: 1px solid var(--outline-variant);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-img-wrapper {
    height: 200px;
    background: var(--brand-navy);
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s ease;
}

.case-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 { font-size: 20px; margin-bottom: 8px; }
.card-body p { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }

.card-footer { margin-top: auto; }
.card-footer .metric { color: var(--electric-blue); font-size: 28px; font-weight: 700; margin-bottom: 16px; }

.btn-outline {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--outline-variant);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-outline:hover { background: var(--surface-container-low); }

/* ==================== Social Proof Logos ==================== */
/* ==================== Social Proof Text (Marquee Animation) ==================== */
.logo-cloud-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

/* التدرج لاختفاء الكلام من الجوانب */
.logo-cloud-wrapper::before,
.logo-cloud-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-cloud-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.logo-cloud-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.logo-cloud-track {
    display: flex;
    align-items: center;
    gap: 40px; /* المسافة بين الأسماء */
    width: max-content;
    animation: scroll-left-to-right 25s linear infinite; /* وقت الحركة */
}

.logo-cloud-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left-to-right {
    0% { transform: translateX(-33.33%); }
    100% { transform: translateX(0%); }
}

/* تنسيق الكلام نفسه */
.partner-text {
    font-size: 22px; /* حجم الخط كبير وواضح */
    font-weight: 700;
    color: var(--secondary); /* اللون الرمادي */
    white-space: nowrap;
    text-transform: uppercase; /* الحروف كلها كابيتال لشكل احترافي */
    letter-spacing: 1px;
    transition: color 0.3s ease;
    cursor: default;
}

/* تغيير لون النص للأسود عند وقوف الماوس عليه */
.partner-text:hover {
    color: var(--primary);
}
/* ==================== Wall of Proof (Masonry Grid) ==================== */
.masonry-grid {
    column-count: 3;
    column-gap: 24px;
}

@media (max-width: 992px) { .masonry-grid { column-count: 2; } }
@media (max-width: 600px) { .masonry-grid { column-count: 1; } }

.proof-card {
    break-inside: avoid;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    padding: 16px;
    border-radius: 16px;
}

.proof-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
}

.proof-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* ==================== Final CTA Section ==================== */
.cta-box {
    background: var(--brand-navy);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.btn-electric {
    background: var(--electric-blue);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: filter 0.3s;
}

.btn-electric:hover { filter: brightness(1.1); }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }



/* رفع جزء اللوجو والفقرة للأعلى */
.footer-brand {
    margin-top: -55px; /* جرب -15px، ولو حابب ترفع أكتر زود الرقم لـ -20px أو -25px */
}






/* تنسيق الـ CTA Box الأساسي */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background-color: #0f172a; /* لون داكن شيك */
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    color: #ffffff; /* جعل كل النص داخل البوكس أبيض */
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: #ffffff; /* عنوان أبيض */
    margin-bottom: 16px;
    font-size: 40px;
}

.cta-box p {
    color: #94a3b8; /* لون رمادي فاتح للنص */
    margin-bottom: 32px;
    font-size: 18px;
}

/* تنسيق الأزرار داخل الـ CTA */
.cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* عشان ينزلوا تحت بعض بشكل متناسق في شاشات الموبايل */
}

/* توحيد مقاس الزرارين بالظبط ومنع تكسير الكلام */
.cta-buttons a.btn {
    width: 280px !important; /* عرض ثابت يكفي الجملة الطويلة */
    height: 56px !important; /* ارتفاع ثابت للزرارين */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap; /* السر هنا: بيمنع الكلام إنه ينزل على سطرين نهائياً */
    padding: 0 20px;
    flex: 0 0 auto; /* بيمنع زرار الـ Case Studies إنه يفرش بعرض الشاشة */
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

/* تعديل لون زر الـ Outline ليكون أبيض وشفاف ليتناسب مع الخلفية */
.cta-box .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-box .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* تنسيق صف اللوجوهات */
.logos-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: #475569; /* لون رمادي للأسماء */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0.7;
}



/* تحديد اللون الأسود للعنوان الأساسي */
.hero-text h1 {
    color: #0F172A; /* لون أسود قوي واحترافي */
    /* تأكد من إضافة حجم الخط والمسافات الخاصة بك هنا إن وُجدت */
}

/* لو كلاس text-gradient محتاج تظبيط عشان اللون الأزرق يبان */
.hero-text h1 .text-gradient {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%); /* تدرج لوني أزرق */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/*================ تنسيق النافذة المنبثقة =========================*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6); /* خلفية غامقة وشفافة */
    backdrop-filter: blur(6px); /* تأثير بلور احترافي للخلفية */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* عشان يكون فوق أي حاجة في الصفحة */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* الكلاس اللي هيشغل النافذة */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* المربع الأبيض اللي جواه الكلام */
.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* زرار الإغلاق (X) */
.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #0f172a;
}


/* تنسيق زرار الواتساب الأساسي */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    z-index: 10000; /* عشان يفضل فوق كل العناصر */
    width: 60px;
    height: 60px;
    background-color: #25D366; /* لون الواتساب الأصلي */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* تأثير عند مرور الماوس (Hover) */
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px); /* بيكبر ويطلع لفوق سنة بسيطة */
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
}

/* 
===========================================
التحكم في مكان الأيقونة (يمين للإنجليزي / شمال للعربي)
===========================================
*/

/* الوضع الافتراضي (إنجليزي) - على اليمين */
html[dir="ltr"] .whatsapp-float,
.whatsapp-float {
    right: 30px;
    left: auto;
}

/* الوضع العربي - على الشمال */
html[dir="rtl"] .whatsapp-float {
    left: 30px;
    right: auto;
}

/* تنسيق زرار تغيير اللغة */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #0F172A; /* نفس لون الروابط في الهيدر */
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
    font-family: var(--font-geist), sans-serif; /* استخدام خط الموقع */
}

/* تأثير عند مرور الماوس (Hover) */
.lang-switch:hover {
    background: rgba(15, 23, 42, 0.05); /* خلفية رمادية خفيفة جداً */
    color: #2563EB; /* تغيير اللون للأزرق المميز للموقع */
}

/* تظبيط مقاس الأيقونة */
.lang-switch .material-symbols-outlined {
    font-size: 20px;
}

/* في شاشات الموبايل (لو القائمة بتنزل تحت بعض) */
@media (max-width: 768px) {
    .lang-switch {
        justify-content: flex-start;
        padding: 12px 0;
    }
}


.logo-cloud-wrapper{
    direction: ltr;
}

.logo-cloud-track{
    direction: ltr;
}