body {
    font-family: 'Rubik', sans-serif;
    direction: ltr;
    text-align: left;
}

/* ===== TOP BAR - أيقونات بيضاء ===== */
.top-socials {
    border-right: none;
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-right: 0;
    padding-left: 8px;
    margin-right: 0;
    margin-left: 4px;
}

.top-socials a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.top-socials a:hover {
    background: rgba(255,255,255,0.18);
    color: #2e7d5e !important;
    transform: translateY(-2px);
}

.top-bar-content i {
    color: #ffffff !important;
}

.social-handle {
    font-weight: 600;
    margin-right: 2px;
    margin-left: 0;
    background: rgba(255,255,255,0.08);
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 0.6rem;
    border: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.2px;
    color: #ffffff !important;
}

html[dir="ltr"] .panel:nth-child(even) .panel-content {
    margin-right: 0 !important;
    margin-left: auto !important;
    align-items: flex-start !important;
}

html[dir="ltr"] .panel:nth-child(even) .section-icon-wrapper {
    align-self: flex-start !important;
}

html[dir="ltr"] .panel:nth-child(even) .action-buttons {
    align-self: flex-start !important;
}

html[dir="ltr"] .panel:nth-child(odd) .panel-content {
    margin-right: auto !important;
    margin-left: 0 !important;
    align-items: flex-end !important;
}

html[dir="ltr"] .panel:nth-child(odd) .section-icon-wrapper {
    align-self: flex-end !important;
}

html[dir="ltr"] .panel:nth-child(odd) .action-buttons {
    align-self: flex-end !important;
}

html[dir="ltr"] .panel-content { text-align: left; }
html[dir="ltr"] .panel:nth-child(odd) .panel-content { text-align: left; }
html[dir="ltr"] .panel:nth-child(even) .panel-content { text-align: left; }

.close-btn { left: auto; right: 18px; }
.menu-link { text-align: left; }
.menu-link:hover { padding-right: 0; padding-left: 6px; }

.footer-col a:hover { padding-right: 0; padding-left: 6px; }
.footer-col h4::after { right: auto; left: 0; }
.footer-brand { flex-direction: row; }
.footer-brand-text { text-align: left; }

