/* =====================================================
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

/* =====================================================
   ===================================================== */

* {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
}

/* =====================================================
   
   ===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
}

h4,
h5,
h6 {
    font-weight: 600;
}

/* =====================================================
   
   ===================================================== */

p {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}

a {
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

/* =====================================================
   
   ===================================================== */

button,
.btn,
.button,
input[type="submit"],
input[type="button"] {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* =====================================================
   
   ===================================================== */

.navmenu,
.navmenu a,
nav,
nav a {
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

/* =====================================================
   ===================================================== */

input,
textarea,
select {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
}

label {
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

/* =====================================================
   ===================================================== */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


/* =====================================================
  
   ===================================================== */

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .float-left {
    float: right !important;
}

[dir="rtl"] .float-right {
    float: left !important;
}

/* Margins و Paddings */
[dir="rtl"] .mr-1,
[dir="rtl"] .mr-2,
[dir="rtl"] .mr-3,
[dir="rtl"] .mr-4,
[dir="rtl"] .mr-5 {
    margin-right: 0 !important;
}

[dir="rtl"] .ml-1 {
    margin-right: 0.25rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ml-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ml-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ml-4 {
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ml-5 {
    margin-right: 3rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .mr-1 {
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .mr-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .mr-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .mr-4 {
    margin-left: 1.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .mr-5 {
    margin-left: 3rem !important;
    margin-right: 0 !important;
}

/* Text alignment */
[dir="rtl"] .text-left {
    text-align: right !important;
}

[dir="rtl"] .text-right {
    text-align: left !important;
}


[dir="rtl"] .bi-chevron-right::before {
    content: "\f284";
    /* chevron-left */
}

[dir="rtl"] .bi-chevron-left::before {
    content: "\f285";
    /* chevron-right */
}

/* =====================================================
  
   ===================================================== */


body {
    letter-spacing: 0.3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0.5px;
}


p,
div,
span {
    line-height: 1.8;
}

h1 {
    line-height: 1.3;
}

h2 {
    line-height: 1.35;
}

h3 {
    line-height: 1.4;
}

h4,
h5,
h6 {
    line-height: 1.5;
}

/* =====================================================
   Variables
   ===================================================== */

:root {
    --font-family-primary: 'Cairo', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
}

/* =====================================================
   Performance Optimization
   ===================================================== */

@font-face {
    font-display: swap;

}

/* =====================================================
   Print Styles
   ===================================================== */

@media print {
    * {
        font-family: 'Cairo', sans-serif !important;
    }
}

.theme-btn i {
    margin-right: 10px;
    margin-left: 0;
}

.offcanvas__info {
    left: 0;
    right: auto;
    border-right: 2px solid var(--theme2);
    border-left: 0;
    -webkit-transform: translateX(calc(-100% + -80px));
    -moz-transform: translateX(calc(-100% + -80px));
    -ms-transform: translateX(calc(-100% + -80px));
    -o-transform: translateX(calc(-100% + -80px));
    transform: translateX(calc(-100% + -80px));
}

.offcanvas__top {
    flex-direction: row-reverse;
}

.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li .offcanvas__contact-icon {
    margin-left: 20px;
    margin-right: 0;
}

.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li a {
    color: var(--text);
    display: flex;
    flex-direction: row-reverse;
}

.header-1 .header-main .header-right .header-button {
    margin-left: 50px;
    margin-right: 0;
}

@media (max-width: 1899px) {
    .header-1 .header-main .header-right .header-button {
        margin-left: 0;
    }
}

.sticky.header-1 .header-main .header-right .header-button {
    margin-left: 0;
}

.header-1 .header-main .header-right .header__hamburger {
    margin-right: 70px;
    margin-left: 0;
}

@media (max-width: 1899px) {
    .header-1 .header-main .header-right .header__hamburger {
        margin-right: 0;
    }
}


.header-1::before {
    left: 0;
    right: auto;
    width: 200px;
}

.header-top-section::before {
    right: 81%;
}

.header-top-wrapper .contact-list li i {
    color: var(--white);
    margin-left: 10px;
    margin-right: 0;
}

.header-main .main-menu ul li .submenu li a {
    text-align: right;
}

.hero-1 .hero-image {
    transform: translateX(-157px) rotateY(-180deg);
}

.hero-1 .mask-shape {
    left: 0;
    right: auto;
    transform: rotateY(-180deg);
}

.hero-1 .hero-content h6::before {
    right: 0;
    left: auto;
}

.hero-1 .text-transparent {
    left: auto;
    right: -10%;
    transform: translateY(-50%) rotate(-90deg);
}

.hero-1 .hero-content h6 {
    padding-right: 55px;
    padding-left: 0;
}

.hero-1 .hero-content .hero-button .video-btn::before {
    right: auto;

}

.ripple::after {
    right: auto;

}

@media (max-width: 1492px) {
    .hero-1 .hero-image {
        transform: translateX(0) rotateY(-180deg);
        ;
    }
}

.hero-1 .mask-shape img {
    width: 100%;
}

@media (max-width: 1399px) {
    .hero-1 .hero-content h1 {
        font-size: 38px;
    }
}

@media (max-width: 1199px) {
    .hero-1 .hero-content h1 {
        font-size: 32px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Animation 1 - Right to left */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Animation 2 - Double movement */
@keyframes scroll2 {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Animation 3 - Left to right */
@keyframes scroll3 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

[dir="rtl"] .about-wrapper .about-image-items .counter-shape {
    left: auto;
    right: -50px;
}

@media (max-width: 575px) {
    [dir="rtl"] .about-wrapper .about-image-items .counter-shape {
        right: 0;
        left: auto;
    }
}

[dir="rtl"] .about-wrapper .about-image-items .about-image-1 .about-image-2 {
    right: auto;
    left: -35%;
}

@media (max-width: 1399px) {
    [dir="rtl"] .about-wrapper .about-image-items .about-image-1 .about-image-2 {
        left: -20%;
        right: auto;
    }
}

@media (max-width: 1199px) {
    [dir="rtl"] .about-wrapper .about-image-items .about-image-1 .about-image-2 {
        left: -10%;
        right: auto;
    }
}

@media (max-width: 991px) {
    [dir="rtl"] .about-wrapper .about-image-items .about-image-1 .about-image-2 {
        left: -35%;
        right: auto;
    }
}

@media (max-width: 575px) {
    [dir="rtl"] .about-wrapper .about-image-items .about-image-1 .about-image-2 {
        left: 0;
        right: auto;
    }
}

[dir="rtl"] .about-wrapper .about-image-items .about-image-1::after {
    right: auto;
    left: -55px;
}

@media (max-width: 1199px) {
    [dir="rtl"] .about-wrapper .about-image-items .about-image-1::after {
        left: -30px;
        right: auto;
    }
}

@media (max-width: 991px) {
    [dir="rtl"] .about-wrapper .about-image-items .about-image-1::after {
        left: -55px;
        right: auto;
    }
}

[dir="rtl"] .about-wrapper.style-2 .about-image-items .circle-shape {
    right: auto;
    left: 25%;
}

[dir="rtl"] .about-wrapper.style-2 .about-image-items .counter-shape {
    left: auto;
    right: 30px;
}

[dir="rtl"] .about-wrapper.style-2 .about-image-items .counter-shape .content h3 span {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .about-wrapper.style-2 .about-image-items .about-image-1 .about-image-2 {
    right: auto;
    left: -40%;
}

@media (max-width: 1199px) {
    [dir="rtl"] .about-wrapper.style-2 .about-image-items .about-image-1 .about-image-2 {
        left: -20%;
        right: auto;
    }
}

@media (max-width: 575px) {
    [dir="rtl"] .about-wrapper.style-2 .about-image-items .about-image-1 .about-image-2 {
        left: 0;
        right: auto;
    }
}

[dir="rtl"] .about-wrapper-2 .about-image .video-box {
    right: auto;
    left: 14%;
}

[dir="rtl"] .about-wrapper-2 .about-image .shape-image {
    left: auto;
    right: -12%;
}

[dir="rtl"] .about-wrapper-2 .about-image .circle-shape {
    left: auto;
    right: 55%;
    transform: translateX(50%);
}

[dir="rtl"] .about-wrapper-2 .about-content .icon-area .list li i {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .about-wrapper-2 .about-content .icon-area .icon-items {
    border-left: none;
    border-right: 3px solid var(--theme);
}

[dir="rtl"] .about-wrapper-2.style-2 .about-content {
    margin-left: 0;
    margin-right: 50px;
}

@media (max-width: 991px) {
    [dir="rtl"] .about-wrapper-2.style-2 .about-content {
        margin-right: 0;
    }
}

[dir="rtl"] .case-study-section .left-shape {
    left: auto;
    right: 40px;
}

[dir="rtl"] .case-study-section .right-shape {
    right: auto;
    left: 40px;
}

[dir="rtl"] .case-studies-wrapper-2 .case-studies-items .case-studies-hover {
    margin: -200px -50px 0 0;
}

[dir="rtl"] .case-study-wrapper .case-study-box-items .thumb .post-box-items {
    left: auto;
    right: 30px;
}

[dir="rtl"] .case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a i {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .case-study-wrapper .case-study-box-items .thumb .project-title {
    left: auto;
    right: 30px;
}

[dir="rtl"] .case-study-wrapper .case-study-box-items .thumb .project-title img {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .case-study-wrapper .case-study-box-items .thumb p {
    left: auto;
    right: 30px;
}

[dir="rtl"] .case-study-wrapper .case-study-box-items .thumb .number {
    right: auto;
    left: 30px;
}

[dir="rtl"] .case-study-wrapper .main-box .box .title-items h3 {
    left: auto;
    right: 70%;
    transform: translate(50%, -50%) rotate(90deg);
}

[dir="rtl"] .case-study-wrapper .main-box .box .number-hover {
    left: auto;
    right: 30px;
}

/*  */

/* RTL Overrides Only */

html[dir="rtl"] .services-style-four,
html[dir="rtl"] .services-style-four .item,
html[dir="rtl"] .services-style-four .info {
    direction: rtl;
    text-align: right;
}

/* Title underline position */
html[dir="rtl"] .services-style-four h4 a::after {
    right: 0;
    left: auto;
}

/* Features list alignment */
html[dir="rtl"] .services-style-four li {
    padding-right: 28px;
    padding-left: 0;
}

html[dir="rtl"] .services-style-four li::before {
    right: 0;
    left: auto;
}

html[dir="rtl"] .services-style-four .item:hover li {
    padding-right: 32px;
    padding-left: 0;
}

/* Button icon direction */
html[dir="rtl"] .services-style-four .main-button a {
    flex-direction: row-reverse;
}

/* Shine effect direction */
html[dir="rtl"] .services-style-four .main-button a::before {
    right: -100%;
    left: auto;
}

html[dir="rtl"] .services-style-four .main-button a:hover::before {
    right: 100%;
}

.services-style-four .main-button a:hover {

    transform: translateY(3px);

}

/* RTL Overrides */

html[dir="rtl"] .achievement-wrapper {
    direction: rtl;
    text-align: right;
    margin-left: -25%;
    margin-right: 0;
}

@media (max-width: 1600px) {
    html[dir="rtl"] .achievement-wrapper {
        margin-left: 0;
    }
}

/* Counter area alignment */
html[dir="rtl"] .achievement-wrapper .counter-area {
    direction: rtl;
}

/* Border and spacing flip */
html[dir="rtl"] .achievement-wrapper .counter-area .counter-items:not(:first-child) {
    border-left: 1px solid var(--border3);
    border-right: none;
    padding-left: 70px;
    padding-right: 0;
}

@media (max-width: 1199px) {
    html[dir="rtl"] .achievement-wrapper .counter-area .counter-items:not(:first-child) {
        padding-left: 0;
        border: none;
    }
}

/* Style 2 variant */
html[dir="rtl"] .achievement-wrapper.style-2 {
    margin-left: 0;
}

html[dir="rtl"] .achievement-wrapper.style-2 .counter-area .counter-items:not(:first-child) {
    border-left: 2px solid rgba(243, 247, 251, 0.16);
    border-right: none;
}

@media (max-width: 1199px) {
    html[dir="rtl"] .achievement-wrapper.style-2 .counter-area .counter-items:not(:first-child) {
        border: none;
    }
}

.marquee-wrapper.style-2 {
    margin-bottom: -17px;
}



/* RTL Overrides */

html[dir="rtl"] .marquee-inner {
    direction: rtl;
}

html[dir="rtl"] .marquee-list {
    float: right;
}

html[dir="rtl"] .marquee-item {
    float: right;
}

/* Slider text alignment */
html[dir="rtl"] .marquee-item.style-2 .text-slider {
    margin-right: 0;
    margin-left: 40px;
}

/* Animation direction flip (if needed) */
html[dir="rtl"] .marquee-inner.to-left {
    animation-name: marqueeRight;
}

html[dir="rtl"] .marquee-inner.to-right {
    animation-name: marqueeLeft infinite ;
}

.achievement-section {
    padding-bottom: 20px;
}

.marquee-item.style-2 .text-style {
    background-position: 0 95%;
}

.faq-section .faq-shape-box {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    transform: scaleX(-1);

}

.accordion-button::after {
    margin-right: auto;
    margin-left: 0;
    transform: rotate(-180deg);
}

.faq-content .accordion-item .accordion-collapse .accordion-body {
    padding-left: 150px;
    padding-right: 30px;
}

.single-news-items .news-image .post-date {
    left: auto;
    right: 25px;
}

.footer-widgets-wrapper .single-footer-widget .footer-content .contact-info li i {
margin-right: 0;
    margin-left: 10px;

}
.footer-widgets-wrapper .single-footer-widget .list-area li a i {
    margin-left: 5px;
    margin-right: 0;
}
.hero-1 .hero-content {
    position: relative;
    z-index: 9;
    width: 84%;
}
.steps__content {
    padding: 10px;
}
.get-started-section .popular-badge {
    top: 20px;
    left: 20px;
    right: auto;
   
}
.get-started-section .card-decoration {
    bottom: -30px;
    left: -30px;
    right: auto;
}
.news-card-items.style-2 .news-image .post-date {
    left: auto;
    top: 20px;
    right: 20px;
   
}

.services-list a i {
    margin-left: 8px;
margin-right: 0;
}
.support-section {
    border-right: 4px solid #007bff;
    border-left: 0px solid #007bff;
}

/* ── TOP BAR ARABIC ── */
.top-bar-ar {
  width: 100%;
  height: 36px;
  background: var(--header);
  border-bottom: 2px solid transparent;
  border-image: var(--gradient) 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  direction: rtl;
}

.top-bar-ar::after {
  content: '';
  position: absolute;
  top: 0;
  right: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(270deg, transparent, rgba(255, 255, 255, .06), transparent);
  animation: sweep-ar 8s linear infinite;
  pointer-events: none;
}

@keyframes sweep-ar {
  0%   { right: -40%; }
  100% { right: 130%; }
}

/* ── TICKER ARABIC ── */
.ticker-track-ar {
  display: flex;
  white-space: nowrap;
  animation: ticker-ar 70s linear infinite;
  will-change: transform;
}

.ticker-track-ar:hover {
  animation-play-state: paused;
}

@keyframes ticker-ar {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ── ITEM ARABIC ── */
.ticker-item-ar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--white);
  direction: rtl;
}

.ticker-item-ar .brand {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: opacity .2s;
}

.ticker-item-ar .brand:hover {
  opacity: .75;
}

.ticker-item-ar .sep {
  display: inline-block;
  width: 5px;
  height: 1px;
  background: var(--theme);
  opacity: .7;
  flex-shrink: 0;
}

.ticker-item-ar .highlight {
  color: var(--theme-secondary);
  font-weight: 600;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.ticker-item {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;

}

.contact-wrapper .contact-form-area .form-clt .single-select {
  background-position: left 20px center; 
  padding-left: 45px;  
  padding-right: 20px; 
  text-align: right !important;
}
.nice-select:after {
    left: 15px !important;
    right: auto !important;
}
.nice-select .option {
    text-align: right !important;
}
.nice-select.single-select {
    direction: rtl !important;
}
.ers-field input {
    padding-right: 42px;
}
.pricing-items .pricing-header {
    text-align: left;
}
.ers-modal-close {
left: 20px;
    right: auto;

}
.ers-what__num {
left: 18px;
    right: auto;

}



