/* Atyaf */
@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&display=swap');

/* RTL Style CSS Code */

@font-face {
  font-family: 'Hacen_Tunisia';
  src: url('../fonts/Hacen Tunisia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hacen_Tunisia';
  src: url('../fonts/Hacen Tunisia Bd.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Hacen_Tunisia';
  src: url('../fonts/Hacen Tunisia Lt.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

.rtl,
.rtl body {
  font-family: 'Hacen_Tunisia', sans-serif !important;
  font-weight: normal;
}

.rtl h1,
.rtl h2,
.rtl h3,
.rtl h4,
.rtl h5,
.rtl h6,
.rtl strong,
.rtl b,
.rtl .main-menu .navigation > li > a {
  font-family: 'Hacen_Tunisia', sans-serif !important;
  font-weight: bold;
}

.rtl button,
.rtl input,
.rtl textarea,
.rtl select {
  font-family: 'Hacen_Tunisia', sans-serif !important;
}

.rtl .light-text {
  font-family: 'Hacen_Tunisia', sans-serif !important;
  font-weight: 300;
}

.rtl .row,
.rtl .d-flex {
  flex-direction: row;
}

.rtl .main-menu .navigation > li {
  float: right;
}

.rtl .sticky-header .logo {
  float: right;
  padding-left: 25px;
}

.rtl .main-menu {
  text-align: right;
}

.rtl .main-header .main-menu .navigation > li > ul > li > ul > li,
.rtl .main-header .main-menu .navigation > li > ul > li,
.rtl .main-menu .navigation > li > ul > li {
  text-align: right;
}

.rtl .main-header .main-menu .navigation > li > ul {
  padding: 20px 25px 20px 25px;
}

.rtl .main-header .main-menu .navigation > li > ul > li > a:before {
  right: 0px;
  left: auto;
  opacity: 0;
}

.rtl .main-menu .navigation > li > ul > li:hover > a {
  padding-left: 0px !important;
  padding-right: 30px;
}

.rtl .main-menu .navigation > li > ul > li > a:before {
  left: auto;
  right: 8px;
}

.rtl .main-menu .navigation > li > ul > li.dropdown > a:after {
  right: auto;
  left: 10px;
  transform: rotate(180deg);
}

.rtl .main-menu .navigation > li > ul > li > ul {
  left: auto;
  right: 100%;
}

.rtl .main-header .main-menu .navigation > li > ul > li > ul {
  right: 100%;
  left: auto;
}

.rtl .main-menu .navigation > li > ul {
  left: auto;
  right: 0px;
}

.rtl .main-menu .navigation > li.dropdown:hover > ul {
  left: auto;
  right: 0px;
}

.rtl .main-menu .navigation > li > ul > li > ul > li:hover > a {
  padding-left: 0px;
  padding-right: 30px;
}

.rtl .main-menu .navigation > li > ul > li > ul > li > a:before {
  left: auto;
  right: 8px;
  opacity: 0;
}

.rtl .main-header .main-menu .navigation > li:first-child {
  margin-right: 0px;
}

.rtl .main-header .main-menu .navigation > li:last-child {
  margin-right: 25px;
}

.rtl .search-popup .form-group input[type='text'],
.rtl .search-popup .form-group input[type='search'] {
  text-align: right;
}

.rtl .about-sidebar .content-box,
.rtl .search-popup .form-group input[type='submit'],
.rtl .search-popup .form-group button {
  text-align: right;
}

.rtl .search-popup .form-group input[type='submit'],
.rtl .search-popup .form-group button {
  right: 0px;
  left: auto;
}

.rtl .about-sidebar_list li {
  padding-left: 0px;
  padding-right: 30px;
}

.rtl .about-sidebar_list li:before {
  right: 0px;
  left: auto;
}

.rtl .about-sidebar .social-box {
  text-align: right;
  margin-right: 35px;
}

.rtl .default-form .form-group input[type='text'],
.rtl .default-form .form-group input[type='password'],
.rtl .default-form .form-group input[type='tel'],
.rtl .default-form .form-group input[type='email'],
.rtl .default-form .form-group textarea,
.rtl .shipping-form .form-group input[type='text'],
.rtl .shipping-form .form-group input[type='password'],
.rtl .shipping-form .form-group input[type='tel'],
.rtl .shipping-form .form-group input[type='email'],
.rtl .shipping-form .form-group select,
.rtl .shipping-form .form-group textarea,
.rtl .shipping-form .form-group .ui-selectmenu-button.ui-button,
.rtl .contact-form .form-group input[type='text'],
.rtl .contact-form .form-group input[type='password'],
.rtl .contact-form .form-group input[type='tel'],
.rtl .contact-form .form-group input[type='email'],
.rtl .contact-form .form-group select,
.rtl .contact-form .form-group textarea,
.rtl .comment-form .form-group input[type='text'],
.rtl .comment-form .form-group input[type='password'],
.rtl .comment-form .form-group input[type='tel'],
.rtl .comment-form .form-group input[type='email'],
.rtl .comment-form .form-group textarea,
.page-wrapper.rtl {
  text-align: right;
}

.rtl .sec-title_title {
  display: flex;
}

/* ============================================
   HEADER - COMPLETE PROFESSIONAL RTL STYLES
   Mirror of English Header Layout
   ============================================ */

/* Header Top Section */
.rtl .header-top .social-box {
  margin-left: 0;
  margin-right: 25px;
}

.rtl .main-header.header-style-one .header-lower .inner-container .d-flex {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.rtl .main-header.header-style-one .header-lower .logo-box {
  position: relative;
  flex-shrink: 0;
}

.rtl .main-header.header-style-one .header-lower .logo-box .logo {
  padding: 25px 65px 5px 45px; /* More space on both sides to clear slants */
}

.rtl .main-header.header-style-one .header-lower .logo-box .logo:before {
  border-radius: 0px 80px 80px 0px; /* Mirror: was 80px 0px 0px 80px */
  left: auto;
  right: 0px;
}

.rtl .main-header.header-style-one .header-lower .logo-box .logo:after {
  left: -61px; /* Mirror: was right: -61px */
  right: auto;
  border-left: 61px solid #8abff5; /* Mirror: was border-right */
  border-right: none;
}

.rtl .main-header.header-style-one .header-lower .logo-box:before {
  left: -13px;
  right: auto;
  border-bottom: 18px solid var(--main-color);
  border-left: 14px solid transparent;
  border-right: none;
}

.rtl .main-header.header-style-one .header-lower .header-navbar {
  position: relative;
  flex: 1;
  padding: 0px 0px 0px 0px;
  gap: 8px;
  margin-right: 80px;
}

.rtl .main-header.header-style-one .header-lower .header-navbar:before {
  right: -60px;
  left: auto;
}

.rtl .main-header.header-style-one .header-lower .header-navbar:after {
  right: -60px;
  left: auto;
  border-bottom: 90px solid var(--white-color);
  border-right: 60px solid transparent;
  border-left: none;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .nav-outer:before {
  border-radius: 50px 0px 0px 50px;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .nav-outer {
  margin-right: 0;
  margin-left: 0;
  justify-content: flex-start !important;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .outer-box {
  margin-left: 15px;
  margin-right: 0;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .search-box-btn {
  margin-right: 0;
  margin-left: 10px;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .main-header_button {
  margin-left: 0;
  margin-right: 0;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .navbar-nav {
  gap: 0;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .navbar-nav li {
  margin-left: 0;
  margin-right: 0;
}

.rtl .main-header.header-style-one .header-lower .logo-box .logo:before {
  left: 0px;
  right: 0px;
  border-radius: 0 80px 80px 0;
}

.rtl .main-header.header-style-one .header-lower .logo-box .logo:after {
  right: auto;
  left: -61px;
  border-right: none;
  border-top: 90px solid #8abff5;
  border-left: 62px solid transparent;
}

.rtl .main-header.header-style-one .header-lower .logo-box:before {
  right: auto;
  left: -13px;
  border-right: none;
  border-bottom: 18px solid var(--main-color);
  border-left: 14px solid transparent;
}

.rtl .main-header.header-style-one .header-lower .header-navbar .nav-outer:before {
  border-radius: 50px 0 0 50px;
}

.rtl .main-header.header-style-one .header-lower .header-navbar:after {
  left: auto;
  right: -60px;
  border-left: none;
  border-bottom: 90px solid var(--white-color);
  border-right: 60px solid transparent;
}

.rtl .main-header.header-style-one .header-lower .header-navbar:before {
  left: auto;
  right: -60px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid var(--white-color);
}

.rtl .main-header .main-menu .navigation {
  direction: rtl;
}

.rtl .main-header .main-menu .navigation > li {
  margin-left: 12px;
  margin-right: 0;
  float: right;
}

.rtl .main-header .main-menu .navigation > li:first-child {
  margin-right: 0px !important;
  margin-left: 12px !important;
}

.rtl .main-header .main-menu .navigation > li:last-child {
  margin-left: 0px !important;
}

.rtl .main-header .main-menu .navigation > li > a {
  padding-right: 0;
  padding-left: 15px;
  display: block;
}

.rtl .main-header .main-menu .navigation > li > a > span {
  right: auto;
  left: -5px;
  top: 50%;
  margin-top: -2px;
}

.rtl .navSidebar-button {
  margin-left: 0;
  margin-right: 20px;
}

.rtl .navSidebar-button span {
  right: auto;
  left: 10px;
}

.rtl .main-header.header-style-one.fixed-header .header-lower .logo-box .logo {
  padding: 15px 0;
}

.rtl .main-header .main-menu .navigation > li .mega-menu {
  direction: rtl;
  text-align: right;
}

.rtl .main-header .main-menu .navigation > li .mega-menu .column {
  text-align: right;
}

.rtl .main-header .main-menu .navigation > li > ul,
.rtl .main-header .main-menu .navigation > li > ul > li > ul {
  direction: rtl;
  text-align: right;
  left: auto;
  right: 0;
}

.rtl .main-header .main-menu .navigation > li > ul > li > ul {
  left: auto;
  right: 100%;
}

.rtl .main-header .main-menu .navigation > li.dropdown > a:after {
  margin-left: 0;
  margin-right: 8px;
}

.rtl .main-header .mobile-menu {
  direction: rtl;
}

.rtl .main-header .mobile-menu .navigation {
  direction: rtl;
}

.rtl .main-header .mobile-menu .navigation li {
  text-align: right;
}

.rtl .main-header .mobile-menu .navigation li .dropdown-btn {
  left: 0;
  right: auto;
}

.rtl .main-header.header-style-two .header-lower .inner-container {
  padding-left: 25px;
  padding-right: 0px;
}

.rtl .header-top .social-box {
  margin-left: 0px;
  margin-right: 20px;
}

.rtl .main-header.header-style-two .header-lower .logo-box:before {
  border-radius: 10px 80px 80px 10px;
  border-right: 0px;
  border-left: 7px solid var(--main-color);
}

.rtl .search-popup .close-search {
  left: 25px;
  right: auto;
}

.rtl .slider-one_content {
  display: flex;
  justify-content: end;
}

.rtl .slider-one .swiper-slide {
  overflow: hidden;
}

.rtl .slider-one_image-layer {
  left: -80px;
  right: auto;
}

.rtl .feature-block_one-arrow {
  left: 0px;
  right: auto;
}

.rtl .about-one_content {
  text-align: right;
  padding-right: 0px;
  padding-left: 0px;
}

.rtl .news-widget-block {
  padding-left: 0px;
  padding-right: 85px;
}

.rtl .news-widget_image {
  right: 0px;
  left: auto;
}

.rtl .counter-block_one-inner {
  padding-left: 0px;
  padding-right: 80px;
}

.rtl .counter-block_one-icon {
  right: 0px;
  left: auto;
}

.rtl .about-two_image-three {
  left: 20px;
  right: auto;
}

.rtl .room-block_one-list li {
  flex-direction: row-reverse;
}

.rtl .about-one_list li {
  padding-left: 0px;
  padding-right: 30px;
}

.rtl .features-two_list li .icon,
.rtl .about-three_info-author,
.rtl .footer-contact_list li .icon,
.rtl .price-block_one-list li:before,
.rtl .about-one_list li:before {
  right: 0px;
  left: auto;
}

.rtl .default-count-box {
  left: 0px;
  right: auto;
}

.rtl .price-block_one-icon {
  left: 30px;
  right: auto;
}

.rtl .features-two_list li,
.rtl .price-block_one-list li {
  padding-left: 0px;
  padding-right: 30px;
}

.rtl .news-block_two-content {
  padding-left: 20px;
  padding-right: 0px;
}

.rtl .footer-contact_list li {
  padding-left: 0px;
  padding-right: 70px;
}

.rtl .footer-list li a:hover {
  transform: none !important;
  padding-left: 0;
  padding-right: 0;
}

.rtl .footer-list li a::before {
  display: none !important;
}

.rtl .footer-list li a:hover::before {
  display: none !important;
}

.rtl .slider-three_heading {
  padding-right: 0px;
}

.rtl .about-three p,
.rtl .about-three_bold,
.rtl .about-three .sec-title,
.rtl .slider-three_text {
  max-width: 100%;
}

.rtl .property-search-form .form-group input,
.rtl .newsletter-box .form-group input[type='text'],
.rtl .newsletter-box .form-group input[type='email'] {
  text-align: right;
}

.rtl .newsletter-box .form-group button {
  left: 5px;
  right: auto;
}

.rtl .about-three_content {
  padding-left: 0px;
  padding-right: 40px;
}

.rtl .about-three_info-inner {
  padding-left: 0px;
  padding-right: 100px;
}

.rtl .news-block_four-button::after,
.rtl .faq-one_image-two {
  display: none;
}

.rtl .about-three_image-two {
  display: inline-block;
  left: auto;
  right: -120px;
}

@media only screen and (max-width: 991px) {
  .rtl .about-three_image-two {
    position: relative;
    right: auto;
    left: auto;
    margin: 20px auto 0;
    display: block;
    width: 80%;
    z-index: 99;
    transform: none !important;
    border-radius: 20px;
  }
}

.rtl .rooms-three-arrow {
  left: 0px;
  right: auto;
}

.rtl .features-three_list li {
  padding-left: 0px;
  padding-right: 25px;
}

.rtl .features-three_list li::before {
  right: 0px;
  left: auto;
}

.rtl .features-three_image {
  margin-left: 20px;
}

.rtl .faq-one_image {
  margin-right: 15px;
}

.rtl .accordion-box .block .icon-outer {
  left: 16px;
  right: auto;
}

.rtl .accordion-box .block .acc-btn {
  padding-right: 30px;
  padding-left: 70px;
}

.rtl .news-three .swiper-container {
  margin-left: -350px;
  margin-right: 0px;
}

.rtl .news-three_blocks-outer::before {
  right: 80px;
  left: -800px;
}

.rtl .newsletter-box_two .form-group input[type='text'],
.rtl .newsletter-box_two .form-group input[type='email'] {
  padding-right: 25px;
  text-align: right;
}

.rtl .newsletter-box_two .form-group button {
  left: 5px;
  right: auto;
}

.rtl .service-detail_list li,
.rtl .partners-detail_list li,
.rtl .education-block {
  padding-left: 0px;
  padding-right: 30px;
}

.rtl .service-detail_list li:before,
.rtl .partners-detail_list li:before,
.rtl .education-block:before {
  right: 0px;
  left: auto;
}

.rtl .category-list li span {
  left: 10px;
  right: auto;
}

.rtl .sidebar .related-posts .post {
  padding-left: 0px;
  padding-right: 150px;
}

.rtl .sidebar .related-posts .post .post-thumb {
  right: 0px;
  left: auto;
}

.rtl .item-quantity {
  margin-right: 0px;
  margin-left: 30px;
}

.rtl .comment-box .comment {
  padding-left: 0px;
  padding-right: 80px;
}

.rtl .comment-box .author-thumb {
  right: 0px;
  left: auto;
}

.rtl .order-totals li span {
  left: 25px;
  right: auto;
}

.rtl .order-box .order-total span,
.rtl .cart-totals li span {
  left: 0px;
  right: auto;
}

.rtl .post-widget .post {
  padding-left: 0px;
  padding-right: 160px;
}

.rtl .post-widget .post .thumb {
  right: 0px;
  left: auto;
}

.rtl .news-author-post_inner {
  padding-left: 0px;
  padding-right: 180px;
}

.rtl .news-detail_author-image {
  right: 0px;
  left: auto;
}

.rtl .comment-form-outer .rating {
  margin-right: 15px;
}

.rtl .comment-form-outer .rating strong {
  margin-left: 0px;
}

.rtl .slider-one-arrow {
  left: 0px;
  right: auto;
}

.rtl .features-one-arrow {
  left: 0px;
  right: auto;
}

.rtl .report-detail_list li {
  padding-left: 0px;
  padding-right: 80px;
}

.rtl .report-detail_list li .icon {
  right: 0px;
  left: auto;
}

.rtl .contact-one_info-list li {
  padding-left: 0px;
  padding-right: 100px;
}

.rtl .contact-one_info-list li .icon {
  right: 0px;
  left: auto;
}

/* عكس ترتيب الأعمدة في اللغة العربية */
.rtl .contact-one_title-column {
  order: 1;
}

.rtl .contact-one_form-column {
  order: 2;
}

/* Atyaf */

@media only screen and (max-width: 1780px) {
}

@media only screen and (max-width: 1600px) {
}

@media only screen and (max-width: 1550px) {
  .rtl .rooms-one_pattern {
    display: none;
  }

  .rtl .main-header.header-style-one .header-lower .inner-container {
    padding-right: 0px;
  }
}

@media only screen and (max-width: 1360px) {
}

@media only screen and (max-width: 1350px) {
  .rtl .main-header.header-style-one .header-lower .inner-container {
    padding-left: 20px;
  }

  .rtl .main-header.header-style-one .header-lower .header-navbar .main-header_button {
    display: none;
  }

  .rtl .main-header.header-style-one .header-lower .logo-box .logo {
    padding-right: 0px;
  }

  .rtl .main-header.header-style-one .header-lower .header-navbar {
    padding: 0px 0px;
  }
}

@media only screen and (max-width: 1300px) {
}

@media only screen and (max-width: 1240px) {
  .rtl .news-three .swiper-container {
    margin: 0px 0px;
  }
}

@media only screen and (max-width: 1140px) {
}

@media only screen and (max-width: 1023px) {
}

@media only screen and (max-width: 990px) {
  .rtl .main-header.header-style-one .header-lower .logo-box .logo::before {
    border-radius: 0px 0px;
  }

  .rtl .main-header.header-style-two .header-lower .inner-container {
    padding-left: 0px;
  }

  .rtl .main-header.header-style-one .header-lower .inner-container {
    padding-left: 0px;
  }

  .rtl .about-three .pattern-one {
    display: none;
  }

  .rtl .about-three_content {
    padding-right: 0px;
  }
}

@media only screen and (max-width: 767px) {
  .rtl .news-block_two-content {
    padding-right: 20px;
  }
}

@media only screen and (max-width: 599px) {
  .rtl .news-author-post_inner,
  .rtl .comment-box .comment {
    padding-right: 0px;
  }

  .rtl .comment-box .author-thumb {
    position: relative;
  }
}

@media only screen and (max-width: 479px) {
}

/* ADDITIONAL RTL FIXES */

/* Header Top */
.rtl .header-top .social-box {
  margin-left: 0;
  margin-right: 25px;
}

/* Main Menu Navigation */
.rtl .main-header .main-menu .navigation > li {
  margin-left: 32px;
  margin-right: 0 !important;
  float: none;
  display: inline-block;
}

.rtl .main-header .main-menu .navigation > li:last-child {
  margin-left: 0 !important;
}

.rtl .main-header .main-menu .navigation > li > a > span {
  left: -25px;
  right: auto;
}

/* Header Logo Padding adjustment */
.rtl .main-header.header-style-one .header-lower .logo-box .logo {
  padding: 25px 50px 5px 10px;
}

/* Footer Social Box */
.rtl .footer-social_box a {
  margin-left: 5px;
  margin-right: 0;
}

/* Button Styles Mirroring - Professional Layout */
.rtl .btn-style-one,
.rtl .btn-style-two,
.rtl .btn-style-three {
  padding: 6px 0px 6px 6px;
}

.rtl .btn-style-one i,
.rtl .btn-style-two i,
.rtl .btn-style-three i {
  margin-left: 0;
  margin-right: 15px;
  transform: rotate(135deg) !important;
}

.rtl .btn-style-one .btn-wrap,
.rtl .btn-style-two .btn-wrap,
.rtl .btn-style-three .btn-wrap {
  padding: 6px 6px 6px 6px;
  float: right;
}

/* WOW.js Animation Mirroring */
.rtl .wow.fadeInLeft {
  animation-name: fadeInRight;
}

.rtl .wow.fadeInRight {
  animation-name: fadeInLeft;
}

/* Footer List Links */
.rtl .footer-list li a:hover {
  padding-right: 35px;
  padding-left: 0;
}

.rtl .footer-list li a::before {
  right: 0;
  left: auto;
  transform: rotate(180deg);
}

/* Footer Bottom Nav */
.rtl .footer-bottom_navs li {
  margin-right: 10px;
  margin-left: 0;
}

/* Instagram Overlay Transform Origin */
.rtl .instagram-block_one-overlay {
  -webkit-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
}

.rtl .instagram-block_one-inner:hover .instagram-block_one-overlay {
  -webkit-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
}

/* General Text Alignments */
.rtl .sec-title,
.rtl .text,
.rtl p,
.rtl h1,
.rtl h2,
.rtl h3,
.rtl h4,
.rtl h5,
.rtl h6 {
  text-align: right;
}

/* Ensure centered section titles remain centered in RTL */
.rtl .sec-title.centered,
.rtl .sec-title.centered .sec-title_title,
.rtl .sec-title.centered .sec-title_heading,
.rtl .sec-title.centered .sec-title_text {
  text-align: center !important;
}

.rtl .sec-title.centered .sec-title_title {
  justify-content: center !important;
}

/* Breadcrumb */
.rtl .bread-crumb {
  float: none;
  direction: rtl;
  text-align: center;
  display: flex;
  justify-content: center;
}

.rtl .bread-crumb li {
  float: none;
  margin-right: 10px;
  margin-left: 10px;
  padding-right: 0;
  padding-left: 20px;
  display: inline-block;
}

.rtl .bread-crumb li:after {
  display: none;
}

.rtl .bread-crumb li:first-child::before {
  position: absolute;
  left: -65px;
  top: -2px;
  content: '::';
  font-size: 22px;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.rtl .form-check-input {
  float: right;
  margin-left: 0.5em;
  margin-right: -1.5em;
}

.rtl .sidebar-title h4:before {
  right: 0;
  left: auto;
}
.rtl .modal-header .close {
  margin: -1rem auto -1rem -1rem;
  margin-left: 0;
  float: left;
}

.rtl .fa-chevron-right:before {
  content: '\f053';
}

.rtl .fa-chevron-left:before {
  content: '\f054';
}

.rtl .fa-angle-right:before {
  content: '\f104';
}

.rtl .fa-angle-left:before {
  content: '\f105';
}

.rtl .fa-arrow-right:before {
  content: '\f060';
}

.rtl .fa-arrow-left:before {
  content: '\f061';
}

.rtl .slider-one_content {
  justify-content: flex-start;
}

.rtl .slider-one_content-inner {
  text-align: right;
}

.rtl .slider-one_socials {
  left: auto;
  right: 40px;
}

.rtl .slider-one_image-layer {
  left: 0;
  right: auto;
}

.rtl .slider-one-arrow {
  left: 0;
  right: auto;
}

.rtl .slider-one_dotted {
  bottom: 50px;
  right: auto;
  left: 45%;
}

.rtl .about-one {
  direction: rtl;
}

.rtl .about-one .row {
  direction: rtl;
  display: flex;
  flex-wrap: wrap;
}

.rtl .about-one .column {
  direction: rtl;
}

/* Rotate Title - Vertical Text */
.rtl .about-one_rotate-title {
  left: auto;
  right: 0;
  top: 0;
  transform: rotate(90deg);
  transform-origin: 51% 261%;
  color: var(--white-color);
  background-color: #484848;
}

.rtl .about-one_content {
  padding-left: 0;
  padding-right: 130px;
  text-align: right;
}
.rtl .about-one .sec-title {
  text-align: right;
}

.rtl .about-one .sec-title_title {
  justify-content: flex-start;
  direction: rtl;
}

.rtl .about-one .sec-title_heading {
  text-align: right;
}

.rtl .about-one .sec-title_text {
  text-align: right;
}

.rtl .about-one .sec-title_text p {
  text-align: right;
}

/* Button Styles */
.rtl .service-one .about-two_button {
  order: 5;
}
.rtl .about-one_button {
  direction: rtl;
}

.rtl .about-one_button .theme-btn {
  direction: rtl;
}

.rtl .about-one_button .theme-btn i {
  margin-left: 0;
  margin-right: 10px;
}

.rtl .about-one_button .btn-wrap {
  direction: rtl;
}

.rtl .about-one_button .text-one,
.rtl .about-one_button .text-two {
  direction: rtl;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

/* Image Section */
.rtl .about-one_image-outer {
  text-align: left;
  padding-right: 120px;
  padding-left: 0;
  padding-bottom: 95px;
}

.rtl .about-one_image {
  display: inline-block;
}

.rtl .about-one_image-two {
  left: auto;
  right: 0;
}

/* Counter Section */
.rtl .about-two_counter-outer {
  direction: rtl;
  margin-top: 40px;
}

.rtl .about-two_counter-outer .row {
  direction: rtl;
}

/* Individual Counter Blocks */
.rtl .counter-block_one {
  direction: rtl;
  text-align: center;
}

.rtl .counter-block_one strong {
  text-align: center;
  display: block;
}

.rtl .counter-block_one .count-box {
  text-align: center;
}

.rtl .counter-block_one-text {
  text-align: center;
}

/* Counter Block RTL */
.rtl .counter-block_one-inner {
  padding-left: 0;
  padding-right: 80px;
}

.rtl .counter-block_one-icon {
  left: auto;
  right: 0;
}

.rtl .counter-block_two-inner {
  text-align: left;
}

.rtl .counter-block_two-inner .border-layer {
  right: auto;
  left: 0;
  border-right: none;
  border-left: 2px solid var(--color-two);
}

.rtl .counter-block_two-inner .border-layer:before {
  right: auto;
  left: -8px;
  transform: rotate(-25deg);
}

.rtl .counter-block_two-text {
  padding: 25px 30px 0px 30px;
}

/* Services One RTL */
.rtl .service-one_pattern {
  right: auto;
  left: -130px;
}

.rtl .service-block_one-arrow {
  left: 0;
  right: auto;
  border-radius: 0 20px 0 0;
  box-shadow: 4px -4px 15px rgba(0, 79, 154, 0.15);
}

.rtl .service-block_one-inner:hover .service-block_one-arrow {
  border-radius: 0 25px 0 0;
  box-shadow: 6px -6px 20px rgba(0, 0, 0, 0.2);
}

.rtl .service-block_two-title:before {
  left: auto;
  right: 0;
}

.rtl .service-block_one-title {
  text-align: center;
}

.rtl .page-title h1 {
  text-align: center;
}

.rtl .service-block_one {
  float: none !important;
}

/* Fix animation for RTL */
.rtl .service-block_one-inner.wow {
  animation-name: fadeInRight !important;
}

/* News One RTL */
.rtl .news-block_one {
  float: none !important;
}

/* Footer RTL */
.rtl .main-footer .widgets-section .row {
  flex-direction: row !important;
  justify-content: space-between;
}

.rtl .main-footer .big-column:first-child .footer_column:first-child {
  order: 3;
}

.rtl .main-footer .big-column:first-child .footer_column:last-child {
  order: 4;
}

.rtl .main-footer .big-column:last-child .footer_column:first-child {
  order: 1;
}

.rtl .main-footer .big-column:last-child .footer_column:last-child {
  order: 2;
}

.rtl .footer-bottom .d-flex {
  flex-direction: row !important;
  justify-content: space-between;
}

/* CTA Two RTL */
.rtl .cta-two .d-flex {
  flex-direction: row !important;
  justify-content: space-between;
}

.rtl .cta-two_title {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.rtl .cta-two_button {
  margin-left: auto;
  margin-right: 0;
}

.rtl .partners-one-arrow {
  left: -30px !important;
  right: -30px !important;
  flex-direction: row-reverse;
}

.rtl .partners-one .partners-carousel-prev,
.rtl .partners-one .partners-carousel-next {
  transform: rotate(180deg);
}

.rtl .partners-one .partners-carousel-prev:hover,
.rtl .partners-one .partners-carousel-next:hover {
  transform: rotate(180deg) scale(1.15);
}

.rtl .partners-one .partners-carousel-prev {
  margin-left: 0;
  margin-right: 20px;
}

.rtl .partners-one .partners-carousel-next {
  margin-right: 0;
  margin-left: 20px;
}

.rtl .partners-block_one-plus {
  left: 25px;
  right: auto;
}

.rtl .partners-social_box a {
  margin-left: 15px;
  margin-right: 0;
}

.rtl .partners-block_one-overlay {
  transform-origin: left center !important;
}

.rtl .partners-block_one-inner:hover .partners-block_one-overlay {
  transform-origin: right center !important;
}

.rtl .partners-block_one-more span {
  display: inline-block;
  transform: rotate(180deg);
  margin-right: 5px;
  margin-left: 0;
}

/* Swiper slide rotations mirrored for RTL */
.rtl .partners-one .swiper-slide.swiper-slide-prev .partners-block_one {
  transform: translateX(-40%) rotate(12deg) !important;
}

.rtl .partners-one .swiper-slide.swiper-slide-next .partners-block_one {
  transform: translateX(40%) rotate(-12deg) !important;
}

.rtl .partners-block_two .share-box {
  left: 20px;
  right: auto;
}

.rtl .partners-block_two-socials {
  left: 0;
  right: auto;
  transform: translate(-100px, 100px);
}

/* News One RTL */
.rtl .news-block_two-author {
  left: 10px;
  right: auto;
}

.rtl .news-block_two-author span {
  margin-left: 5px;
  margin-right: 0;
}

.rtl .news-block_two-content {
  padding: 10px 0 10px 30px;
}

.rtl .news-block_two-date .icon {
  margin-left: 8px;
  margin-right: 0;
}

.rtl .news-three .three-item_carousel-next {
  margin-right: 10px;
  margin-left: 0;
}

.rtl .news-three_blocks-outer:before {
  right: 150px;
  left: -600px;
}

.rtl .news-three .swiper-container {
  margin-left: -350px;
  margin-right: 0;
  padding: 10px 15px 10px 0;
}

.rtl .news-block_three-date {
  left: 15px;
  right: auto;
}

.rtl .news-block_three-meta li {
  margin-left: 15px;
  margin-right: 0;
}

.rtl .news-block_three-meta li span {
  margin-left: 0;
  margin-right: 8px;
}

/* News Block Four RTL */
.rtl .news-block_four-date {
  left: 10px;
  right: auto;
}

.rtl .news-block_four-meta li {
  padding-right: 30px;
  padding-left: 0;
  margin-left: 15px;
  margin-right: 0;
}

.rtl .news-block_four-meta li .icon {
  right: 0;
  left: auto;
}

.rtl .news-block_four-button:before {
  right: 25px;
  left: 0;
}

.rtl .news-block_four-button:after {
  left: 0;
  right: auto;
  content: '\f0d9';
}

.rtl .news-block_four-more {
  border-radius: 50px 50px 50px 0px;
  z-index: 10;
  cursor: pointer;
}

/* CTA One RTL */
.rtl .cta-one_pattern {
  background-position: left bottom;
}

.rtl .cta-two .curve-one {
  right: auto;
  left: 130px;
}

.rtl .cta-two .curve-two {
  right: auto;
  left: 199px;
}

.rtl .cta-two .inner-container {
  padding: 70px 0 70px 80px;
}

.rtl .cta-two .image-layer {
  right: auto;
  left: 0;
}

/* Vacancies RTL */
.rtl .Vacancies-block_one-inner {
  padding: 45px 0 15px 60px;
}

.rtl .Vacancies-block_one-inner:before {
  left: 0;
  right: 50px;
  border-radius: 35px 0 0 0;
}

.rtl .Vacancies-block_one-inner:after {
  left: 100px;
  right: 32px;
  border-radius: 0 0 30px 0;
  border-left: none;
  border-right: 2px solid var(--main-color);
}

.rtl .Vacancies-block_one-quote {
  right: auto;
  left: 0;
}

.rtl .Vacancies-block_one-text {
  padding-left: 0;
  padding-right: 90px;
}

.rtl .Vacancies-block_one-info {
  padding-left: 0;
  padding-right: 220px;
}

.rtl .Vacancies-block_one-author {
  left: auto;
  right: 0;
}

.rtl .vacancy-btn-text {
  margin-right: 0;
  margin-left: 8px;
}

/* Counter Two RTL Font */
.rtl .counter-block_two-text {
  font-family: 'Hacen_Tunisia', sans-serif !important;
  line-height: 1.3;
}

.rtl .vacancy-apply-btn-link:hover .vacancy-btn-icon {
  transform: translateX(-5px);
}

.rtl .Vacancies-two .right-box {
  float: left;
}

.rtl .Vacancies-two .right-box_inner {
  float: right;
  padding: 100px 100px 100px 15px;
}

.rtl .Vacancies-two .left-box {
  left: auto;
  right: 0;
}

.rtl .Vacancies-block_two .inner .info .quote {
  left: auto;
  right: 0;
}

/* Sidebar Search RTL corrections */
.rtl .sidebar .search-box .form-group input[type='text'],
.rtl .sidebar .search-box .form-group input[type='search'] {
  padding: 10px 30px 10px 50px;
}

.rtl .sidebar .search-box .form-group button {
  left: 0;
  right: auto;
}

.rtl .category-list li span {
  left: 10px;
  right: auto;
}

.rtl .post-widget .post {
  padding-left: 0;
  padding-right: 160px;
}

.rtl .post-widget .post .thumb {
  left: auto;
  right: 0;
}

/* Counter Two Pattern RTL */
.rtl .counter-two .pattern-one {
  right: auto;
  left: 0;
}

.rtl .counter-two .pattern-two {
  left: auto;
  right: 0;
}

.rtl .main-footer .footer-text {
  font-size: 17px !important;
  line-height: 1.8em !important;
  font-weight: normal !important;
  opacity: 0.95;
}

/* Footer Links */
.rtl .main-footer .footer-list li a {
  font-size: 17px !important;
  font-weight: normal !important;
  letter-spacing: 0;
}

/* Footer Contact Info */
.rtl .main-footer .footer-contact_info {
  font-size: 16px !important;
  line-height: 1.8em !important;
  font-weight: normal !important;
}

/* Footer Headings */
.rtl .main-footer .footer-title {
  font-size: 22px !important;
  font-weight: bold !important;
  letter-spacing: 0;
  margin-bottom: 25px;
}

/* Footer Bottom Copyright */
.rtl .main-footer .main-footer_copyright,
.rtl .main-footer .footer-bottom_navs li a {
  font-size: 15px !important;
  font-weight: normal !important;
  letter-spacing: 0;
}

/* Contact Info Label Strong */
.rtl .main-footer .footer-contact_info p strong {
  font-size: 17px !important;
  font-weight: bold !important;
}

/* Widget Title in News */
.rtl .news-widget_title a {
  font-size: 16px !important;
  line-height: 1.5em;
  font-weight: bold !important;
}

/* Input Fields in Footer */
.rtl .newsletter-box .form-group input[type='text'],
.rtl .newsletter-box .form-group input[type='email'] {
  font-size: 15px !important;
  font-weight: normal !important;
}

/* News Detail RTL Fixes */
.rtl .blog-detail .news-date {
  left: auto;
  right: 20px;
}

.rtl .blog-detail .post-meta li {
  margin-right: 0;
  margin-left: 15px;
}

.rtl .blog-detail .post-meta li .icon {
  margin-right: 0;
  margin-left: 5px;
}

.rtl .blog-detail .text blockquote {
  border-left: none;
  border-right: 4px solid #3498db;
  border-radius: 5px 0 0 5px;
}

.rtl .author-box .author-image {
  margin-right: 0;
  margin-left: 25px;
}

.rtl .author-box .social-icon li {
  margin-right: 0;
  margin-left: 8px;
}

.rtl .comments-area .group-title h3:after,
.rtl .comment-form .group-title h3:after {
  left: auto;
  right: 0;
}

.rtl .comment-image {
  margin-right: 0;
  margin-left: 20px;
}

.rtl .comment-info .comment-name {
  margin-right: 0;
  margin-left: 15px;
}

.rtl .social-links a {
  margin-left: 0;
  margin-right: 8px;
}

@media (max-width: 767px) {
  .rtl .author-box .author-image {
    margin-left: 0;
  }
}

/* Vacancies One RTL */
.rtl .Vacancies-block_one-inner {
  padding: 45px 0px 15px 60px;
}

.rtl .Vacancies-block_one-inner:before {
  left: 0px;
  right: 50px;
  border-radius: 35px 0px 0px 0px;
}

.rtl .Vacancies-block_one-inner:after {
  left: 100px;
  right: 32px;
  border-left: none;
  border-right: 2px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  border-radius: 0px 0px 30px 0px;
}

.rtl .Vacancies-block_one-text {
  padding-left: 0px;
  padding-right: 90px;
  text-align: right;
}

.rtl .Vacancies-block_one-info {
  padding-left: 0px;
  padding-right: 220px;
  text-align: right;
}

.rtl .Vacancies-block_one-author {
  left: auto;
  right: 0px;
}

/* Vacancies One Mobile RTL Alignment */
@media (max-width: 767px) {
  .rtl .Vacancies-one .sec-title.centered {
    text-align: right !important;
  }

  .rtl .Vacancies-one .sec-title.centered .sec-title_title {
    justify-content: flex-start !important;
  }

  .rtl .Vacancies-block_one-info {
    padding: 20px 30px 5px 30px !important;
    text-align: right !important;
    align-items: flex-start !important;
  }

  .rtl .Vacancies-block_one-author {
    position: relative;
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
    display: block;
  }

  .rtl .vacancy-apply-btn {
    width: 100%;
    margin-top: 15px;
  }

  .rtl .Vacancies-block_one-inner:before {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    border-radius: 20px !important;
  }

  .rtl .Vacancies-block_one-inner:after {
    display: none !important;
  }
}

/* ===== Responsive Fixes for Header ===== */
@media (max-width: 991px) {
  .rtl .main-header_button,
  .rtl .header-profile-link,
  .rtl .logout-btn {
    display: none !important;
  }

  .rtl .main-header.header-style-one .header-lower .header-navbar .nav-outer {
    display: none !important;
  }

  .rtl .main-header.header-style-one .header-lower .header-navbar {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    direction: ltr !important;
  }

  .rtl .main-header.header-style-one .header-lower .header-navbar .outer-box {
    margin: 0 !important;
    padding: 0 !important;
    order: -1;
  }

  .rtl .about-widget.mobile-only {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .rtl .about-widget.mobile-only {
    margin-left: 5px !important;
    margin-right: 0 !important;
    transform: scale(1.1);
    z-index: 1000;
  }
}

.rtl .vacancy-btn-text {
  margin-right: 0px;
  margin-left: 8px;
}

.rtl .vacancy-apply-btn-link:hover .vacancy-btn-icon {
  transform: translateX(-5px);
}

.rtl .mobile-sidebar {
  right: auto;
  left: -350px;
  transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.rtl .mobile-sidebar.active {
  left: 0;
  right: auto;
}

.rtl .mobile-sidebar {
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
}

/* RTL animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.rtl .mobile-nav-menu li {
  animation: slideInLeft 0.5s ease forwards;
}

/* RTL menu item styling */
.rtl .mobile-nav-menu > li > a::before {
  left: auto;
  right: 0;
}

.rtl .mobile-nav-menu > li > a:hover {
  transform: translateX(-5px);
}

.rtl .mobile-nav-menu li ul {
  padding: 8px 15px 8px 0;
  border-left: none;
  border-right: 3px solid #8abff5;
  background: linear-gradient(270deg, rgba(138, 191, 245, 0.1) 0%, transparent 100%);
  border-radius: 8px 0 0 8px;
}

.rtl .mobile-nav-menu li ul li a:hover {
  transform: translateX(-5px);
}

.rtl .main-header .main-menu .navigation > li .mega-menu .mega-menu-bar {
  flex-direction: row !important;
  display: flex !important;
}

.rtl .main-header .main-menu .navigation > li .mega-menu .mega-menu-bar .column {
  float: none !important;
  text-align: right;
}

.rtl .about-three_signature {
  font-family: 'Aref Ruqaa', serif !important;
  font-size: 32px;
  color: var(--main-color);
  transform: rotate(-4deg);
  margin-top: 10px;
}

.rtl .skill-one_icon {
  left: 50px;
  right: auto;
}

@media (max-width: 599px) {
  .rtl .partners-one-arrow {
    left: 0 !important;
    right: 0 !important;
    justify-content: center !important;
    margin-top: 30px !important;
  }

  .rtl .partners-one .partners-carousel-prev,
  .rtl .partners-one .partners-carousel-next {
    margin: 0 10px !important;
  }
}

.rtl .report-meta {
  gap: 25px;
}

.rtl .report-meta span {
  margin-left: 0;
}

.rtl .report-meta i {
  margin-right: 0;
  margin-left: 12px;
  font-size: 16px;
}

.rtl .report-detail_heading {
  margin-top: 10px;
}

.rtl .card-icon {
  margin-right: 0;
  margin-left: 18px;
}

.rtl .section-title i {
  margin-right: 0;
  margin-left: 15px;
}

.rtl .finding-number {
  margin-right: 0;
  margin-left: 20px;
}

.rtl .highlight-item i {
  margin-right: 0;
  margin-left: 12px;
}

.rtl .prev-report .nav-icon {
  margin-right: 0;
  margin-left: 20px;
}

.rtl .next-report .nav-icon {
  margin-left: 0;
  margin-right: 20px;
}

.rtl .report-list li::before {
  right: 10px;
  left: auto;
}

.rtl .report-list li {
  padding-right: 35px;
  padding-left: 0;
}

.rtl .report-list li:hover {
  transform: translateX(-8px);
}

.rtl .post-meta li,
.rtl .blog-detail .post-meta li {
  margin-right: 0;
  margin-left: 20px;
}

.rtl .post-meta li .icon,
.rtl .blog-detail .post-meta li .icon {
  margin-right: 0;
  margin-left: 8px;
}

.rtl .author-box .author-image {
  margin-right: 0;
  margin-left: 25px;
}

.rtl .comment-image {
  margin-right: 0;
  margin-left: 20px;
}

.rtl .comment-name {
  margin-right: 0;
  margin-left: 15px;
}

.rtl .reply-btn i {
  margin-right: 0;
  margin-left: 8px;
}

.rtl .social-links a {
  margin-left: 0;
  margin-right: 8px;
}
