/* ============================================================
   Tuwaiq overrides — Cairo font + floating WhatsApp button
   Loaded after main.css in the landing layouts.
   ============================================================ */

/* ---------- Cairo font (whole landing page) ----------
   <i> is excluded so Flaticon / Font Awesome icon fonts keep working. */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, div,
li, label, strong, b, small, em,
button, input, select, textarea,
.section-title span, .section-title h2 {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
}

/* ---------- Bold across the whole landing page ---------- */
body,
p, a, span, div,
li, label, strong, b, small, em,
button, input, select, textarea,
.section-title span, .section-title h2 {
    font-weight: 700 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800 !important;
}

/* ---------- Floating WhatsApp button ----------
   Sits directly above the back-to-top button (same right edge). */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 92px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--white, #fff);
    font-size: 27px;
    line-height: 50px;
    text-align: center;
    z-index: 999;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease-in-out;
}

.whatsapp-float:hover {
    background-color: #1ebe5b;
    color: var(--white, #fff);
    transform: scale(1.08);
}
html,
body {
    overflow-x: hidden;
}

.footer-section-2 .footer-logo img,
.footer-section-3 .footer-logo img {
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 72px;
    object-fit: contain;
}

/* ---------- Footer newsletter field ---------- */
.footer-widget-wrapper-3 .footer-single-widget-3 .search-item {
    width: min(100%, 520px);
}

.footer-widget-wrapper-3 .footer-single-widget-3 .search-item .search-widget {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
}

.footer-widget-wrapper-3 .footer-single-widget-3 .search-item .search-widget input {
    box-sizing: border-box;
    height: 70px;
    padding: 0 28px;
    border: 1px solid rgba(1, 23, 45, 0.12);
    outline: none;
    box-shadow: 0 8px 24px rgba(1, 23, 45, 0.06);
    text-transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-widget-wrapper-3 .footer-single-widget-3 .search-item .search-widget input:focus {
    border-color: #ff8000;
    box-shadow: 0 0 0 4px rgba(255, 128, 0, 0.13);
}

.footer-widget-wrapper-3 .footer-single-widget-3 .search-item .icon {
    display: inline-flex;
    flex: 0 0 70px;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 575px) {
    .footer-widget-wrapper-3 .footer-single-widget-3 .search-item {
        gap: 8px;
    }

    .footer-widget-wrapper-3 .footer-single-widget-3 .search-item .search-widget input {
        height: 58px;
        padding: 0 20px;
        font-size: 14px;
    }

    .footer-widget-wrapper-3 .footer-single-widget-3 .search-item .icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }
}

/* ---------- Import request dialog and full contact intake ---------- */
.lead-request-dialog {
    width: min(1080px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--header2);
    box-shadow: 0 28px 80px rgba(1, 23, 45, 0.28);
    z-index: 999999;
}

.lead-request-dialog::backdrop {
    background: rgba(1, 23, 45, 0.72);
    backdrop-filter: blur(3px);
}

.lead-request-dialog[open] {
    animation: lead-dialog-in 0.2s ease-out;
}

@keyframes lead-dialog-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.lead-request-modal-shell {
    display: flex;
    max-height: calc(100dvh - 32px);
    flex-direction: column;
    overflow: hidden;
}

.lead-request-modal-header {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    background: #01172d;
    color: #fff;
}

.lead-request-modal-header span {
    display: block;
    margin-bottom: 4px;
    color: #ff8000;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.lead-request-modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
}

.lead-request-modal-header p {
    max-width: 720px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}

.lead-modal-close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 17px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lead-modal-close:hover,
.lead-modal-close:focus-visible {
    border-color: #ff8000;
    background: #ff8000;
}

.lead-request-modal-body {
    overflow: auto;
    overscroll-behavior: contain;
    padding: 6px 28px 28px;
}

.lead-request-form {
    color: #01172d;
}

.lead-form-group {
    min-width: 0;
    margin: 0;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid #e5eaf0;
}

.lead-form-group legend {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #01172d;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.lead-form-group legend > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff1e1;
    color: #d96d00;
    font-size: 11px;
}

.lead-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lead-form-grid label {
    display: block;
    min-width: 0;
    margin: 0;
}

.lead-form-grid label > span {
    display: block;
    margin-bottom: 7px;
    color: #27445b;
    font-size: 13px;
    font-weight: 700;
}

.lead-form-grid input,
.lead-form-grid select,
.lead-form-grid textarea {
    width: 100%;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid #cfd8e2;
    border-radius: 6px;
    outline: 0;
    background: #fff;
    color: #01172d;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form-grid textarea {
    min-height: 124px;
    resize: vertical;
}

.lead-form-grid input[type="file"] {
    height: auto;
    min-height: 50px;
    padding: 7px;
    color: #587086;
}

.lead-form-grid input::file-selector-button {
    margin-inline-end: 10px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: #edf2f6;
    color: #01172d;
    font-weight: 700;
    cursor: pointer;
}

.lead-form-grid input:focus,
.lead-form-grid select:focus,
.lead-form-grid textarea:focus {
    border-color: #ff8000;
    box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.14);
}

