/* Global Font Settings - Apply Cairo font ONLY to website pages, NOT Frappe UI */

/* Import Google Cairo font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

/* Apply Cairo font ONLY to website body, NOT Frappe UI */
body.website-body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

/* Apply to website-specific elements only */
body.website-body h1, 
body.website-body h2, 
body.website-body h3, 
body.website-body h4, 
body.website-body h5, 
body.website-body h6,
body.website-body p, 
body.website-body span, 
body.website-body div, 
body.website-body a, 
body.website-body button, 
body.website-body input, 
body.website-body textarea, 
body.website-body select, 
body.website-body label {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

/* Website-specific containers */
body.website-body .container, 
body.website-body .container-fluid, 
body.website-body .row, 
body.website-body .col, 
body.website-body .col-md-6, 
body.website-body .col-lg-4 {
    direction: rtl !important;
}

/* Website-specific cards and content boxes */
body.website-body .card, 
body.website-body .card-body, 
body.website-body .card-header, 
body.website-body .card-title {
    direction: rtl !important;
    text-align: right !important;
}

/* Website-specific lists */
body.website-body ul, 
body.website-body ol, 
body.website-body li {
    direction: rtl !important;
    text-align: right !important;
}

/* Website-specific tables */
body.website-body table, 
body.website-body th, 
body.website-body td {
    direction: rtl !important;
    text-align: right !important;
}

/* Website-specific modals and popups */
body.website-body .modal, 
body.website-body .modal-body, 
body.website-body .modal-header, 
body.website-body .modal-footer {
    direction: rtl !important;
    text-align: right !important;
}

/* Website-specific alerts and notifications */
body.website-body .alert, 
body.website-body .alert-success, 
body.website-body .alert-warning, 
body.website-body .alert-danger, 
body.website-body .alert-info {
    direction: rtl !important;
    text-align: right !important;
}

/* Website-specific navbar styling */
body.website-body .navbar {
    font-family: 'Cairo', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

body.website-body .navbar * {
    font-family: 'Cairo', sans-serif !important;
}

body.website-body .navbar-nav .nav-link,
body.website-body .navbar-brand,
body.website-body .navbar-toggler,
body.website-body .dropdown-menu,
body.website-body .dropdown-item {
    font-family: 'Cairo', sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

/* Specific homepage elements */
body.website-body .flex-box,
body.website-body .about-header,
body.website-body .about-span,
body.website-body .paragraphs,
body.website-body .services-header,
body.website-body .services-span {
    font-family: 'Cairo', sans-serif !important;
}