
                    /* Header navigation styles */
                    .main-navigation li a {
                        transition: all 0.3s ease;
                    }

                    .main-navigation li a:hover {
                        color: #ED1A23 !important;
                    }

                    .main-navigation li a.is-active {
                        text-decoration: underline;
                        text-underline-offset: 5px;
                    }

                    /* Latin font for emails and numbers */
                    .latin-font,
                    .english-content {
                        font-family: 'Arial', sans-serif !important;
                        direction: ltr !important;
                        display: inline-block;
                        unicode-bidi: isolate;
                    }

                    /* Ensure emails and phone numbers always stay in English format */
                    .latin-font,
                    .english-content,
                    [data-i18n*="email"],
                    [data-i18n*="phone"],
                    [data-i18n*="Email"],
                    [data-i18n*="Phone"] {
                        font-family: 'Arial', sans-serif !important;
                        direction: ltr !important;
                        display: inline-block;
                        unicode-bidi: isolate;
                    }

                    /* Force LTR direction for contact information in both languages */
                    html[dir="rtl"] .latin-font,
                    html[dir="rtl"] .english-content,
                    html[dir="rtl"] [data-i18n*="email"],
                    html[dir="rtl"] [data-i18n*="phone"],
                    html[dir="rtl"] [data-i18n*="Email"],
                    html[dir="rtl"] [data-i18n*="Phone"] {
                        direction: ltr !important;
                        text-align: left !important;
                        font-family: 'Arial', sans-serif !important;
                    }

                    /* Fix arrow direction for RTL/LTR */
                    html[dir="rtl"] .fx-pr-btn-1 i.fa-angle-right {
                        transform: rotate(180deg);
                    }

                    html[dir="rtl"] .fx-slider-btn-2-item i.fa-angle-left,
                    html[dir="rtl"] .fx-slider-btn-2-item i.fa-angle-right,
                    html[dir="rtl"] .fx-client-1-slider-btn-left i.fa-angle-left,
                    html[dir="rtl"] .fx-client-1-slider-btn-right i.fa-angle-right {
                        transform: rotate(180deg);
                    }

                    html[dir="rtl"] .txa-offcanvas-services-item i.fa-arrow-right {
                        transform: rotate(180deg);
                    }

                    html[dir="rtl"] i.fa-arrow-up-right {
                        transform: rotate(270deg);
                    }

                    /* Sticky header styles */
                    .txa_sticky_header.sticky-menu-active .main-navigation li a {
                        color: #39B54A;
                    }

                    .txa_sticky_header.sticky-menu-active .main-navigation li a:hover {
                        color: #ED1A23 !important;
                    }

                    /* Language toggle styles - Home page - AR/EN format with offset */
                    .lang-toggle {
                        background: transparent !important;
                        border: none !important;
                        padding: 8px 12px !important;
                        display: flex !important;
                        align-items: baseline !important;
                        gap: 0 !important;
                        font-size: 18px !important;
                        font-weight: 600 !important;
                        line-height: 1 !important;
                        transition: none !important;
                        height: 40px !important;
                        min-width: 60px !important;
                        direction: ltr !important;
                    }

                    .lang-toggle:hover {
                        background: transparent !important;
                        box-shadow: none !important;
                        border: none !important;
                    }

                    .lang-toggle .lang-item {
                        cursor: pointer;
                        color: rgba(255, 255, 255, 0.6);
                        text-decoration: none;
                        text-transform: uppercase;
                        transition: all 0.3s ease;
                        position: relative;
                    }

                    .lang-toggle .lang-item[data-lang="ar"] {
                        transform: translateY(-3px);
                        margin-right: 2px;
                    }

                    .lang-toggle .lang-item[data-lang="en"] {
                        transform: translateY(3px);
                        margin-left: 2px;
                    }

                    .lang-toggle .lang-item.active {
                        color: #ED1A23;
                        font-weight: 700;
                    }

                    .lang-toggle .lang-separator {
                        color: rgba(255, 255, 255, 0.6);
                        font-weight: 800;
                        margin: 0 1px;
                        font-size: 20px;
                    }

                    /* Sticky header language toggle */
                    .txa_sticky_header.sticky-menu-active .lang-toggle .lang-item {
                        color: rgba(57, 181, 74, 0.6);
                    }

                    .txa_sticky_header.sticky-menu-active .lang-toggle .lang-item.active {
                        color: #ED1A23;
                    }

                    .txa_sticky_header.sticky-menu-active .lang-toggle .lang-separator {
                        color: rgba(57, 181, 74, 0.6);
                    }

                    /* Hide language toggle in header on mobile view */
                    @media (max-width: 991px) {
                        .fx-header-3-action-link .lang-toggle {
                            display: none !important;
                        }
                    }

                    /* Sidebar language toggle styles - inline next to logo */
                    .txa-offcanvas-lang-toggle-inline .lang-toggle {
                        justify-content: flex-end;
                    }

                    .txa-offcanvas-lang-toggle-inline .lang-toggle .lang-item {
                        color: rgba(57, 181, 74, 0.6);
                    }

                    .txa-offcanvas-lang-toggle-inline .lang-toggle .lang-item.active {
                        color: #ED1A23;
                    }

                    .txa-offcanvas-lang-toggle-inline .lang-toggle .lang-separator {
                        color: rgba(57, 181, 74, 0.6);
                    }

                    /* Sidebar WhatsApp button row - full width */
                    .txa-offcanvas-whatsapp-row {
                        display: flex;
                    }

                    .txa-offcanvas-whatsapp-row .whatsapp-btn {
                        background-color: transparent !important;
                        border-radius: 25px !important;
                        border: 2px solid #39B54A !important;
                        padding: 8px 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 8px;
                        transition: all 0.3s ease;
                        text-decoration: none !important;
                    }

                    .txa-offcanvas-whatsapp-row .whatsapp-btn:hover {
                        border-color: #ED1A23 !important;
                    }

                    .txa-offcanvas-whatsapp-row .whatsapp-btn:hover span,
                    .txa-offcanvas-whatsapp-row .whatsapp-btn:hover i {
                        color: #ED1A23;
                    }

                    .txa-offcanvas-whatsapp-row .whatsapp-btn span {
                        color: #39B54A;
                        font-weight: 600;
                    }

                    .txa-offcanvas-whatsapp-row .whatsapp-btn i {
                        color: #39B54A;
                    }

                    /* RTL WhatsApp button in row */
                    html[dir="rtl"] .txa-offcanvas-whatsapp-row .whatsapp-btn {
                        flex-direction: row-reverse !important;
                    }

                    /* WhatsApp button styles */
                    .whatsapp-btn {
                        background-color: transparent !important;
                        border-radius: 25px !important;
                        border: 2px solid white !important;
                        padding: 8px 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        transition: all 0.3s ease;
                    }

                    .whatsapp-btn:hover {
                        border-color: #ED1A23 !important;
                    }

                    .whatsapp-btn:hover span,
                    .whatsapp-btn:hover i {
                        color: #ED1A23;
                    }

                    .whatsapp-btn span {
                        color: white;
                        font-weight: 600;
                    }

                    .whatsapp-btn {
                        flex-direction: row !important;
                    }

                    .whatsapp-btn i {
                        color: white;
                        margin-left: 8px;
                        margin-right: 0;
                    }

                    /* RTL WhatsApp icon positioning */
                    html[dir="rtl"] .whatsapp-btn {
                        flex-direction: row-reverse !important;
                    }

                    html[dir="rtl"] .whatsapp-btn i {
                        margin-left: 0 !important;
                        margin-right: 8px !important;
                    }

                    html[dir="rtl"] .txa_sticky_header.sticky-menu-active .whatsapp-btn i {
                        margin-left: 0 !important;
                        margin-right: 8px !important;
                    }

                    /* WhatsApp button order - text first, icon second for LTR */
                    .fx-pr-btn-1.whatsapp-btn .text {
                        order: 1 !important;
                    }

                    .fx-pr-btn-1.whatsapp-btn i {
                        order: 2 !important;
                    }

                    /* WhatsApp button order for RTL - icon first, text second */
                    html[dir="rtl"] .fx-pr-btn-1.whatsapp-btn .text {
                        order: 2 !important;
                    }

                    html[dir="rtl"] .fx-pr-btn-1.whatsapp-btn i {
                        order: 1 !important;
                    }

                    /* Prevent WhatsApp icon from being flipped/rotated */
                    .whatsapp-btn i.fa-whatsapp,
                    .whatsapp-btn-cta i.fa-whatsapp {
                        transform: none !important;
                    }

                    html[dir="rtl"] .whatsapp-btn i.fa-whatsapp,
                    html[dir="rtl"] .whatsapp-btn-cta i.fa-whatsapp {
                        transform: none !important;
                    }

                    .txa_sticky_header.sticky-menu-active .whatsapp-btn {
                        background-color: transparent !important;
                        border: 2px solid #39B54A !important;
                    }

                    .txa_sticky_header.sticky-menu-active .whatsapp-btn span,
                    .txa_sticky_header.sticky-menu-active .whatsapp-btn i {
                        color: #39B54A;
                    }

                    .whatsapp-btn:hover,
                    .txa_sticky_header.sticky-menu-active .whatsapp-btn:hover {
                        border-color: #ED1A23 !important;
                    }

                    .whatsapp-btn:hover span,
                    .whatsapp-btn:hover i,
                    .txa_sticky_header.sticky-menu-active .whatsapp-btn:hover span,
                    .txa_sticky_header.sticky-menu-active .whatsapp-btn:hover i {
                        color: #ED1A23 !important;
                    }

                    /* Explicitly handle logo swap */
                    .fx-header-3-main-logo .default-logo {
                        display: block;
                    }

                    .fx-header-3-main-logo .sticky-logo {
                        display: none;
                    }

                    .txa_sticky_header.sticky-menu-active .fx-header-3-main-logo .default-logo {
                        display: none;
                    }

                    .txa_sticky_header.sticky-menu-active .fx-header-3-main-logo .sticky-logo {
                        display: block;
                    }

                    /* Arabic text spacing fixes */
                    html[dir="rtl"] .fx-hero-5-slider-item-pera {
                        line-height: 1.6 !important;
                        margin-bottom: 25px !important;
                    }

                    html[dir="rtl"] .fx-client-4-title {
                        line-height: 1.5 !important;
                        margin-bottom: 30px !important;
                    }

                    html[dir="rtl"] .fx-scn-title-3 {
                        line-height: 1.4 !important;
                        margin-bottom: 20px !important;
                    }

                    html[dir="rtl"] .scn-disc {
                        line-height: 1.6 !important;
                        margin-bottom: 20px !important;
                    }

                    html[dir="rtl"] .fx-about-5-scn-title .scn-disc {
                        line-height: 1.6 !important;
                        margin-bottom: 20px !important;
                    }

                    html[dir="rtl"] .fx-counter-1-item-disc {
                        line-height: 1.5 !important;
                        margin-top: 10px !important;
                    }

                    html[dir="rtl"] .fx-footer-1-contact {
                        line-height: 1.6 !important;
                    }

                    html[dir="rtl"] .fx-footer-1-contact li {
                        margin-bottom: 15px !important;
                    }

                    html[dir="rtl"] .fx-footer-1-menu-2 li {
                        margin-bottom: 8px !important;
                    }

                    html[dir="rtl"] .fx-cta-1-content-title {
                        line-height: 1.4 !important;
                        margin-bottom: 25px !important;
                    }

                    html[dir="rtl"] .title.fx-heading-2 {
                        line-height: 1.4 !important;
                        margin-bottom: 15px !important;
                    }

                    /* Arabic numbers in stats/counter sections */
                    html[dir="rtl"] .fx-counter-1-item-number,
                    html[dir="rtl"] .counter {
                        font-family: 'Almarai', sans-serif !important;
                        font-weight: 700 !important;
                    }

                    html[dir="rtl"] .fx-about-5-chat-content .title {
                        font-family: 'Almarai', sans-serif !important;
                    }

                    /* Footer location link styling */
                    .fx-footer-1-contact li a {
                        color: inherit;
                        transition: color 0.3s ease;
                    }

                    .fx-footer-1-contact li a:hover {
                        color: #ED1A23;
                    }

                    /* CTA WhatsApp button styling */
                    .whatsapp-btn-cta {
                        background-color: transparent !important;
                        border-radius: 35px !important;
                        border: 3px solid white !important;
                        padding: 18px 45px !important;
                        display: inline-flex !important;
                        align-items: center;
                        justify-content: center;
                        transition: all 0.4s ease;
                        text-decoration: none !important;
                        width: 100%;
                        max-width: 400px;
                        font-size: 1.1rem;
                        min-height: 65px;
                    }

                    .whatsapp-btn-cta span {
                        color: white !important;
                        font-weight: 700;
                        font-size: 1.1rem;
                        transition: all 0.4s ease;
                    }

                    .whatsapp-btn-cta i {
                        color: white !important;
                        margin-left: 12px;
                        font-size: 1.4rem;
                        transition: all 0.4s ease;
                    }

                    .whatsapp-btn-cta:hover {
                        background-color: transparent !important;
                        border-color: #25D366 !important;
                        transform: translateY(-3px) scale(1.02);
                        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
                    }

                    .whatsapp-btn-cta:hover span,
                    .whatsapp-btn-cta:hover i {
                        color: #25D366 !important;
                    }

                    /* RTL WhatsApp CTA icon positioning - icon on left in RTL, right in LTR */
                    .whatsapp-btn-cta {
                        flex-direction: row !important;
                    }

                    .whatsapp-btn-cta i {
                        margin-left: 12px !important;
                        margin-right: 0 !important;
                    }

                    html[dir="rtl"] .whatsapp-btn-cta {
                        flex-direction: row-reverse !important;
                    }

                    html[dir="rtl"] .whatsapp-btn-cta i {
                        margin-left: 0 !important;
                        margin-right: 12px !important;
                    }

                    /* WhatsApp CTA button order - text first, icon second for LTR */
                    .fx-pr-btn-1.whatsapp-btn-cta .text {
                        order: 1 !important;
                    }

                    .fx-pr-btn-1.whatsapp-btn-cta i {
                        order: 2 !important;
                    }

                    /* WhatsApp CTA button order for RTL - icon first, text second */
                    html[dir="rtl"] .fx-pr-btn-1.whatsapp-btn-cta .text {
                        order: 2 !important;
                    }

                    html[dir="rtl"] .fx-pr-btn-1.whatsapp-btn-cta i {
                        order: 1 !important;
                    }

                    /* Fix Arabic counter text centering */
                    html[dir="rtl"] .fx-counter-1-item {
                        text-align: center !important;
                        display: flex !important;
                        flex-direction: column !important;
                        align-items: center !important;
                        justify-content: center !important;
                    }

                    html[dir="rtl"] .fx-counter-1-item-disc {
                        text-align: center !important;
                        margin: 0 auto !important;
                    }

                    html[dir="rtl"] .fx-counter-1-item-number {
                        text-align: center !important;
                        margin: 0 auto !important;
                    }

                    /* Mirror global circle icon for RTL layout */
                    html[dir="rtl"] .fx-about-5-content .box-icon svg {
                        transform: scaleX(-1) !important;
                    }

                    /* Ensure smooth transition when switching languages */
                    .fx-about-5-content .box-icon svg {
                        transition: transform 0.3s ease;
                    }

                    /* Mobile sidebar toggle button styling - Home page - 3 horizontal lines */
                    .fx-header-3-action-link .fx-menu-btn-1 {
                        background: transparent !important;
                        border: none !important;
                        padding: 8px !important;
                        width: 40px !important;
                        height: 40px !important;
                        display: none !important;
                        /* Hidden by default, shown dynamically */
                        flex-direction: column !important;
                        align-items: center !important;
                        justify-content: center !important;
                        gap: 4px !important;
                        transition: all 0.3s ease;
                        margin-left: 10px !important;
                    }

                    /* Show mobile menu button only when navigation is hidden */
                    @media (max-width: 1200px) {
                        .fx-header-3-action-link .fx-menu-btn-1 {
                            display: flex !important;
                        }

                        .fx-header-3-action-link .whatsapp-btn {
                            display: none !important;
                        }
                    }

                    .fx-header-3-action-link .fx-menu-btn-1 span {
                        width: 20px !important;
                        height: 2px !important;
                        background: white !important;
                        border-radius: 1px !important;
                        transition: all 0.3s ease;
                        display: block !important;
                    }

                    /* Hide extra spans - only show first 3 */
                    .fx-header-3-action-link .fx-menu-btn-1 span:nth-child(n+4) {
                        display: none !important;
                    }

                    /* Sticky header mobile toggle button */
                    .txa_sticky_header.sticky-menu-active .fx-header-3-action-link .fx-menu-btn-1 {
                        background: transparent !important;
                        border: none !important;
                    }

                    .txa_sticky_header.sticky-menu-active .fx-header-3-action-link .fx-menu-btn-1 span {
                        background: #39B54A !important;
                    }

                    /* Hover effects for mobile toggle button */
                    .fx-header-3-action-link .fx-menu-btn-1:hover span,
                    .txa_sticky_header.sticky-menu-active .fx-header-3-action-link .fx-menu-btn-1:hover span {
                        background: #ED1A23 !important;
                    }

                    /* Sidebar WhatsApp button styling - matches header style */
                    .txa-offcanvas-whatsapp .whatsapp-btn {
                        background-color: transparent !important;
                        border-radius: 25px !important;
                        border: 2px solid #39B54A !important;
                        padding: 8px 20px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        transition: all 0.3s ease;
                        flex-direction: row !important;
                        text-decoration: none !important;
                        min-width: 200px;
                    }

                    .txa-offcanvas-whatsapp .whatsapp-btn:hover {
                        border-color: #ED1A23 !important;
                    }

                    .txa-offcanvas-whatsapp .whatsapp-btn:hover span,
                    .txa-offcanvas-whatsapp .whatsapp-btn:hover i {
                        color: #ED1A23;
                    }

                    .txa-offcanvas-whatsapp .whatsapp-btn span {
                        color: #39B54A;
                        font-weight: 600;
                    }

                    .txa-offcanvas-whatsapp .whatsapp-btn i {
                        color: #39B54A;
                        margin-left: 8px;
                        margin-right: 0;
                    }

                    /* RTL WhatsApp icon positioning for sidebar */
                    html[dir="rtl"] .txa-offcanvas-whatsapp .whatsapp-btn {
                        flex-direction: row-reverse !important;
                    }

                    html[dir="rtl"] .txa-offcanvas-whatsapp .whatsapp-btn i {
                        margin-left: 0 !important;
                        margin-right: 8px !important;
                    }

                    /* Prevent WhatsApp icon from being flipped/rotated in sidebar */
                    .txa-offcanvas-whatsapp .whatsapp-btn i.fa-brands.fa-whatsapp,
                    .txa-offcanvas-whatsapp .whatsapp-btn i[class*="fa-whatsapp"] {
                        transform: none !important;
                    }

                    html[dir="rtl"] .txa-offcanvas-whatsapp .whatsapp-btn i.fa-brands.fa-whatsapp,
                    html[dir="rtl"] .txa-offcanvas-whatsapp .whatsapp-btn i[class*="fa-whatsapp"] {
                        transform: none !important;
                    }

                    /* Sidebar RTL/LTR Direction Control */
                    .txa-offcanvas-box {
                        right: -100% !important;
                        left: auto !important;
                    }

                    html[dir="rtl"] .txa-offcanvas-box {
                        left: -100% !important;
                        right: auto !important;
                    }

                    .txa-offcanvas-box.offcanvas_box_active {
                        right: 0 !important;
                        left: auto !important;
                    }

                    html[dir="rtl"] .txa-offcanvas-box.offcanvas_box_active {
                        left: 0 !important;
                        right: auto !important;
                    }

                    /* Sidebar content direction */
                    .txa-offcanvas-box-container {
                        direction: inherit;
                    }

                    /* Sidebar WhatsApp button - same size as header */
                    .txa-offcanvas-whatsapp .whatsapp-btn {
                        padding: 8px 20px !important;
                    }

                    /* ========================================
                           RESPONSIVE TYPOGRAPHY - SMART SCALING
                           ======================================== */

                    /* Hero Logo Responsive Scaling - Balanced Dynamic Sizing */
                    @media only screen and (max-width: 1199px) {
                        .hero-logo-responsive {
                            height: 58px !important;
                            transform: translateY(8px) !important;
                        }
                    }

                    @media only screen and (max-width: 991px) {
                        .hero-logo-responsive {
                            height: 60px !important;
                            transform: translateY(9px) !important;
                        }
                    }

                    @media only screen and (max-width: 767px) {
                        .hero-logo-responsive {
                            height: 62px !important;
                            transform: translateY(9px) !important;
                        }
                    }

                    @media only screen and (max-width: 575px) {
                        .hero-logo-responsive {
                            height: 65px !important;
                            transform: translateY(10px) !important;
                        }
                    }

                    @media only screen and (max-width: 480px) {
                        .hero-logo-responsive {
                            height: 68px !important;
                            transform: translateY(10px) !important;
                        }
                    }

                    /* Main Section Titles - Get bigger on smaller screens */
                    @media only screen and (max-width: 1199px) {
                        .fx-scn-title-3 {
                            font-size: 68px !important;
                        }
                    }

                    @media only screen and (max-width: 991px) {
                        .fx-scn-title-3 {
                            font-size: 72px !important;
                            line-height: 1.2 !important;
                        }
                    }

                    @media only screen and (max-width: 767px) {
                        .fx-scn-title-3 {
                            font-size: 76px !important;
                            line-height: 1.1 !important;
                        }
                    }

                    @media only screen and (max-width: 575px) {
                        .fx-scn-title-3 {
                            font-size: 80px !important;
                            line-height: 1.05 !important;
                        }
                    }

                    @media only screen and (max-width: 480px) {
                        .fx-scn-title-3 {
                            font-size: 84px !important;
                            line-height: 1.0 !important;
                        }
                    }

                    /* Hero Main Title - Proper responsive scaling (smaller on mobile) */
                    @media only screen and (max-width: 1199px) {
                        .fx-hero-2-slider-item-title {
                            font-size: 52px !important;
                        }
                    }

                    @media only screen and (max-width: 991px) {
                        .fx-hero-2-slider-item-title {
                            font-size: 48px !important;
                            line-height: 1.15 !important;
                        }
                    }

                    @media only screen and (max-width: 767px) {
                        .fx-hero-2-slider-item-title {
                            font-size: 42px !important;
                            line-height: 1.2 !important;
                        }
                    }

                    @media only screen and (max-width: 575px) {
                        .fx-hero-2-slider-item-title {
                            font-size: 36px !important;
                            line-height: 1.25 !important;
                        }
                    }

                    @media only screen and (max-width: 480px) {
                        .fx-hero-2-slider-item-title {
                            font-size: 32px !important;
                            line-height: 1.3 !important;
                        }
                    }

                    /* Sub Titles (h2) - Get bigger on smaller screens */
                    @media only screen and (max-width: 1199px) {
                        .fx-heading-2 {
                            font-size: 44px !important;
                        }
                    }

                    @media only screen and (max-width: 991px) {
                        .fx-heading-2 {
                            font-size: 48px !important;
                            line-height: 1.2 !important;
                        }
                    }

                    @media only screen and (max-width: 767px) {
                        .fx-heading-2 {
                            font-size: 52px !important;
                            line-height: 1.15 !important;
                        }
                    }

                    @media only screen and (max-width: 575px) {
                        .fx-heading-2 {
                            font-size: 56px !important;
                            line-height: 1.1 !important;
                        }
                    }

                    @media only screen and (max-width: 480px) {
                        .fx-heading-2 {
                            font-size: 60px !important;
                            line-height: 1.05 !important;
                        }
                    }

                    /* Paragraphs - Same size as desktop across all screens */
                    .fx-para-1,
                    .scn-disc {
                        font-size: inherit !important;
                        line-height: inherit !important;
                    }

                    /* Hero paragraph - Same size as desktop across all screens */
                    .custom-paragraph {
                        font-size: 1.1rem !important;
                        line-height: 1.8 !important;
                    }

                    /* Small subtitles - Moderate scaling */
                    @media only screen and (max-width: 991px) {
                        .fx-subtitle-1 {
                            font-size: 16px !important;
                        }
                    }

                    @media only screen and (max-width: 767px) {
                        .fx-subtitle-1 {
                            font-size: 17px !important;
                        }
                    }

                    @media only screen and (max-width: 575px) {
                        .fx-subtitle-1 {
                            font-size: 18px !important;
                        }
                    }

                    /* Client title scaling */
                    @media only screen and (max-width: 991px) {
                        .fx-client-4-title {
                            font-size: 30px !important;
                        }
                    }

                    @media only screen and (max-width: 767px) {
                        .fx-client-4-title {
                            font-size: 32px !important;
                        }
                    }

                    @media only screen and (max-width: 575px) {
                        .fx-client-4-title {
                            font-size: 34px !important;
                        }
                    }

                    /* Counter text - Same size as desktop across all screens */
                    .fx-counter-1-item-disc {
                        font-size: inherit !important;
                    }

                    /* Hero paragraph with logo - responsive mobile fixes */
                    @media only screen and (max-width: 991px) {
                        .custom-paragraph {
                            width: 85% !important;
                            padding: 0 10px !important;
                            margin-top: 8px !important;
                            /* Further reduced from 15px */
                            /* Keep desktop font size: 1.1rem and line-height: 1.8 */
                        }

                        /* Reduce title bottom margin on mobile */
                        .fx-hero-2-slider-item-title.mb-4 {
                            margin-bottom: 6px !important;
                            /* Further reduced from 10px */
                        }

                        /* Language-specific bottom padding using IDs */
                        #animated-paragraph-en {
                            padding-bottom: 20px !important;
                            /* Reduced from 25px */
                            margin-bottom: 0 !important;
                        }

                        #animated-paragraph-ar {
                            padding-bottom: 12px !important;
                            /* Reduced from 15px */
                            margin-bottom: 0 !important;
                        }

                        .custom-paragraph .hero-logo-responsive {
                            height: 50px !important;
                            transform: translateY(7px) !important;
                        }
                    }

                    @media only screen and (max-width: 767px) {
                        .custom-paragraph {
                            width: 90% !important;
                            padding: 0 15px !important;
                            margin-top: 5px !important;
                            /* Further reduced from 10px */
                            /* Keep desktop font size: 1.1rem and line-height: 1.8 */
                        }

                        /* Reduce title bottom margin on mobile */
                        .fx-hero-2-slider-item-title.mb-4 {
                            margin-bottom: 4px !important;
                            /* Further reduced from 8px */
                        }

                        /* Language-specific bottom padding using IDs */
                        #animated-paragraph-en {
                            padding-bottom: 15px !important;
                            /* Reduced from 20px */
                            margin-bottom: 0 !important;
                        }

                        #animated-paragraph-ar {
                            padding-bottom: 10px !important;
                            /* Reduced from 12px */
                            margin-bottom: 0 !important;
                        }

                        .custom-paragraph .hero-logo-responsive {
                            height: 48px !important;
                            transform: translateY(7px) !important;
                        }
                    }

                    @media only screen and (max-width: 575px) {
                        .custom-paragraph {
                            width: 95% !important;
                            padding: 0 10px !important;
                            margin-top: 3px !important;
                            /* Further reduced from 8px */
                            /* Keep desktop font size: 1.1rem and line-height: 1.8 */
                            word-wrap: break-word !important;
                            overflow-wrap: break-word !important;
                        }

                        /* Reduce title bottom margin on mobile */
                        .fx-hero-2-slider-item-title.mb-4 {
                            margin-bottom: 3px !important;
                            /* Further reduced from 6px */
                        }

                        /* Language-specific bottom padding using IDs */
                        #animated-paragraph-en {
                            padding-bottom: 12px !important;
                            /* Further reduced from 15px */
                            margin-bottom: 0 !important;
                        }

                        #animated-paragraph-ar {
                            padding-bottom: 8px !important;
                            /* Reduced from 10px */
                            margin-bottom: 0 !important;
                        }

                        .custom-paragraph .hero-logo-responsive {
                            height: 45px !important;
                            transform: translateY(6px) !important;
                        }

                        .custom-paragraph .olympic-webp-span {
                            display: inline-flex !important;
                            align-items: center !important;
                            max-width: 100% !important;
                        }
                    }

                    @media only screen and (max-width: 480px) {
                        .custom-paragraph {
                            width: 100% !important;
                            padding: 0 9px !important;
                            margin-top: 2px !important;
                            /* Further reduced from 5px */
                            /* Keep desktop font size: 1.1rem and line-height: 1.8 */
                        }

                        /* Reduce title bottom margin on mobile */
                        .fx-hero-2-slider-item-title.mb-4 {
                            margin-bottom: 2px !important;
                            /* Minimal spacing for very small screens */
                        }

                        /* Language-specific bottom padding using IDs */
                        #animated-paragraph-en {
                            padding-bottom: 8px !important;
                            /* Further reduced from 10px */
                            margin-bottom: 10px !important;
                            /* Reduced from 15px */
                        }

                        #animated-paragraph-ar {
                            padding-bottom: 6px !important;
                            /* Reduced from 8px */
                            margin-bottom: 0 !important;
                        }

                        .custom-paragraph .hero-logo-responsive {
                            height: 42px !important;
                            transform: translateY(6px) !important;
                        }
                    }
                


                                    @keyframes fadeInUp {
                                        0% {
                                            opacity: 0;
                                            transform: translateY(15px);
                                        }

                                        10% {
                                            opacity: 0.1;
                                        }

                                        100% {
                                            opacity: 1;
                                            transform: translateY(0);
                                        }
                                    }

                                    /* Prevent ONLY the webp spans from having separate animations, but allow paragraph animation */
                                    .custom-paragraph .olympic-webp-span {
                                        transform: none !important;
                                        transition: none !important;
                                    }

                                    /* Allow paragraph animation but prevent span animations within it */
                                    .fx-hero-5-slider .swiper-container .swiper-wrapper .swiper-slide .custom-paragraph span:not(.olympic-webp-span) {
                                        transform: none !important;
                                        transition: none !important;
                                    }

                                    .fx-hero-5-slider .swiper-container .swiper-wrapper .swiper-slide:is(.swiper-slide-active) .custom-paragraph span:not(.olympic-webp-span) {
                                        transform: none !important;
                                        transition: none !important;
                                    }
                                


            .client-logo-img {
                height: auto;
                transition: all 0.3s ease;
                margin: 0 15px;
                opacity: 0.8;
            }

            .client-logo-img:hover {
                opacity: 1;
                transform: scale(1.05);
            }

            /* Fix SVG visibility on dark backgrounds */
            .fx-client-1-slider svg {
                fill: white !important;
                width: 120px !important;
                height: auto !important;
            }

            .fx-client-1-slider svg path,
            .fx-client-1-slider svg rect,
            .fx-client-1-slider svg g {
                fill: white !important;
            }

            .fx-client-1-slider svg:hover {
                transform: scale(1.05);
            }
        

/* Video Aspect Ratio Fix */
.fx-hero-5-video .plyvideo { object-fit: contain !important; height: auto !important; max-height: 100vh; width: 100%; }

/* English Fonts in Arabic fix */
html[dir="rtl"] .latin-font,
html[dir="rtl"] .english-content,
html[dir="rtl"] [data-i18n*="email"],
html[dir="rtl"] [data-i18n*="phone"],
html[dir="rtl"] .no-arabic-number {
    font-family: var(--fx-ff-heading, 'Inter', sans-serif) !important;
}
