/* rtl.css: right to left layout for the Arabic pages (/ar/). Loaded only on pages with dir="rtl". */
html[dir="rtl"] body{font-family:'Noto Sans Arabic','Inter',Arial,sans-serif;letter-spacing:0}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4,html[dir="rtl"] .nav-link,html[dir="rtl"] button,html[dir="rtl"] .cta-button{font-family:'Noto Sans Arabic','Inter',Arial,sans-serif;letter-spacing:0}
html[dir="rtl"] p,html[dir="rtl"] li{line-height:1.85}

/* text alignment */
html[dir="rtl"] .footer-bottom,html[dir="rtl"] .page-header .slide-content,html[dir="rtl"] .about-content p,html[dir="rtl"] .mvv-card ul li,
html[dir="rtl"] .value-card,html[dir="rtl"] .strength-item,html[dir="rtl"] .strength-item p,html[dir="rtl"] .area-card p,html[dir="rtl"] .industry-card p,
html[dir="rtl"] .industry-card ul li,html[dir="rtl"] .product-subtitle,html[dir="rtl"] .product-description p,html[dir="rtl"] .related-products ul,
html[dir="rtl"] .scroll-card,html[dir="rtl"] .industry-card h3,html[dir="rtl"] .industry-icon,html[dir="rtl"] .strengths-section h2,
html[dir="rtl"] .lang-option,html[dir="rtl"] .tower-group>.tower-title,html[dir="rtl"] .tower-group>.tower-subtitle,
html[dir="rtl"] .cable-type p,html[dir="rtl"] .category-item p,html[dir="rtl"] .config-item p,html[dir="rtl"] .filter-type p,html[dir="rtl"] .process-item p,html[dir="rtl"] .tech-item p{text-align:right}

/* accent borders on the start side */
html[dir="rtl"] .product-info,html[dir="rtl"] .about-content,html[dir="rtl"] .split-text{border-left:0;border-right:4px solid #37a8e5;padding-left:0;padding-right:1.5rem}
html[dir="rtl"] .intro-text{border-left:0;border-right:4px solid #37a8e5;padding-left:0;padding-right:1rem}
html[dir="rtl"] .company-intro{border-left:0}
html[dir="rtl"] .product-description h2{border-left:0;border-right:4px solid #37a8e5;padding-left:0;padding-right:1rem}
html[dir="rtl"] .cable-type,html[dir="rtl"] .category-item,html[dir="rtl"] .config-item,html[dir="rtl"] .filter-type,html[dir="rtl"] .process-item,html[dir="rtl"] .tech-item,
html[dir="rtl"] .pump-type,html[dir="rtl"] .safety-category,html[dir="rtl"] .valve-type{border-left:0;border-right:4px solid #37a8e5}
html[dir="rtl"] .contact-showcase-main{border-left:0;border-right:4px solid #37a8e5}
html[dir="rtl"] .contact-showcase-points li{border-left:0;border-right:3px solid #37a8e5}
html[dir="rtl"] .tower-specs span{border-left:0;border-right:3px solid #0073e6}

/* bullets */
html[dir="rtl"] .application-list,html[dir="rtl"] .feature-list{padding-left:0;padding-right:0}
html[dir="rtl"] .application-list li,html[dir="rtl"] .feature-list li,html[dir="rtl"] .mvv-card ul li,html[dir="rtl"] .industry-card ul li{padding-left:0;padding-right:2rem}
html[dir="rtl"] .application-list li::before,html[dir="rtl"] .feature-list li::before{left:auto;right:.5rem}
html[dir="rtl"] .mvv-card ul li::before,html[dir="rtl"] .industry-card ul li::before{left:auto;right:0}

/* navigation */
html[dir="rtl"] .dropdown-toggle::after,html[dir="rtl"] .category-link::after{margin-left:0;margin-right:.5rem}
html[dir="rtl"] .dropdown-content .dropdown-column a{margin-left:0;margin-right:-.3rem}
html[dir="rtl"] .lang-switcher,html[dir="rtl"] .nav-language-selector{margin-left:0;margin-right:auto}
html[dir="rtl"] .lang-switcher__menu{right:auto;left:0}
html[dir="rtl"] .lang-option{flex-direction:row}
html[dir="rtl"] .lang-option .nav-flag{margin-right:0;margin-left:.5rem}
html[dir="rtl"] .cta-button{margin-right:0;margin-left:.5rem}
html[dir="rtl"] .footer-powered-by{margin-left:0;margin-right:auto}
html[dir="rtl"] .scroll-top-btn{right:auto;left:22px}
@media (max-width:768px){html[dir="rtl"] .scroll-top-btn{left:14px}}
@media (max-width:1024px){
 html[dir="rtl"] #nav-toggle:checked~.navbar .nav-menu .nav-link:hover{padding-left:0;padding-right:25px}
 html[dir="rtl"] #nav-toggle:checked~.navbar .nav-menu .dropdown-column a:hover{padding-left:0;padding-right:20px}
 html[dir="rtl"] #nav-toggle:checked~.navbar .nav-menu{text-align:right}
}

/* stage bar and quick index: keep numbers readable */
html[dir="rtl"] .stage-link,html[dir="rtl"] .quick-index a{direction:rtl}
html[dir="rtl"] .stage-nav-arrows{flex-direction:row-reverse}

/* phone numbers, emails and codes stay left to right */
html[dir="rtl"] a[href^="tel:"],html[dir="rtl"] a[href^="mailto:"]{unicode-bidi:plaintext}
html[dir="rtl"] .footer-address{direction:ltr;text-align:right}
html[dir="rtl"] .stage-link .arr{display:inline-block;transform:scaleX(-1)}
/* hidden spam trap and other off-screen helpers: push them off the right edge, which does not scroll in RTL */
html[dir="rtl"] .contact-form .hp-field{left:auto;right:-9999px}
html[dir="rtl"] #nav-toggle{left:auto;right:-9999px}
