/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-color: #374151;
    --border-color: #e5e7eb;
    --about-gap: 2px;
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff !important;
}

/* Navigation */
.navbar,
.navbar.bg-white,
.navbar.fixed-top,
.navbar.shadow-sm {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid #f0f0f0;
    background: #fff !important;
    box-shadow: none !important;
}

.navbar-brand {
  position: static !important;
  height: auto !important;
  width: auto !important;
  top: unset !important;
  right: unset !important;
  bottom: unset !important;
  left: unset !important;
  max-width: 100% !important;
  overflow: visible !important;
  max-height: 100% !important;
}

.navbar-brand img {
    margin: 0 !important;
}

.navbar .fs-4 {
    font-weight: 700;
    color: #111;
}

.navbar-nav .nav-link {
    color: #888 !important;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 0.2rem 0.7rem;
    background: none !important;
    border: none !important;
    transition: color 0.2s;
    position: relative;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus {
    color: #111 !important;
    font-weight: bold !important;
}

.navbar-nav .nav-link:hover {
    color: #18864b !important;
}

.contact-btn {
    background: #1dbf73 !important;
    border: none;
    border-radius: 24px;
    font-size: 1.1rem;
    min-width: 140px;
    box-shadow: 0 2px 8px #1dbf7322;
    margin-inline-end: 32px !important;
}

.contact-btn:hover {
    background: #159c5b !important;
}

.lang-btn {
    font-weight: 800 !important;
    color: #111 !important;
    font-size: 1.1rem !important;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

/* Hero Section */
.hero-section,
.hero-section.bg-white {
    background: #fff !important;
    box-shadow: none !important;
}

.hero-section::before {
    display: none !important;
}

.hero-section h1,
.hero-title {
    color: #111 !important;
    font-weight: 900 !important;
    font-size: 4.3rem !important;
    line-height: 1.1 !important;
    letter-spacing: -1px;
}

.coding-hands-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.hand-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.hand-card:hover {
    transform: translateY(-5px);
}

.hand-card i {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.hand-card span {
    color: white;
    font-weight: 600;
}

/* Mission & Vision */
.workspace-gallery {
    padding: 2rem 0;
}

.workspace-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.workspace-card:hover {
    transform: translateY(-5px);
}

.workspace-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Monthly Impact */
.impact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.impact-icon i {
    font-size: 2rem;
    color: white;
}

.impact-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.monthly-impact-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2.2rem;
}
.impact-highlight {
    color: #E53935;
    font-weight: 800;
}
.monthly-impact-box {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}
.monthly-impact-bg {
    background: #fff url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="16" fill="%23f9dede"/><circle cx="90%25" cy="30" r="16" fill="%23f9dede"/><circle cx="20%25" cy="90%25" r="16" fill="%23f9dede"/><circle cx="80%25" cy="80%25" r="16" fill="%23f9dede"/><circle cx="50%25" cy="50%25" r="16" fill="%23f9dede"/></svg>') repeat;
    background-size: auto;
}
.monthly-impact-col {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.monthly-impact-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0.5rem;
    margin-bottom: 0;
}
.monthly-impact-icon {
    width: 54px;
    height: 54px;
    background: #10b98122;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.7rem auto;
    font-size: 2rem;
    color: #10b981;
}
.monthly-impact-number {
    font-size: 2.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.2rem;
}
.monthly-impact-label {
    font-size: 1.05rem;
    color: #444;
    font-weight: 500;
    margin-top: 0.2rem;
    line-height: 1.3;
}
@media (max-width: 991px) {
    .monthly-impact-title { font-size: 1.3rem; }
    .monthly-impact-box { padding: 1.2rem 0.5rem; }
    .monthly-impact-number { font-size: 1.3rem; }
    .monthly-impact-label { font-size: 0.95rem; }
}
@media (max-width: 767px) {
    .monthly-impact-box { padding: 0.7rem 0.2rem; }
    .monthly-impact-title { font-size: 1.1rem; }
    .monthly-impact-number { font-size: 1.1rem; }
    .monthly-impact-label { font-size: 0.85rem; }
}

/* Storytelling Block */
.story-image {
    padding: 2rem;
}

.tech-youth {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.tech-youth i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Pillars of Impact */
.pillar-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: white;
}

.pillar-icon.electricity {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.pillar-icon.internet {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.pillar-icon.income {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pillar-icon.community {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Testimonial */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.testimonial-icon i {
    font-size: 2rem;
    color: white;
}

.testimonial-author h5 {
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.contact-hero h1 {
    color: white !important;
}

.team-collage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.team-member i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.workspace-photo {
    margin-bottom: 1rem;
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: white;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card a {
    color: var(--primary-color);
}

/* Buttons */
.btn,
.btn-success,
.btn-outline-success {
    box-shadow: none !important;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, var(--primary-color));
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, var(--secondary-color));
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .coding-hands-collage {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hand-card {
        padding: 1.5rem;
    }
    
    .impact-card h3 {
        font-size: 2rem;
    }
    
    .pillar-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 90px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Logo and Navbar Custom --- */
.logo-text {
    margin: 0 !important;
}

/* LTR: الشعار يسار */
html[dir="ltr"] .navbar .container {
    flex-direction: row;
}
html[dir="ltr"] .navbar-brand {
    padding-left: 0 !important;
    margin-left: 64px !important;
}
html[dir="ltr"] .navbar-nav {
    margin-left: auto !important;
    margin-right: 0 !important;
}
html[dir="ltr"] .navbar .dropdown,
html[dir="ltr"] .navbar .btn-success {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

/* RTL: الشعار يمين */
html[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}
html[dir="rtl"] .navbar-brand {
    padding-right: 0 !important;
    margin-right: 0 !important;
}
html[dir="rtl"] .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}
html[dir="rtl"] .navbar .dropdown,
html[dir="rtl"] .navbar .btn-success {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

/* ترتيب عناصر القائمة حسب اللغة */
html[dir="ltr"] .navbar-nav {
    flex-direction: row;
}
html[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

/* --- Hero Section Custom --- */
.hero-section.bg-white {
    background: #fff !important;
}
.hero-section h1.display-2 {
    font-family: 'Cairo', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #111 !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero-section h1 span {
    color: #E53935 !important;
    font-weight: 800;
}
.hero-main-img {
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    max-width: 95%;
}
@media (max-width: 991px) {
    .logo-text {
        font-size: 1.3rem !important;
    }
    .hero-section h1.display-2 {
        font-size: 2.2rem;
    }
    .hero-main-img {
        max-width: 100%;
    }
}

/* Dropdown language button */
.navbar .dropdown-toggle {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* --- Hero Section Text --- */
.hero-section .btn {
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.8rem 2.2rem;
}
.hero-section .btn-success {
    background: #18864b !important;
    border-color: #18864b !important;
    color: #fff !important;
}
.hero-section .btn-success:hover {
    background: #106c3c !important;
    border-color: #106c3c !important;
}
.hero-section .btn-outline-success {
    border-color: #18864b !important;
    color: #18864b !important;
    background: #fff !important;
}
.hero-section .btn-outline-success:hover {
    background: #18864b !important;
    color: #fff !important;
}

/* --- Navbar Flex Layout --- */
.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
}

.navbar-brand-group {
    display: flex;
    align-items: center;
    gap: 9.3rem;
    min-width: 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    margin: 0;
}
.logo-text {
    font-family: 'Cairo', sans-serif;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #111 !important;
    letter-spacing: -1px;
    margin: 0 !important;
}

/* القائمة في المنتصف فعليًا */
.main-nav-list {
    flex: 1 1 auto;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2.2rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

/* زر الاتصال وقائمة اللغة في أقصى اليمين */
.navbar .d-flex.align-items-center.gap-2 {
    min-width: 220px;
    justify-content: flex-end;
    gap: 1.2rem !important;
}

/* تصغير حجم زر اللغة */
.lang-btn {
    min-width: 48px;
    text-align: center;
    font-weight: bold;
    color: #222 !important;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

@media (max-width: 991px) {
    .logo-text {
        font-size: 1.3rem !important;
    }
    .main-nav-list {
        gap: 1rem !important;
    }
    .navbar .d-flex.align-items-center.gap-2 {
        min-width: 120px;
        gap: 0.5rem !important;
    }
}

/* إعادة النصوص داخل الروابط للاتجاه الصحيح */
.main-nav-list .nav-link {
    direction: ltr !important;
    text-align: left !important;
}

/* Hero Section: النص يسار والصورة يمين دائمًا */
.hero-section .row {
    flex-direction: row-reverse !important;
}
.hero-section .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-section .col-lg-6.text-end {
    align-items: flex-start !important;
    text-align: left !important;
}
.hero-section .col-lg-6.text-center {
    align-items: center !important;
    justify-content: center !important;
}
.hero-main-img {
    display: block;
    margin: 0 auto;
    max-width: 95%;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
@media (max-width: 991px) {
    .hero-section .row {
        flex-direction: column !important;
    }
    .hero-section .col-lg-6.text-end {
        align-items: center !important;
        text-align: center !important;
    }
}

/* نص الهيرو كبير جدًا وجميل */
.hero-title {
    font-size: 4.5rem !important;
    font-weight: 900 !important;
    color: #000 !important;
    line-height: 1.08 !important;
    letter-spacing: -2px;
    margin-bottom: 2.5rem !important;
}
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem !important;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem !important;
    }
}

/* أزرار الهيرو مرتبة وجميلة */
.hero-btns {
    gap: 2.5rem !important;
    justify-content: flex-start !important;
    align-items: center !important;
}
@media (min-width: 992px) {
    .hero-btns {
        flex-direction: row !important;
    }
    .hero-btns .btn.order-1 {
        order: 1;
    }
    .hero-btns .btn.order-2 {
        order: 2;
    }
}
@media (max-width: 991px) {
    .hero-btns {
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: stretch !important;
    }
}

/* تأكيد أن كل النص داخل الهيرو أسود صريح */
.hero-title, .hero-title *, .hero-title strong, .hero-title b {
    color: #000 !important;
    font-weight: 900 !important;
}
.hero-title span {
    color: #E53935 !important;
    font-weight: 900 !important;
}

/* رفع الهيرو للأعلى وتقليل المسافة العلوية */
.hero-custom-section {
    padding-top: 120px !important;
    padding-bottom: 0 !important;
}

/* تقليل ارتفاع الهيرو قليلاً */
.min-vh-80 {
    min-height: 80vh !important;
}

/* مسافة أفقية بين النص والصورة */
.hero-row-gap {
    column-gap: 3.5rem !important;
}
@media (max-width: 991px) {
    .hero-row-gap {
        column-gap: 0 !important;
        row-gap: 2rem !important;
    }
}

/* الأعمدة بجانب بعض دائمًا من md وأعلى */
@media (min-width: 768px) {
    .hero-section .row.hero-row-gap {
        flex-wrap: nowrap !important;
    }
    .hero-section .col-lg-6 {
        min-width: 0;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* About Section Custom Styles */
#about .col-lg-6 > .d-flex {
    width: 100%;
}
#about img {
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
#about .d-flex.gap-3 {
    gap: 1.2rem !important;
}
#about .mb-lg-4 {
    margin-bottom: 1.7rem !important;
}
#about h2 span {
    color: #E53935 !important;
    font-weight: 900;
}
#about h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    color: #222;
    font-weight: 800;
}
#about p {
    color: #444;
    font-size: 1.13rem;
    max-width: 520px;
}
#about .btn-outline-success {
    border-width: 2px;
    font-weight: 600;
    border-radius: 10px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    transition: background 0.2s, color 0.2s;
}
#about .btn-outline-success:hover {
    background: #10b981;
    color: #fff !important;
    border-color: #10b981;
}
@media (max-width: 991px) {
    #about .col-lg-6.mb-4 {
        margin-bottom: 0 !important;
    }
    #about .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    #about .d-flex.flex-column {
        align-items: center !important;
    }
    #about img {
        max-width: 100% !important;
    }
}
#about .about-images-group {
    width: 490px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
#about .about-images-group img {
    border-radius: 16px;
    box-shadow: 0 4px 34px rgba(0,0,0,0.07);
    object-fit: cover;
}
#about .about-images-group .about-main-img {
    width: 100%;
    height: 190px;
}
#about .about-images-row {
    display: flex;
    gap: 18px;
}
#about .about-images-row img {
    width: 50%;
    height: 180px;
}
#about .about-content {
    max-width: 520px;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}