.lead-form-grid label small,
.lead-file-help {
    display: block;
    margin-top: 6px;
    color: #667b8e;
    font-size: 11px;
    line-height: 1.6;
}

.lead-form-wide {
    grid-column: 1 / -1;
}

.lead-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 22px;
}

html[dir="rtl"] .lead-form-actions {
    justify-content: flex-start;
}

.lead-form-actions .theme-btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

.lead-form-message {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.lead-form-message.is-success {
    border-color: #a7dbc0;
    background: #effbf4;
    color: #126238;
}

.lead-form-message.is-error {
    border-color: #f1b5b5;
    background: #fff3f3;
    color: #9b2424;
}

.contact-box-items .lead-request-form {
    margin-top: 28px;
    text-align: start;
}

.contact-box-items .lead-request-form .lead-form-group legend,
.contact-box-items .lead-request-form .lead-form-grid label > span {
    text-align: start;
}

@media (max-width: 767px) {
    .lead-request-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
    }

    .lead-request-modal-shell {
        max-height: calc(100dvh - 16px);
    }

    .lead-request-modal-header {
        gap: 12px;
        padding: 20px 18px;
    }

    .lead-request-modal-header p {
        font-size: 12px;
    }

    .lead-request-modal-body {
        padding: 2px 18px 20px;
    }

    .lead-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .lead-form-wide {
        grid-column: auto;
    }

    .lead-form-actions,
    html[dir="rtl"] .lead-form-actions {
        justify-content: stretch;
    }

    .lead-form-actions .theme-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lead-request-dialog[open] {
        animation: none;
    }
}

/* ---------- Blog details ----------
   Database images are full-size assets, so the legacy sidebar needs an
   explicit thumbnail frame instead of relying on intrinsic image dimensions. */
.news-details-wrapper > .row {
    align-items: flex-start;
}

.main-sideber .single-sidebar-widget .recent-post-area .recent-items {
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 16px;
    min-width: 0;
}

.main-sideber .single-sidebar-widget .recent-post-area .recent-items .recent-thumb {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border-radius: 7px;
}

.main-sideber .single-sidebar-widget .recent-post-area .recent-items .recent-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.main-sideber .single-sidebar-widget .recent-post-area .recent-items .recent-content {
    flex: 1 1 auto;
    min-width: 0;
}

.main-sideber .single-sidebar-widget .recent-post-area .recent-items .recent-content ul {
    flex-wrap: wrap;
    gap: 5px 16px;
}

.main-sideber .single-sidebar-widget .recent-post-area .recent-items .recent-content h5 {
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.news-details-wrapper .news-client-box .client-area .client-item {
    min-width: 0;
}

.news-details-wrapper .news-client-box .client-area .client-item .client-image {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border-radius: 7px;
}

.news-details-wrapper .news-client-box .client-area .client-item .client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.news-details-wrapper .news-client-box .client-area .client-item .content {
    min-width: 0;
}

html[dir="rtl"] .main-sideber .single-sidebar-widget .search-widget form button {
    right: auto;
    left: 25px;
}

/* Project listing covers are portrait assets; keep the detail hero wide and bounded. */
.project-details-section > .details-image {
    width: min(calc(100% - 30px), 1320px);
    height: clamp(320px, 43vw, 620px);
    margin: 60px auto 70px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f3;
}

.project-details-section > .details-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1199px) {
    .main-sideber .single-sidebar-widget .recent-post-area .recent-items,
    .news-details-wrapper .news-client-box .client-area .client-item {
        flex-wrap: nowrap;
    }
}

