/* ============================================
   RTL (RIGHT-TO-LEFT) STYLES
   ============================================ */

html[dir="rtl"],
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* ============================================
   AOS (ANIMATE ON SCROLL) RTL
   ============================================ */
/* Swap fade-left and fade-right for RTL - override inline styles */
html[dir="rtl"] [data-aos="fade-right"] {
    transform: translate3d(100px, 0, 0) !important;
}

html[dir="rtl"] [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
}

html[dir="rtl"] [data-aos="fade-left"] {
    transform: translate3d(-100px, 0, 0) !important;
}

html[dir="rtl"] [data-aos="fade-left"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
}

/* Flip animations for RTL */
html[dir="rtl"] [data-aos="flip-left"] {
    transform: perspective(2500px) rotateY(-100deg) !important;
}

html[dir="rtl"] [data-aos="flip-left"].aos-animate {
    transform: perspective(2500px) rotateY(0) !important;
}

html[dir="rtl"] [data-aos="flip-right"] {
    transform: perspective(2500px) rotateY(100deg) !important;
}

html[dir="rtl"] [data-aos="flip-right"].aos-animate {
    transform: perspective(2500px) rotateY(0) !important;
}

/* Slide animations for RTL */
html[dir="rtl"] [data-aos="slide-left"] {
    transform: translate3d(100px, 0, 0) !important;
}

html[dir="rtl"] [data-aos="slide-left"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
}

html[dir="rtl"] [data-aos="slide-right"] {
    transform: translate3d(-100px, 0, 0) !important;
}

html[dir="rtl"] [data-aos="slide-right"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
}

/* ============================================
   HEADER RTL
   ============================================ */

html[dir="rtl"] .header__mobile-toggle {
    order: -1;
}

html[dir="rtl"] .mobile-sidebar__content {
    left: auto;
    right: 0;
    transform: translateX(100%);
}

html[dir="rtl"] .mobile-sidebar.mobile-sidebar--active .mobile-sidebar__content {
    transform: translateX(0);
}

html[dir="rtl"] .mobile-sidebar__close {
    right: auto;
    left: 1.5rem;
}

html[dir="rtl"] .header__dropdown-menu {
    left: auto;
    right: 0;
}

/* ============================================
   HERO SECTION RTL
   ============================================ */
html[dir="rtl"] .hero-back-button {
    left: auto;
    right: 3rem;
}

html[dir="rtl"] .hero-back-link:hover {
    transform: translateX(5px);
}

html[dir="rtl"] .hero-slider-wrapper .owl-dots {
    right: auto;
    left: 3rem;
}

html[dir="rtl"] .hero-slider .owl-item.prev .hero-slider__item {
    transform-origin: left center;
}

html[dir="rtl"] .hero-slider .owl-item.next .hero-slider__item {
    transform-origin: right center;
}

/* ============================================
   ABOUT SECTION RTL
   ============================================ */
html[dir="rtl"] .projects__btn svg,
html[dir="rtl"] .hero-back-link i,
html[dir="rtl"] .media-slider.owl-carousel .owl-nav button,
html[dir="rtl"] .media-slider__link svg,
html[dir="rtl"] .developments-slider__link svg,
html[dir="rtl"] .developments-project-card__link svg,
html[dir="rtl"] .last-banner__btn svg,
html[dir="rtl"] .vision-interactive__btn svg,
html[dir="rtl"] .about__btn svg {
    transform: rotate(180deg);
}

/* ============================================
   VISION INTERACTIVE TABS RTL
   ============================================ */
html[dir="rtl"] .tabber-group .tabsv {
    padding-right: 30px;
    padding-left: 0;
}

html[dir="rtl"] .tabber-group .serv-left {
    padding-left: 129px;
    padding-right: 0;
}