#about .row.align-items-center.justify-content-between.g-5.flex-row {
    gap: var(--about-gap) !important;
}
#about .about-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #222;
    line-height: 1.18;
    margin-bottom: 0.7rem;
}
#about .about-title .about-title-highlight {
    color: #E53935;
    font-weight: 900;
}
#about .about-text {
    font-size: 1.08rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 0.7rem;
}
#about .about-btn {
    border-radius: 12px;
    border: 2.5px solid #10b981;
    color: #10b981;
    background: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 14px 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}
#about .about-btn:hover, #about .about-btn:focus {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
    text-decoration: none;
}
#about .about-btn i {
    font-size: 1.1em;
    margin-left: 4px;
    color: inherit;
    transition: color 0.2s;
}
@media (max-width: 991px) {
    #about .about-images-group {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    #about .about-content {
        margin-left: 0;
        max-width: 100%;
    }
    #about .about-images-row {
        gap: 10px;
    }
    #about .about-images-group .about-main-img {
        height: 140px;
    }
    #about .about-images-row img {
        height: 80px;
    }
}
@media (max-width: 767px) {
    #about .about-images-group {
        width: 100%;
        gap: 10px;
    }
    #about .about-content {
        gap: 14px;
    }
    #about .about-title {
        font-size: 1.3rem;
    }
}