@media (max-width: 575px) {
    .main-sideber .single-sidebar-widget .recent-post-area .recent-items .recent-thumb,
    .news-details-wrapper .news-client-box .client-area .client-item .client-image {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .project-details-section > .details-image {
        height: 260px;
        margin-top: 35px;
        margin-bottom: 40px;
    }
}

/* Keep the Skills trust badge neutral so the multicolor company logo stays clear. */
.feature-section-5 .feature-wrapper-4 .feature-image .red-box {
    background: #fff;
    box-shadow: 0 18px 45px rgba(1, 23, 45, 0.12);
}

.feature-section-5 .feature-wrapper-4 .feature-image .red-box h2,
.feature-section-5 .feature-wrapper-4 .feature-image .red-box p {
    color: #ff8000;
}

.feature-section-5 .feature-wrapper-4 .feature-image .red-box p {
    border-bottom-color: rgba(255, 128, 0, 0.42);
}

.feature-section-5 .feature-wrapper-4 .feature-image .red-box .client-image {
    width: 100%;
    height: 50px;
}

.feature-section-5 .feature-wrapper-4 .feature-image .red-box .client-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ---------- Clear, named language dropdown ---------- */
.header-top-section {
    z-index: 10000;
    overflow: visible;
}

.header-top-section .container-fluid,
.header-top-section .header-top-wrapper,
.header-top-section .social-icon,
.header-top-section .social-icon > li {
    overflow: visible;
}

.landing-language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 14px;
    vertical-align: middle;
    z-index: 10001;
}

.landing-language-switcher .landing-language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    min-width: 154px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ff8000;
    border-radius: 6px;
    background: #ff8000;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(255, 128, 0, 0.28);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-language-switcher .landing-language-trigger:hover,
.landing-language-switcher .landing-language-trigger:focus-visible,
.landing-language-switcher .landing-language-trigger[aria-expanded="true"] {
    border-color: #e66f00;
    background: #e66f00;
    color: #fff;
    box-shadow: 0 7px 18px rgba(255, 128, 0, 0.38);
}

.landing-language-switcher .landing-language-trigger:hover {
    transform: translateY(-1px);
}

.landing-language-switcher .landing-language-trigger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.landing-language-switcher .landing-language-trigger .landing-language-flag {
    width: 25px;
    height: 16px;
}

.landing-language-switcher .landing-language-trigger .fa-chevron-down {
    margin: 0 !important;
    font-size: 9px;
    transition: transform 0.2s ease;
}

.landing-language-switcher .landing-language-trigger[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.landing-language-switcher .landing-language-globe {
    margin: 0 !important;
    font-size: 13px;
}

.landing-language-switcher .landing-language-trigger-label,
.landing-language-switcher .landing-language-current-name,
.landing-language-switcher .landing-language-separator {
    color: inherit;
    font-size: 12px;
    line-height: 1;
}

.landing-language-switcher .landing-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 10002;
    display: grid;
    width: 210px;
    padding: 6px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: #01172d;
    box-shadow: 0 14px 30px rgba(1, 23, 45, 0.3);
}

.landing-language-switcher .landing-language-menu[hidden] {
    display: none;
}

.landing-language-switcher .landing-language-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    text-align: start;
}

.landing-language-switcher .landing-language-menu a:hover,
.landing-language-switcher .landing-language-menu a:focus-visible,
.landing-language-switcher .landing-language-menu a.active {
    border-color: #ff8000;
    background: rgba(255, 128, 0, 0.18);
}

.landing-language-switcher .landing-language-menu a:focus-visible {
    outline: 2px solid #ff8000;
    outline-offset: 1px;
}

.landing-language-switcher .landing-language-menu .landing-language-flag {
    width: 27px;
    height: 18px;
}

.landing-language-switcher .landing-language-name {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    font-size: 13px;
    white-space: nowrap;
}

.landing-language-switcher .landing-language-check {
    margin: 0 !important;
    color: #ff8000;
    font-size: 11px;
}

.landing-language-switcher .landing-language-flag {
    display: inline-flex;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.landing-language-switcher .landing-language-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-header-language-switcher {
    display: none;
    margin: 0 14px;
}

.offcanvas-language-switcher {
    display: flex;
    width: min(100%, 230px);
    flex-direction: column;
    align-items: stretch;
}

.offcanvas-language-switcher .landing-language-trigger {
    width: 100%;
    border-color: #ff8000;
    background: #ff8000;
    color: #fff;
}

.offcanvas-language-switcher .landing-language-trigger:focus-visible {
    outline-color: #ff8000;
}

.offcanvas-language-switcher .landing-language-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .header-top-section .landing-language-trigger {
        min-width: 112px;
    }

    .header-top-section .landing-language-trigger-label,
    .header-top-section .landing-language-separator {
        display: none;
    }
}