html[dir="rtl"] .tabber-group .tabsv ul li {
    border-left: 0;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

html[dir="rtl"] .tabber-group .tabsv ul li span.textheader {
    transform: translateY(-50%) translateX(0%) rotate(-270deg);
    padding-left: 0;
    padding-right: 0;
}

html[dir="rtl"] .tabber-group .tabsv ul li span.textheader:after {
    transform: translateX(-22px);
}

/* ============================================
   VISION COLUMNS RTL
   ============================================ */
html[dir="rtl"] .vision-columns__column-border {
    right: auto;
    left: 0;
}

/* ============================================
   PARTNERSHIPS RTL
   ============================================ */
html[dir="rtl"] .partnerships .container-fluid {
    padding-right: 4rem;
    padding-left: 0;
}

html[dir="rtl"] .partnerships__carousel-wrapper {
    padding-right: 4rem;
    padding-left: 0;
}

/* ============================================
   NEWS SECTION RTL
   ============================================ */
html[dir="rtl"] .news__item-number {
    right: auto;
    left: 2rem;
}

html[dir="rtl"] .news__carousel-wrapper {
    padding-right: 15px;
    padding-left: 0;
}

/* ============================================
   LAST BANNER RTL
   ============================================ */
html[dir="rtl"] .last-banner__content {
    text-align: right;
}

html[dir="rtl"] .last-banner__background .container-fluid {
    text-align: right;
}

/* ============================================
   FOOTER RTL
   ============================================ */

/* ============================================
   STORY SECTION RTL
   ============================================ */
html[dir="rtl"] .story-section-bg .row .box .icon {
    text-align: left;
}

/* ============================================
   OUR TEAM SECTION RTL
   ============================================ */
html[dir="rtl"] .our-team-section .slider-content .our-team-item .content {
    text-align: center;
}

/* ============================================
   PARTNERSHIPS SECTION RTL
   ============================================ */
html[dir="rtl"] .partnerships-sec .slider-content .partnerships-item .content {
    text-align: center;
}

html[dir="rtl"] .partnerships-sec .slider-content .partnerships-item .content p {
    text-align: center;
}

/* ============================================
   AWARDS SECTION RTL
   ============================================ */
   html[dir="rtl"] .awards-section ul li .box .year,
   html[dir="rtl"] .awards-section ul {direction: rtl;}

   html[dir="rtl"] .awards-section ul li .box::after {
    left: -105px;
    right: auto;
}
html[dir="rtl"] .awards-section ul li .box::before {
    left: -96px;
    right: auto;
    width: 95px;
}
html[dir="rtl"] .awards-section ul li:nth-child(even) .box::before {
    right: -95px;
    left: auto;
}
html[dir="rtl"] .awards-section ul li:nth-child(even) .box::after {
    left: auto;
    right: -105px;
}






/* ============================================
   DEVELOPMENTS SECTION RTL
   ============================================ */
html[dir="rtl"] .developments-slider__label {
    left: auto;
    right: 20px;
}

html[dir="rtl"] .developments-slider__content {
    right: auto;
    left: 0;
}

html[dir="rtl"] .developments-slider.owl-carousel .owl-dots {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .developments-project-card__content {
    text-align: right;
}
.developments-filter__select {
    background-position: left 8px center;
    padding-left: 30px;
    padding-right: 12px;
}



/* ============================================
   NEWSROOM SECTION RTL
   ============================================ */


/* ============================================
   MEDIA SLIDER SECTION RTL
   ============================================ */
   html[dir="rtl"] .media-slider__content {
    right: 55px;
}
html[dir="rtl"] .media-slider.owl-carousel .owl-dots {
    right: auto;
    left: 6vw;
}


/* ============================================
   PROJECT DETAILS RTL
   ============================================ */

/* ============================================
   PROJECT GALLERY RTL
   ============================================ */
html[dir="rtl"] .project-gallery-slider .owl-item.prev .project-gallery-slider__item {
    transform-origin: left center;
}

html[dir="rtl"] .project-gallery-slider .owl-item.next .project-gallery-slider__item {
    transform-origin: right center;
}

/* ============================================
   PROJECT RESOURCES RTL
   ============================================ */
html[dir="rtl"] .project-resources-header.text-left {
    text-align: right;
}

html[dir="rtl"] .story-section .logo {
    right: 0;
    left: auto;
}

/* ============================================
   CONTACT SECTIONS RTL
   ============================================ */
html[dir="rtl"] .contact-section-1__left {
    text-align: right;
}

html[dir="rtl"] .contact-section-1__form-box {
    text-align: right;
}

html[dir="rtl"] .contact-section-1__form-group {
    text-align: right;
}

html[dir="rtl"] .contact-section-2__map-footer-left {
    text-align: right;
}

html[dir="rtl"] .contact-section-2__map-footer-right {
    text-align: left;
}

html[dir="rtl"] .contact-section-3__left {
    padding-right: 0;
    padding-left: 40px;
}

html[dir="rtl"] .contact-section-3__box > .row::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .contact-section-3__box-left {
    padding-right: 0;
    padding-left: 20px;
}

html[dir="rtl"] .contact-section-3__box-right {
    padding-left: 0;
    padding-right: 20px;
}
html[dir="rtl"] .standard-section__image {
    padding-right: 8rem;
    padding-left: 0;
}
html[dir="rtl"] .standard-section__image .logo {
    right: 0;
    left: auto;
}
/* html[dir="rtl"] .standard-section__content {
    padding-left: 55px;
    padding-right: 0;
} */
html[dir="rtl"] .standard-section .container-fluid {
    padding-right: 4rem;
    padding-left: 0;
}
/* Floating Contact Buttons */
html[dir="rtl"] .floating-contact-buttons {
    right: auto;
    left: 30px;
  }
/* ============================================
   DOWNLOAD MODAL RTL
   ============================================ */
html[dir="rtl"] .download-modal__close {
    right: auto;
    left: 15px;
}


html[dir="rtl"] .download-modal__form {
    text-align: right;
}

html[dir="rtl"] .download-modal__form-group {
    text-align: right;
}
html[dir="rtl"] .download-modal__form-input {
    direction: rtl;
}

/* ============================================
   RESPONSIVE RTL STYLES
   ============================================ */

/* Tablet and below RTL */
@media (max-width: 991.98px) {
    html[dir="rtl"] .standard-section .container-fluid {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    html[dir="rtl"] .standard-section__image {
        padding-right: 0;
        padding-left: 0;
    }
    html[dir="rtl"] .partnerships .container-fluid {
        padding-right: 1rem;
        padding-left: 0;
    }

    html[dir="rtl"] .partnerships__carousel-wrapper {
        padding-right: 15px;
        padding-left: 0;
    }

    html[dir="rtl"] .news__carousel-wrapper {
        padding-right: 15px;
        padding-left: 0;
    }

    html[dir="rtl"] .awards-section ul li .box::before {
        right: auto;
        left: -30px;
    }

    html[dir="rtl"] .awards-section ul li .box::after {
        right: auto;
        left: -37px;
    }

    html[dir="rtl"] .awards-section ul li:nth-child(even) .box::before {
        left: auto;
        right: -30px;
    }

    html[dir="rtl"] .awards-section ul li:nth-child(even) .box::after {
        left: auto;
        right: -37px;
    }

    html[dir="rtl"] .tabber-group .tabsv {
        padding-right: 0;
        padding-left: 0;
    }

    html[dir="rtl"] .tabber-group .serv-left {
        padding-left: 0;
        padding-right: 0;
    }

    html[dir="rtl"] .tabber-group .tabsv ul li span.textheader {
        padding-left: 10px;
        padding-right: 0;
        transform: none;
    }

    html[dir="rtl"] .developments-slider__content {
        right: auto;
        left: 0;
    }

    html[dir="rtl"] .developments-slider.owl-carousel .owl-dots {
        right: auto;
        left: 30px;
    }


    html[dir="rtl"] .media-slider.owl-carousel .owl-dots {
        right: auto;
        left: 6vw;
    }

    html[dir="rtl"] .contact-section-3__left {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Mobile RTL */
@media (max-width: 767.98px) {
    html[dir="rtl"] .floating-contact-buttons {
        right: auto;
        left: 10px;
      }
    html[dir="rtl"] .hero-back-button {
        right: 1.5rem;
        left: auto;
    }

    html[dir="rtl"] .hero-slider-wrapper .owl-dots {
        left: 1.5rem;
        right: auto;
    }

    html[dir="rtl"] .partnerships__carousel-wrapper {
        padding-right: 15px !important;
        padding-left: 0 !important;
    }

    html[dir="rtl"] .news__carousel-wrapper {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    html[dir="rtl"] .news__carousel {
        padding: 0;
    }

    html[dir="rtl"] .tabber-group .tabsv ul li {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid #fff;
    }

    html[dir="rtl"] .tabber-group .tabsv ul li span.number {
        padding-left: 15px;
        padding-right: 0;
    }

    html[dir="rtl"] .developments-slider__label {
        right: 15px;
        left: auto;
    }

    html[dir="rtl"] .developments-slider.owl-carousel .owl-dots {
        left: 20px;
        right: auto;
    }

    html[dir="rtl"] .media-slider__label {
        right: 15px;
        left: auto;
    }

    html[dir="rtl"] .media-slider.owl-carousel .owl-dots {
        left: 15px;
        right: auto;
    }

    html[dir="rtl"] .media-slider.owl-carousel .owl-nav {
        padding: 0 15px;
    }
}

/* Small Mobile RTL */
@media (max-width: 575.98px) {
    html[dir="rtl"] .hero-back-button {
        right: 1rem;
        left: auto;
    }

    html[dir="rtl"] .hero-slider-wrapper .owl-dots {
        left: 1rem;
        right: auto;
    }
}

/* Developments Section Responsive RTL */
@media (max-width: 1199px) {
    html[dir="rtl"] .developments-slider__content {
        right: auto;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .developments-slider__content {
        right: auto;
        left: 0;
    }
}

@media (max-width: 767.98px) {
    html[dir="rtl"] .developments-slider__label {
        right: 15px;
        left: auto;
    }

    html[dir="rtl"] .developments-slider.owl-carousel .owl-dots {
        left: 20px;
        right: auto;
    }

    html[dir="rtl"] .media-slider__label {
        right: 15px;
        left: auto;
    }

    html[dir="rtl"] .media-slider__content {
        right: auto;
        left: 0;
    }

    html[dir="rtl"] .media-slider.owl-carousel .owl-dots {
        left: 15px;
        right: auto;
    }
}

/* Contact Sections Responsive RTL */
@media (max-width: 991.98px) {
    html[dir="rtl"] .contact-section-1__left {
        padding-left: 0;
        padding-right: 0;
    }


    html[dir="rtl"] .contact-section-3__left {
        padding-left: 0;
        padding-right: 0;
    }

    html[dir="rtl"] .contact-section-3__box-left {
        padding-left: 0;
        padding-right: 0;
    }

    html[dir="rtl"] .contact-section-3__box-right {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    html[dir="rtl"] .contact-section-2__map-footer {
        flex-direction: column;
        text-align: center;
    }
}