/* About Section Figma Accurate */
#about.about-us {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 150px;
    box-sizing: border-box;
    text-align: left;
    font-size: 40px;
    color: #2a2a2a;
    font-family: Inter, 'Cairo', sans-serif;
    gap: 40px;
}
#about .about-us1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 27px;
}
#about .image {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 29px;
}
#about .about-us-child {
    width: 502px;
    position: relative;
    border-radius: 16px;
    height: 314px;
    object-fit: cover;
}
#about .image-child {
    width: 208px;
    position: relative;
    border-radius: 16px;
    height: 329px;
    object-fit: cover;
}
#about .image-item {
    width: 268px;
    position: relative;
    border-radius: 16px;
    height: 317px;
    object-fit: cover;
}
#about .right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
}
#about .reviving-gazas-talent-container1 {
    width: 100%;
}
#about .reviving-gazas-talent-container {
    width: 545px;
    position: relative;
    line-height: 48px;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 40px;
    color: #2a2a2a;
    font-family: Inter, 'Cairo', sans-serif;
}
#about .gazas-talent {
    color: #d40c0c;
}
#about .we-are-building {
    width: 595px;
    position: relative;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    font-family: Montserrat, 'Cairo', sans-serif;
    color: #5a5a5a;
    text-align: justify;
    display: flex;
    align-items: center;
}
#about .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
}
#about .contact-us {
    position: relative;
    line-height: 24px;
    font-weight: 500;
}
#about .angle-right-icon {
    width: 24px;
    position: relative;
    height: 24px;
}
#about .button {
    border-radius: 12px;
    border: 3px solid #007b3f;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    gap: 8px;
    text-align: center;
    font-size: 16px;
    color: #007b3f;
    font-family: Montserrat, 'Cairo', sans-serif;
    background: #fff;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