@media (max-width: 1199px) {
    .header-1.header-2 .header-left {
        gap: 0;
    }

    .mobile-header-language-switcher {
        display: inline-flex;
    }

    .mobile-header-language-switcher .landing-language-trigger {
        min-width: 142px;
        border-color: #ff8000;
        background: #ff8000;
        color: #fff;
    }

    .mobile-header-language-switcher .landing-language-trigger:focus-visible {
        outline-color: #ff8000;
    }
}

@media (max-width: 575px) {
    .header-1.header-2 .header-main .logo,
    .header-1.header-2 .header-main .logo img {
        max-width: 145px;
    }

    .header-1.header-2 .header-main .header-right {
        flex: 0 0 auto;
        gap: 9px;
    }

    .mobile-header-language-switcher {
        margin: 0;
    }

    .mobile-header-language-switcher .landing-language-trigger {
        min-width: 82px;
        padding: 0 8px;
    }

    .mobile-header-language-switcher .landing-language-flag,
    .mobile-header-language-switcher .landing-language-separator,
    .mobile-header-language-switcher .landing-language-current-name {
        display: none;
    }

    .mobile-header-language-switcher .landing-language-menu {
        width: min(210px, calc(100vw - 24px));
    }
}

/* Keep the wide About image on the visible side when the layout flips to RTL. */
.choose-us-wrapper-2 .choose-image {
    aspect-ratio: 8 / 5;
    overflow: hidden;
}

.choose-us-wrapper-2 .choose-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 1200px) {
    html[dir="rtl"] .choose-us-wrapper-2 .choose-image {
        margin-right: 40px;
        margin-left: -60%;
    }
}

/* The service badge always uses the centrally managed site icon. */
.faq-wrapper .faq-left-items .left-box-items .service-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.faq-wrapper .faq-left-items .left-box-items .service-brand-icon img {
    display: block;
    width: 112px;
    height: 112px;
    padding: 16px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(1, 23, 45, 0.14);
}

.faq-wrapper .faq-left-items .left-box-items .service-trust-count > div {
    width: 100%;
    padding: 20px;
    text-align: center;
}

.faq-wrapper .faq-left-items .left-box-items .service-trust-count h4 {
    text-align: center;
}

.faq-wrapper .faq-left-items .left-box-items .service-trust-count p {
    max-width: 132px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
}

/* ---------- Service process accordion ---------- */
.service-process-section .process-accordion-item .process-step-trigger {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 82px;
    padding: 18px 24px !important;
    direction: ltr;
    line-height: 1.35 !important;
}

.service-process-section .process-accordion-item .process-step-number {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 45px !important;
    height: 45px !important;
    border: 1px solid rgba(15, 49, 58, 0.12) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--text) !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.service-process-section .process-accordion-item .process-step-title {
    position: static !important;
    z-index: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
    text-align: left;
    overflow-wrap: anywhere;
}

.service-process-section .process-accordion-item .process-step-icon {
    position: static !important;
    z-index: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px !important;
    height: 52px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ff8000 !important;
    font-size: 38px !important;
    line-height: 1 !important;
}

.service-process-section .process-accordion-item .accordion-body {
    padding: 0 94px 26px !important;
}

.service-process-section .process-accordion-item .accordion-body p {
    margin: 0;
}

html[dir="rtl"] .service-process-section .process-step-title,
html[dir="rtl"] .service-process-section .process-accordion-item .accordion-body {
    direction: rtl;
    text-align: right;
}

@media (max-width: 575px) {
    .service-process-section .process-accordion-item .process-step-trigger {
        grid-template-columns: 38px minmax(0, 1fr) 42px;
        gap: 10px;
        min-height: 68px;
        padding: 12px !important;
    }

    .service-process-section .process-accordion-item .process-step-number {
        width: 38px !important;
        height: 38px !important;
        font-size: 12px !important;
    }

    .service-process-section .process-accordion-item .process-step-title {
        font-size: 16px !important;
    }

    .service-process-section .process-accordion-item .process-step-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 31px !important;
    }

    .service-process-section .process-accordion-item .accordion-body {
        padding: 0 60px 20px !important;
    }
}

html[dir="rtl"] .landing-language-switcher {
    margin-right: 14px;
    margin-left: 0;
}

.offcanvas-language-switcher {
    margin-top: 18px;
    margin-left: 0;
}

html[dir="rtl"] .offcanvas-language-switcher {
    margin-right: 0;
}
.landing-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ---------- Public blog pagination ---------- */
.page-nav-wrap .page-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-nav-wrap .page-nav-list li {
    display: block;
    margin: 0;
}