.social-icons { flex-direction: row; }
.social-icons a {
    color: #fff; text-decoration: none; font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.social-icons a:hover { background: rgba(255,255,255,0.15); color: #2e7d5e; transform: translateY(-2px); }
.social-icons span {
    background: rgba(255,255,255,0.06); padding: 2px 12px; border-radius: 20px;
    font-size: 0.7rem; border: 1px solid rgba(255,255,255,0.06);
}

.top-bar-content span { flex-direction: row; }
.side-nav .menu-link { text-align: left; }
.btn-login { flex-direction: row; }

.dashboard-header .header-content { flex-direction: row; }
.header-left { flex-direction: row; }
.header-right { flex-direction: row; }

.login-wrapper { direction: ltr; }
.login-wrapper .login-container { direction: ltr; text-align: left; }
.login-wrapper .login-side { direction: ltr; }
.password-wrapper input { padding-right: 50px; padding-left: 18px; }
.toggle-password { right: 14px; left: auto; }
.form-options { flex-direction: row; }

.section-icon-wrapper { display: flex; }
.section-icon { justify-content: center; }

.services-hero-content { text-align: center; }
.service-link { flex-direction: row; }
.service-link:hover { gap: 12px; }
.service-link i { transform: rotate(0deg); }
.btn-contact-us { flex-direction: row; }
.btn-contact-us:hover i { transform: translateX(4px); }
.why-content ul li { flex-direction: row; }
.footer-links a:hover { padding-right: 0; padding-left: 6px; }

/* =========================================
   شعارات الرؤية - LTR
   ========================================= */
.vision-logo-item span::after {
    margin: 8px auto 0;
}

/* =========================================
   استجابة الجوال - LTR (جميع التعديلات)
   ========================================= */

/* ===== تابلت ===== */
@media (max-width: 1024px) {
    .vision-logo-item img {
        width: 350px !important;
    }
}

/* ===== جوال كبير (تابلت صغير) ===== */
@media (max-width: 768px) {
    .main-header {
        padding: 2px 12px !important;
        gap: 4px !important;
        flex-direction: column !important;
        min-height: 44px !important;
    }

    .header-top-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .site-logo {
        width: 160px !important;
    }

    .menu-toggle {
        display: flex !important;
        padding: 6px 6px !important;
        gap: 4px !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(46, 125, 94, 0.08) !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .dot { width: 6px !important; height: 6px !important; }
    .desktop-nav { display: none !important; }

    .header-controls {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }

    .btn-green {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        flex: 1 !important;
        justify-content: center !important;
        border-radius: 30px !important;
        font-weight: 700 !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .btn-contact-nav {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
        flex: 0 0 auto !important;
        border-radius: 30px !important;
        justify-content: center !important;
        gap: 4px !important;
    }

    .btn-login {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
        flex: 0 0 auto !important;
        border-radius: 30px !important;
        justify-content: center !important;
    }

    .btn-login span { display: inline !important; font-size: 0.75rem !important; }
    .btn-login i { font-size: 0.8rem !important; }

    .lang-switch {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        flex: 0 0 auto !important;
        min-width: 30px !important;
        text-align: center !important;
        border-radius: 30px !important;
        justify-content: center !important;
    }

    .page-main {
        padding-top: 100px !important;
    }

    /* ===== البانر في الجوال الكبير - LTR ===== */
    .page-hero,
    .services-hero {
        padding: 130px 5% 40px !important;
        min-height: 300px !important;
    }

    .page-hero-content h1,
    .services-hero-content h1 {
        font-size: 2rem !important;
    }

    .page-hero-content p,
    .services-hero-content p {
        font-size: 0.95rem !important;
    }

    .hero-breadcrumb {
        flex-wrap: wrap !important;
        font-size: 0.75rem !important;
    }

    .panel {
        padding-top: 90px !important;
    }

    html[dir="ltr"] .bg-layer {
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    html[dir="ltr"] .bg-layer .bg-layer-inner { display: none !important; }

    html[dir="ltr"] .bg-layer.active {
        animation: none !important;
        transform: translate(-50%, -50%) !important;
        opacity: 1 !important;
    }

    html[dir="ltr"] .bg-layer.move-type-1.active,
    html[dir="ltr"] .bg-layer.move-type-2.active {
        animation: none !important;
        transform: translate(-50%, -50%) !important;
        opacity: 1 !important;
    }

    html[dir="ltr"] .panel .panel-content {
        margin-right: auto !important;
        margin-left: auto !important;
        align-items: center !important;
        text-align: center !important;
    }

    html[dir="ltr"] .panel .section-icon-wrapper {
        align-self: center !important;
        justify-content: center !important;
    }

    html[dir="ltr"] .panel .action-buttons {
        align-self: center !important;
        justify-content: center !important;
    }

    .top-socials { border-left: none; padding-left: 0; margin-left: 0; }
    .footer-brand { flex-direction: column; align-items: center; text-align: center; }
    .footer-brand-text { text-align: center; }
    .footer-links a:hover { padding-left: 6px; padding-right: 0; }

    /* ===== شعارات الرؤية في الجوال - LTR ===== */
    .vision-logos {
        gap: 20px !important;
        padding: 20px 15px !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .vision-logo-item {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 20px !important;
        flex: 0 0 100% !important;
    }

    .vision-logo-item img {
        width: 320px !important;
        max-width: 90% !important;
    }

    .vision-logo-item span {
        font-size: 1rem !important;
    }

    .page-footer .footer-brand .footer-logo {
        width: 150px !important;
    }

    .footer-logo {
        width: 150px !important;
    }
}

/* ===== جوال متوسط ===== */
@media (max-width: 600px) {
    .vision-logo-item {
        padding: 20px 15px !important;
    }

    .vision-logo-item img {
        width: 280px !important;
        max-width: 95% !important;
    }

    .vision-logo-item span {
        font-size: 0.9rem !important;
    }
}

/* ===== جوال صغير ===== */
@media (max-width: 480px) {
    .main-header {
        padding: 2px 8px !important;
        gap: 3px !important;
        min-height: 38px !important;
    }

    .site-logo {
        width: 150px !important;
    }

    .menu-toggle {
        width: 32px !important;
        height: 32px !important;
        padding: 5px 5px !important;
    }

    .dot {
        width: 5px !important;
        height: 5px !important;
    }

    .btn-green {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        flex: 1.2 !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    .btn-contact-nav {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }

    .btn-login {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }
    .btn-login span { font-size: 0.7rem !important; }
    .btn-login i { font-size: 0.75rem !important; }

    .lang-switch {
        padding: 5px 8px !important;
        font-size: 0.7rem !important;
        min-width: 26px !important;
    }

    .page-main {
        padding-top: 90px !important;
    }

    /* ===== البانر في الجوال الصغير - LTR ===== */
    .page-hero,
    .services-hero {
        padding: 150px 4% 30px !important;
        min-height: 250px !important;
    }

    .page-hero-content h1,
    .services-hero-content h1 {
        font-size: 1.6rem !important;
    }

    .page-hero-content p,
    .services-hero-content p {
        font-size: 0.85rem !important;
    }

    .hero-breadcrumb {
        font-size: 0.7rem !important;
        gap: 4px !important;
    }

    .panel {
        padding-top: 80px !important;
    }

    /* ===== شعارات الرؤية في جوال صغير - LTR ===== */
    .vision-logos {
        gap: 15px !important;
        padding: 15px 10px !important;
    }

    .vision-logo-item {
        padding: 18px 15px !important;
        min-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .vision-logo-item img {
        width: 250px !important;
        max-width: 100% !important;
    }

    .vision-logo-item span {
        font-size: 0.85rem !important;
    }

    .page-footer .footer-brand .footer-logo {
        width: 140px !important;
    }

    .footer-logo {
        width: 140px !important;
    }
}

/* ===== جوال صغير جداً ===== */
@media (max-width: 380px) {
    /* ===== البانر في الجوال الصغير جداً - LTR ===== */
    .page-hero,
    .services-hero {
        padding: 160px 3% 25px !important;
        min-height: 220px !important;
    }

    .page-hero-content h1,
    .services-hero-content h1 {
        font-size: 1.4rem !important;
    }

    .page-hero-content p,
    .services-hero-content p {
        font-size: 0.75rem !important;
    }

    .hero-breadcrumb {
        font-size: 0.65rem !important;
        gap: 3px !important;
    }

    .vision-logo-item img {
        width: 200px !important;
    }

    .vision-logo-item span {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .form-options { flex-direction: column; align-items: flex-start; }
}