#about .button:hover {
    background: #007b3f;
    color: #fff;
}
@media (max-width: 1200px) {
    #about.about-us {
        padding: 50px 30px;
        gap: 24px;
    }
    #about .about-us-child { width: 350px; height: 220px; }
    #about .image-child { width: 140px; height: 220px; }
    #about .image-item { width: 180px; height: 210px; }
    #about .reviving-gazas-talent-container { font-size: 28px; line-height: 36px; width: 100%; }
    #about .we-are-building { font-size: 15px; width: 100%; }
    #about .container { gap: 24px; font-size: 28px; }
}
@media (max-width: 991px) {
    #about.about-us {
        flex-direction: column;
        padding: 30px 10px;
        gap: 20px;
    }
    #about .about-us-child, #about .image-child, #about .image-item {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    #about .image { flex-direction: column; gap: 16px; }
    #about .reviving-gazas-talent-container, #about .we-are-building { width: 100%; }
    #about .right { gap: 20px; }
}

.desk-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #111;
    line-height: 1.18;
    margin-bottom: 1.1rem;
}
.desk-title-highlight {
    color: #E53935;
    font-weight: 900;
}
.desk-text {
    font-size: 1.13rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    max-width: 520px;
}
.desk-btn {
    border-radius: 10px;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 12px 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}
.desk-img-main {
    position: relative;
    width: 450px;
    height: 460px;
    max-width: 150%;
}
.desk-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.desk-img-overlay {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    border: 3px solid #fff;
}
.desk-icons-row {
    margin-top: 3.5rem !important;
}
.desk-icon {
    width: 54px;
    height: 54px;
    background: #10b98122;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.7rem auto;
    font-size: 2rem;
    color: #10b981;
}
.desk-icon-title {
    font-size: 1.13rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.2rem;
}
.desk-icon-desc {
    font-size: 0.98rem;
    color: #444;
    font-weight: 500;
    margin-top: 0.2rem;
    line-height: 1.3;
}
@media (max-width: 991px) {
    .desk-title { font-size: 1.3rem; }
    .desk-img-main { width: 220px; height: 180px; }
    .desk-img-overlay { width: 90px; height: 70px; bottom: -18px; right: -18px; }
    .desk-icons-row { margin-top: 2rem !important; }
}
@media (max-width: 767px) {
    .desk-title { font-size: 1.1rem; }
    .desk-img-main { width: 100%; height: auto; }
    .desk-img-overlay { width: 60px; height: 40px; bottom: -8px; right: -8px; }
    .desk-icons-row { margin-top: 1.2rem !important; }
}

html[dir='rtl'] .hero-title span {
    margin: 0 0.18em;
    letter-spacing: 0.04em;
    padding-left: 0.08em;
    padding-right: 0.08em;
    display: inline-block;
}

@media (max-width: 767px) {
    /* Navbar: تكديس العناصر عموديًا */
    #navbar-main-container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 16px !important;
        width: 100% !important;
        height: 54px !important;
    }
    #navbar-logo {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        order: 1 !important;
        height: 40px !important;
    }
    #navbar-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        order: 2 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        height: 40px !important;
    }
    .main-nav-list {
        flex-direction: row !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }
    .logo-text {
        font-size: 1.1rem !important;
    }
    .navbar .d-flex.align-items-center.gap-2 {
        min-width: unset;
        justify-content: center !important;
    }
    /* Hero & About & Contact: الصورة والنص فوق بعض */
    .hero-section .row,
    #about .row.align-items-center,
    #contact-intro-row {
        flex-direction: column !important;
        gap: 1.2rem !important;
    }
    .hero-main-img,
    #about .about-main-img,
    .desk-main-img,
    .contact-hero-img img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 18px !important;
    }
    .hero-title, .about-title, .desk-title {
        font-size: 1.2rem !important;
        text-align: center !important;
    }
    .about-content, #contact-intro-text-col {
        align-items: center !important;
        text-align: center !important;
    }
    /* Footer: تكديس الأعمدة عموديًا */
    #footer-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }
    #footer-logo-info, #footer-quick-links, #footer-get-in-touch {
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    #footer-logo-info .d-flex {
        justify-content: center !important;
    }
    #footer-logo-info .d-flex img {
        margin: 0 8px !important;
    }
    /* Social icons center in footer */
    #footer-logo-info .d-flex.gap-4 {
        justify-content: center !important;
        margin-top: 12px !important;
    }
    /* Reduce padding for sections */
    section, .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    /* Contact Info section: تكديس العناصر */
    .row.justify-content-center.text-center.g-5 > div[class^='col-'] {
        margin-bottom: 1.2rem !important;
    }
    /* تصغير الأزرار */
    .btn, .btn-success, .btn-outline-success {
        font-size: 1rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    /* تصغير الفونتات العامة */
    body, p, .desk-icon-title, .desk-icon-desc, .impact-label, .about-text, .contact-card, .monthly-impact-label {
        font-size: 0.98rem !important;
    }
}