.page-nav-wrap .page-nav-list .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    border: 1px solid rgba(15, 49, 58, 0.14);
    border-radius: 50%;
    background: #fff;
    color: var(--header2);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-nav-wrap .page-nav-list a.page-numbers:hover,
.page-nav-wrap .page-nav-list a.page-numbers:focus-visible,
.page-nav-wrap .page-nav-list .page-numbers.current {
    border-color: var(--theme2);
    background: var(--theme2);
    color: #fff;
}

.page-nav-wrap .page-nav-list a.page-numbers:hover {
    transform: translateY(-2px);
}

.page-nav-wrap .page-nav-list a.page-numbers:focus-visible {
    outline: 3px solid rgba(255, 128, 0, 0.24);
    outline-offset: 3px;
}

.page-nav-wrap .page-nav-list .disabled .page-numbers,
.page-nav-wrap .page-nav-list .ellipsis .page-numbers {
    cursor: default;
    opacity: 0.42;
}

.page-nav-wrap .page-nav-list .ellipsis .page-numbers {
    border-color: transparent;
    background: transparent;
}

@media (max-width: 575px) {
    .page-nav-wrap .page-nav-list {
        gap: 6px;
    }

    .page-nav-wrap .page-nav-list .page-numbers {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
}
/* Sitewide preloader content and colors are managed from Landing page > Loading Screen. */
.preloader .animation-preloader {
    position: relative;
    z-index: 1000;
    display: flex;
    width: min(420px, calc(100% - 40px));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preloader .preloader-brand-mark {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--landing-loader-track, #b9b9ba);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(1, 18, 37, 0.1);
}

.preloader .preloader-brand-mark::after {
    position: absolute;
    inset: 5px;
    border: 2px solid transparent;
    border-top-color: var(--landing-loader-accent, #fd9901);
    border-radius: 6px;
    content: "";
    animation: tuwaiq-loader-orbit 1.2s linear infinite;
}

.preloader .preloader-brand-mark img {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.preloader .preloader-brand-mark > span {
    position: relative;
    z-index: 1;
    display: block;
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: var(--landing-loader-accent, #fd9901);
}

.preloader .preloader-brand-mark > span:nth-child(1) { transform: translateY(7px); }
.preloader .preloader-brand-mark > span:nth-child(2) { width: 18px; }
.preloader .preloader-brand-mark > span:nth-child(3) { transform: translateY(-7px); }

.preloader .animation-preloader .txt-loading {
    max-width: 100%;
    color: var(--landing-loader-letters, #011225);
    font-family: "Cairo", sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: center;
    user-select: none;
    letter-spacing: 0;
}

.preloader .preloader-progress {
    position: relative;
    width: min(280px, 78%);
    height: 4px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--landing-loader-track, #b9b9ba);
}

.preloader .preloader-progress span {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 34%;
    border-radius: inherit;
    background: var(--landing-loader-accent, #fd9901);
    animation: tuwaiq-loader-progress 1.35s ease-in-out infinite;
}

.preloader p {
    max-width: 320px;
    margin: 13px 0 0;
    color: var(--landing-loader-label, #fd4601);
    font-family: "Cairo", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
}

.preloader .loader .loader-section .bg {
    background-color: var(--landing-loader-background, #fff);
}

.preloader.loaded .animation-preloader {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes tuwaiq-loader-orbit {
    to { transform: rotate(360deg); }
}

@keyframes tuwaiq-loader-progress {
    0% { transform: translateX(-115%); }
    55% { transform: translateX(115%); }
    100% { transform: translateX(290%); }
}

[dir="rtl"] .preloader .preloader-progress span {
    animation-name: tuwaiq-loader-progress-rtl;
}

@keyframes tuwaiq-loader-progress-rtl {
    0% { transform: translateX(115%); }
    55% { transform: translateX(-115%); }
    100% { transform: translateX(-290%); }
}

@media (max-width: 767px) {
    .preloader .preloader-brand-mark {
        width: 52px;
        height: 52px;
        margin-bottom: 18px;
    }

    .preloader .preloader-brand-mark img {
        width: 38px;
        height: 38px;
    }

    .preloader .animation-preloader .txt-loading {
        font-size: 34px;
    }

    .preloader .preloader-progress {
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .preloader .preloader-brand-mark::after,
    .preloader .preloader-progress span {
        animation: none;
    }

    .preloader .preloader-progress span {
        width: 70%;
    }
}