/* Navbar RTL/LTR direction fixes */
html[dir="rtl"] .navbar {
  direction: rtl;
}
html[dir="rtl"] .navbar .navbar-brand {
  margin-left: 0 !important;
  margin-right: 16px !important;
}
html[dir="rtl"] .navbar .main-nav-list {
  text-align: right;
}
html[dir="rtl"] .navbar .nav-link {
  text-align: right;
}
html[dir="rtl"] #navbar-actions-col {
  margin-left: 0 !important;
  margin-right: 24px !important;
}

html[dir="ltr"] .navbar .navbar-brand {
  margin-right: 0 !important;
  margin-left: 64px !important;
}
html[dir="ltr"] .navbar .main-nav-list {
  text-align: left;
}
html[dir="ltr"] .navbar .nav-link {
  text-align: left;
}
html[dir="ltr"] #navbar-actions-col {
  margin-right: 0 !important;
  margin-left: 24px !important;
}

/* Navbar link and button tweaks */
.navbar .nav-link {
  font-weight: 500;
  font-size: 1.08rem;
  color: #222 !important;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.navbar .nav-link.active, .navbar .nav-link.fw-bold {
  font-weight: bold !important;
  color: #198754 !important;
  background: none !important;
  text-decoration: none !important;
}
.navbar .nav-link:hover {
  background: #f2f2f2;
  color: #198754 !important;
}

.navbar .contact-btn {
  font-weight: bold;
  border-radius: 8px;
  box-shadow: none;
  transition: background 0.15s, color 0.15s;
}
.navbar .contact-btn:hover {
  background: #157347 !important;
  color: #fff !important;
}

/* Dropdown language button */
.lang-btn {
  min-width: 48px;
  text-align: center;
  font-weight: bold;
  color: #222 !important;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .navbar .main-nav-list {
    text-align: inherit;
    width: 100%;
  }
  .navbar .nav-link {
    padding: 0.7rem 1.2rem;
    font-size: 1.08rem;
  }
  .navbar .contact-btn {
    padding: 0.5rem 1.1rem;
    font-size: 1rem;
  }
}

/* === Navbar Responsive Mobile Layout === */
@media (max-width: 991.98px) {
  #navbar-main-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 10px !important;
    min-height: 60px;
    gap: 0;
  }
  .navbar-brand {
    order: 1;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    padding: 0 !important;
    min-width: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .contact-btn {
    order: 2;
    margin: 0 0 0 6px !important;
    min-width: 110px;
    font-size: 1rem;
    padding: 6px 16px !important;
    border-radius: 18px !important;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
  }
  .lang-switcher, .dropdown {
    order: 3;
    margin: 0 0 0 8px !important;
    font-size: 1rem !important;
    min-width: 48px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .navbar-toggler {
    order: 4;
    margin: 0 0 0 4px !important;
    font-size: 1.5rem !important;
    background: none;
    border: none;
    box-shadow: none;
    color: #18864b;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  /* RTL: عكس ترتيب العناصر */
  html[dir="rtl"] #navbar-main-container {
    flex-direction: row-reverse;
  }
  html[dir="rtl"] .navbar-brand {
    order: 1;
  }
  html[dir="rtl"] .contact-btn {
    order: 2;
    margin: 0 6px 0 0 !important;
  }
  html[dir="rtl"] .lang-switcher, html[dir="rtl"] .dropdown {
    order: 3;
    margin: 0 8px 0 0 !important;
  }
  html[dir="rtl"] .navbar-toggler {
    order: 4;
    margin: 0 4px 0 0 !important;
  }
  /* إخفاء زر Contact Us على الموبايل إذا لم يكن في التصميم */
  .contact-btn.d-lg-block { display: none !important; }
}

/* === Navbar Desktop Layout === */
@media (min-width: 992px) {
  #navbar-main-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    padding-left: 64px !important;
    padding-right: 64px !important;
    gap: 0 !important;
    width: 100% !important;
  }
  .navbar-brand {
    order: 1;
    min-width: 220px;
    max-width: 260px;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .main-nav-list {
    order: 2;
    display: flex !important;
    flex-direction: row;
    justify-content: center !important;
    align-items: center !important;
    gap: 2.5rem;
    margin: 0 auto !important;
    padding: 0;
    list-style: none;
    min-width: 420px;
    max-width: 600px;
  }
  #navbar-actions {
    order: 3;
    display: flex !important;
    align-items: center;
    gap: 20px;
    min-width: 220px;
    justify-content: flex-end;
    margin: 0 !important;
  }
  html[dir='rtl'] #navbar-main-container {
    flex-direction: row-reverse !important;
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
  html[dir='rtl'] .navbar-brand {
    order: 3;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: flex-end;
  }
  html[dir='rtl'] .main-nav-list {
    order: 2;
    flex-direction: row-reverse !important;
    justify-content: center !important;
  }
  html[dir='rtl'] #navbar-actions {
    order: 1;
    justify-content: flex-start !important;
  }
}

/* الشعار بدون خلفية أو زر حوله */
.navbar-brand {
  background: none !important;
  box-shadow: none !important;
}

/* === عناصر الشريط العامة === */
.navbar-brand img {
  height: 36px;
  width: auto;
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -1px;
}
.main-nav-list .nav-link {
  color: #888;
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 12px;
  transition: color 0.2s;
}
.main-nav-list .nav-link.active,
.main-nav-list .nav-link:focus {
  color: #111;
  font-weight: bold;
}
.contact-btn {
  background: #1dbf73 !important;
  border: none;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px #1dbf7322;
  transition: background 0.2s;
}
.contact-btn:hover {
  background: #159c5b !important;
}
.lang-switcher {
  background: #f5f5f5;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  color: #111;
  font-weight: 700;
  min-width: 48px;
  text-align: center;
}

/* === Hero Section Custom === */
.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 1rem;
}
.hero-title .highlight {
  color: #e63946;
  font-weight: bold;
}
.hero-btn {
  min-width: 180px;
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 24px;
  background: #1dbf73;
  color: #fff;
  border: none;
  font-weight: bold;
  box-shadow: 0 2px 8px #1dbf7322;
}
.hero-btn:hover {
  background: #159c5b;
}
@media (max-width: 767.98px) {
  .hero-title, .hero-btn, .hero-img {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .hero-title {
    font-size: 2rem;
  }
}

/* Footer RTL support */
html[dir="rtl"] footer .footer-columns {
  flex-direction: row-reverse;
  text-align: right;
}
html[dir="rtl"] footer .footer-column {
  text-align: right;
}

/* إصلاح مشكلة التمدد الأفقي للصفحة */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
.navbar, .container-fluid, #navbar-main-container {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}
@media (max-width: 991.98px) {
  .navbar, .container-fluid, #navbar-main-container {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
}

/* جعل قائمة اللغات المنسدلة تظهر بشكل واضح وثابت بدون scroll */
.navbar .dropdown-menu {
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  min-width: 110px !important;
  max-width: 180px !important;
  width: fit-content !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin-top: 6px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  border: 1px solid #e0e0e0;
  padding: 0.3rem 0 !important;
  z-index: 99999;
  background: #fff !important;
}

.navbar .dropdown-item {
  font-weight: 500;
  font-size: 1rem;
  color: #222;
  padding: 0.5rem 1.2rem !important;
  background: none !important;
  border: none !important;
  white-space: nowrap;
  line-height: 1.6;
  transition: background 0.15s, color 0.15s;
  text-decoration: none !important;
  border-radius: 6px;
}

.navbar .dropdown-item:hover, .navbar .dropdown-item:focus {
  background: #f2f2f2 !important;
  color: #05984A !important;
}

#navbar-main-container {
  position: relative !important;
}

/* قائمة اللغات المنسدلة أسفل الزر فقط */
.navbar .dropdown-menu {
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  width: max-content !important;
  min-width: 90px !important;
  max-width: 180px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin-top: 6px !important;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border: 1px solid #e0e0e0;
  padding: 0.18rem 0;
  z-index: 99999;
  background: #fff;
}

@media (min-width: 992px) {
  .navbar, .container-fluid, #navbar-main-container {
    overflow: visible !important;
    min-width: unset !important;
    max-width: unset !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
  }
} 

/* ====== Navbar Custom Fixes for Figma-Like Look ====== */
#navbar-main-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  min-height: 72px;
}

#navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
}

.logo-text {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin: 0 0 0 8px !important;
  letter-spacing: -1px;
}

.main-nav-list {
  flex: 1 1 auto;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.main-nav-list .nav-link {
  color: #222 !important;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  background: none !important;
  border: none !important;
  transition: color 0.2s;
  position: relative;
}

.main-nav-list .nav-link.active, .main-nav-list .nav-link:focus {
  color: #111 !important;
  font-weight: bold !important;
}

.main-nav-list .nav-link:hover {
  color: #18864b !important;
}

#navbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1.2rem !important;
  margin: 0 !important;
}

.contact-btn {
  background: #059669 !important;
  color: #fff !important;
  border: none;
  border-radius: 12px !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  min-width: 180px !important;
  min-height: 48px !important;
  box-shadow: 0 2px 8px #05966922;
  margin-inline-end: 0 !important;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.contact-btn:hover {
  background: #047857 !important;
}

.lang-btn {
  font-weight: 800 !important;
  color: #111 !important;
  font-size: 1.1rem !important;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}

@media (max-width: 991px) {
  #navbar-main-container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .main-nav-list {
    gap: 1rem !important;
  }
  .contact-btn {
    min-width: 120px !important;
    min-height: 40px !important;
    font-size: 1rem !important;
  }
  .logo-text {
    font-size: 1.3rem !important;
  }
} 

/* ====== RTL Navbar Fixes ====== */
html[dir='rtl'] #navbar-main-container {
  flex-direction: row !important;
}
html[dir='rtl'] #navbar-logo {
  position: absolute;
  right: 0;
  left: auto;
  margin-right: 0 !important;
  margin-left: 0 !important;
  z-index: 2;
}
html[dir='rtl'] .main-nav-list,
html[dir='rtl'] #navbar-actions {
  position: relative;
}
html[dir='rtl'] .main-nav-list {
  justify-content: center !important;
  align-items: center !important;
  flex-direction: row !important;
} 

/* ====== RTL Navbar Order Fix (Final) ====== */
html[dir='rtl'] #navbar-logo {
  order: 1 !important;
}
html[dir='rtl'] .main-nav-list {
  order: 2 !important;
}
html[dir='rtl'] #navbar-actions {
  order: 3 !important;
} 

@media (max-width: 991.98px) {
  .navbar {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #navbar-main-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 56px !important;
    min-height: 56px !important;
    position: relative;
  }
  #navbar-logo {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    height: 40px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 4px !important;
  }
  .logo-text {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 0 0 6px !important;
    color: #111 !important;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: none !important;
  }
  #navbar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    height: 40px !important;
    flex: 0 0 auto !important;
    position: static !important;
  }
  .lang-btn, .dropdown {
    font-size: 0.98rem !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 4px !important;
  }
  .navbar-toggler {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    font-size: 1.6rem !important;
    background: #059669 !important;
    color: #fff !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 2px 8px #05966933 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    cursor: pointer !important;
    z-index: 1001 !important;
  }
  .navbar-toggler:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #05966955 !important;
  }
  html[dir='rtl'] .navbar-toggler {
    right: auto;
    left: 8px;
  }
  #navbar-logo, .logo-text {
    min-width: 0 !important;
    max-width: 100vw !important;
  }
  #navbar-links, .contact-btn {
    display: none !important;
  }
  .navbar-toggler {
    display: flex !important;
  }
  .navbar-collapse {
    margin-top: 12px;
    z-index: 10;
    text-align: center;
    display: none;
  }
  .navbar-collapse.show {
    display: block !important;
  }
  .navbar-collapse .navbar-nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.7rem !important;
  }
  .navbar-collapse #navbar-logo {
    display: none !important;
  }
  /* RTL: عكس الترتيب */
  html[dir='rtl'] #navbar-main-container {
    flex-direction: row-reverse !important;
  }
  html[dir='rtl'] #navbar-logo {
    order: 2 !important;
  }
  html[dir='rtl'] #navbar-actions {
    order: 1 !important;
  }
} 

@media (max-width: 991.98px) {
  .contact-btn.d-none.d-lg-block {
    display: none !important;
  }
  #navbar-logo {
    margin: 0 !important;
    flex: 0 0 auto !important;
    order: 1 !important;
  }
  #navbar-actions {
    order: 2 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
  }
}
@media (min-width: 992px) {
  .contact-btn.d-none.d-lg-block {
    display: inline-block !important;
  }
  .navbar-toggler {
    display: none !important;
  }
} 

@media (max-width: 400px) {
  .logo-text {
    font-size: 0.82rem !important;
    max-width: 80px !important;
  }
} 

@media (max-width: 991.98px) {
  #navbar-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2px !important;
    min-width: 0 !important;
    max-width: 60vw !important;
    flex: 1 1 auto !important;
  }
  #navbar-logo img {
    height: 32px !important;
    width: auto !important;
    margin: 0 !important;
    display: block !important;
  }
  .logo-text {
    font-size: 0.91rem !important;
    margin: 0 0 0 4px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    color: #111 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    text-align: start !important;
    line-height: 1.1;
    direction: inherit;
  }
  html[dir='rtl'] #navbar-logo {
    flex-direction: row-reverse !important;
  }
  html[dir='rtl'] .logo-text {
    margin: 0 4px 0 0 !important;
    text-align: right !important;
  }
  html[dir='ltr'] .logo-text {
    margin: 0 0 0 4px !important;
    text-align: left !important;
  }
} 

@media (max-width: 991.98px) {
  #navbar-main-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 8px !important;
    height: 54px !important;
    min-height: 54px !important;
    overflow-x: auto !important;
  }
  #navbar-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: visible !important;
  }
  #navbar-logo img {
    height: 32px !important;
    width: auto !important;
    margin: 0 !important;
    display: block !important;
  }
  .logo-text {
    font-size: 1.15rem !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    color: #111 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    text-align: start !important;
    line-height: 1.1;
    direction: inherit;
  }
  #navbar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    height: 40px !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: visible !important;
  }
  .lang-btn, .dropdown, .navbar-toggler {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  html[dir='rtl'] #navbar-main-container {
    flex-direction: row-reverse !important;
  }
  html[dir='rtl'] #navbar-logo {
    flex-direction: row-reverse !important;
  }
  html[dir='rtl'] .logo-text {
    text-align: right !important;
  }
  html[dir='ltr'] .logo-text {
    text-align: left !important;
  }
}
@media (max-width: 370px) {
  #navbar-actions {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  html[dir='rtl'] #navbar-logo {
    flex-direction: row-reverse !important;
  }
  html[dir='rtl'] .logo-text {
    text-align: right !important;
  }
  html[dir='ltr'] .logo-text {
    text-align: left !important;
  }
} 

@media (max-width: 991.98px) {
  html[dir='rtl'] #navbar-main-container {
    flex-direction: row-reverse !important;
  }
  html[dir='rtl'] #navbar-logo {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  html[dir='rtl'] .logo-text {
    margin: 0 8px 0 0 !important;
    text-align: right !important;
  }
} 

@media (min-width: 992px) {
  html[dir='ltr'] #navbar-main-container {
    flex-direction: row !important;
  }
  html[dir='ltr'] #navbar-logo {
    margin-left: 0 !important;
    margin-right: 48px !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
  }
  html[dir='rtl'] #navbar-main-container {
    flex-direction: row-reverse !important;
  }
  html[dir='rtl'] #navbar-logo {
    margin-right: 0 !important;
    margin-left: 48px !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
  }
  #navbar-logo {
    gap: 0.5rem !important;
  }
} 

@media (max-width: 991.98px) {
  .navbar-collapse .navbar-nav {
    align-items: center !important;
    text-align: center !important;
  }
  .navbar-collapse .nav-link {
    text-align: center !important;
    margin: 0 auto !important;
    width: 90% !important;
    display: block !important;
  }
} 

@media (max-width: 991.98px) {
  #navbarMobileLinks.navbar-collapse {
    position: fixed !important;
    top: 56px !important;
    left: unset !important;
    right: 12px !important;
    min-width: 220px !important;
    max-width: 340px !important;
    width: 92vw !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13) !important;
    margin: 0 !important;
    z-index: 99999 !important;
    padding: 16px 0 10px 0 !important;
    transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    display: block !important;
    visibility: hidden;
  }
  #navbarMobileLinks.navbar-collapse.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
  .navbar-collapse.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  html[dir='rtl'] #navbarMobileLinks.navbar-collapse {
    right: unset !important;
    left: 12px !important;
  }
  #navbarMobileLinks .navbar-nav {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.1rem !important;
    padding: 0 12px !important;
    margin: 0 !important;
  }
  #navbarMobileLinks .nav-link {
    font-size: 1.13rem !important;
    font-weight: 700 !important;
    color: #059669 !important;
    padding: 0.7rem 0 !important;
    border-radius: 8px !important;
    transition: background 0.18s, color 0.18s;
    width: 90% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
  }
  #navbarMobileLinks .nav-link:hover, #navbarMobileLinks .nav-link:focus {
    background: #e6f9f1 !important;
    color: #047857 !important;
  }
  #navbar-main-container {
    overflow-x: visible !important;
  }
} 

@media (max-width: 991.98px) {
  .navbar-collapse .navbar-nav {
    gap: 0.5rem !important;
  }
} 

@media (max-width: 991.98px) {
  /* The Difference A Desk Can Make: stack image above text, center text */
  #impact ~ section.py-5.bg-white.position-relative .row.align-items-center.justify-content-between.g-5.flex-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  #impact ~ section.py-5.bg-white.position-relative .col-lg-6.d-flex.justify-content-center.align-items-center.position-relative {
    order: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
  }
  #impact ~ section.py-5.bg-white.position-relative .col-lg-6.d-flex.flex-column.justify-content-center.align-items-start {
    order: 2 !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .desk-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 2.1rem !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    margin-bottom: 0.7rem !important;
  }
  .desk-text, .desk-btn {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
} 

@media (max-width: 991.98px) {
  /* Testimonial section: stack image above text, center text */
  .container-fluid.px-0 > .d-flex.flex-row.align-items-center.justify-content-center {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  .container-fluid.px-0 > .d-flex.flex-row.align-items-center.justify-content-center > div:first-child {
    order: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }
  .container-fluid.px-0 > .d-flex.flex-row.align-items-center.justify-content-center > div:last-child {
    order: 2 !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .container-fluid.px-0 h2 {
    text-align: center !important;
    font-size: 2.1rem !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    margin-bottom: 0.7rem !important;
  }
  #testimonial-text, #testimonial-author, #testimonial-role, #testimonial-img, #testimonial-prev, #testimonial-next {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  #testimonial-img {
    margin-bottom: 1rem !important;
  }
  .testimonial-card, .testimonial-card * {
    text-align: center !important;
  }
} 

@media (max-width: 991.98px) {
  /* Testimonial section: move arrows down */
  .container-fluid.px-0 .d-flex.flex-row.align-items-center.justify-content-center > div:last-child > div[style*="position:absolute"] {
    position: static !important;
    margin-top: 2.2rem !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
}