/** nav **/
.rtl h1,
.rtl h2,
.rtl h4,
.rtl h3,
.rtl h5,
.rtl h6,
.rtl p,
.rtl a,
.rtl div {
  font-family: "GEDinarOne", sans-serif !important;
}
body.rtl .mulish {
  font-family: "Mulish", sans-serif !important;
}

.rtl .timeline-item.right {
  left: 50%;
  text-align: right;
}
.rtl .navbar .dropdown-toggle::after {
  margin-right: 8px;
}
@media (max-width: 480px) {
  body.rtl a.navbar-brand {
    margin: 0;
  }
  body.rtl nav.navbar .container a.navbar-brand {
    justify-content: space-between;
    width: 100%;
  }
  .rtl .floating-social.active {
    left: 0;
  }
}
@media (max-width: 991px) {
  body.rtl .navbar .container {
    justify-content: space-between;
  }
  .rtl #navbarCollapse .navbar-nav {
    align-items: end;
  }
  body.rtl button.navbar-toggler {
    margin-top: 0px;
  }
}
@media (max-width: 480px) {
  body.rtl .navbar .container {
    margin: 0;
    justify-content: end;
  }
  .rtl #navbarCollapse .navbar-nav {
    align-items: start;
  }
  .navbar-nav .nav-item {
    margin-right: 0;
  }
  body.rtl .floating-social {
    left: -54px;
  }
  .floating-social.active .social-list {
    margin: 0 !important;
  }
  body.rtl button.navbar-toggler {
    margin-top: -70px;
  }
  .rtl .timeline::before {
    right: 10px !important;
    left: unset;
  }
  .rtl .timeline-item.right {
    left: 0 !important;
    text-align: right !important;
  }

  .rtl .timeline-item.right::before,
  .timeline-item.left::before {
    right: 5px;
    left: unset;
  }
  .rtl .timeline-item,
  .rtl .timeline-item.left,
  .rtl .timeline-item.right {
    text-align: right;
  }
}
.rtl a.nav-link,
.rtl a.dropdown-item {
  text-align: right;
}

/*** Floating ***/
.rtl .floating-social {
  right: auto;
  left: 52px;
  flex-direction: row;
}
.rtl .floating-social {
  right: auto;
  left: -2px;
}
.rtl .floating-social img.trigger {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  left: auto;
  right: -40px;
}
.rtl .floating-social .social-list {
  margin-left: 0;
}
.rtl .floating-social.active .social-list {
  margin-right: 0;
  margin-left: -57px;
}
.rtl .floating-social .social-list {
  margin-left: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 10px;
}
/*** About ***/
@media (min-width: 1600px) {
  body.rtl #welcome .about-text {
    padding-left: calc(((100% - 1600px) / 2) + 0.75rem);
    padding-right: 0;
  }
}
@media (min-width: 1400px) {
  body.rtl .about-text {
    padding-left: calc(((100% - 1400px) / 2) + 0.75rem);
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .about-text .p-0.pb-lg-0.pe-5.ms-xl-3 {
    padding: 0 !important;
  }
}
#welcome h2 {
  line-height: 1.2;
}
[dir="rtl"] .rtl .slick-next {
  right: -25px;
  left: -25px;
  z-index: 9;
}
.rtl button.slick-prev.slick-arrow {
  right: auto;
  left: 0;
}
/*** Footer ***/
.rtl .back-to-top {
  right: auto;
  left: 45px;
}
.footer.rtl a.btn {
  text-align: right;
}

/* SGP: Reduce height for green hero blocks (no background image) by 50% */
.green-background .header-carousel {
  height: 5000px !important;
}
.green-background .header-carousel .img-container {
  max-height: 500px !important;
}
@media (max-width: 992px) {
  .green-background .header-carousel {
    height: 250px !important;
  }
  .green-background .header-carousel .img-container {
    max-height: 250px !important;
  }
}
@media (max-width: 576px) {
  .green-background .header-carousel {
    height: 200px !important;
  }
  .green-background .header-carousel .img-container {
    max-height: 200px !important;
  }
}

/* SGP: Remove underline under tab buttons (E-Services) */
.nav-tabs,
.nav.nav-tabs,
.tabs,
.tab-strip,
.tab-container {
  border-bottom: none !important;
}
.nav-tabs .nav-link,
.nav-tabs .nav-link.active {
  border: none !important;
  box-shadow: none !important;
}

/* SGP AR: Footer link normalization and hover removal */
footer,
footer p,
.footer,
.footer p {
  color: #fff !important;
}
footer a {
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
}
footer a:hover,
footer a:focus {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: none !important;
}
/* AR Header nav link size to match footer link size */
.navbar .navbar-nav .nav-link {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* --- AR fix: center the scroll-to-top icon in RTL --- */
.rtl .back-to-top {
  right: auto;
  left: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center !important; /* override .rtl a.btn { text-align:right } */
}
.rtl .back-to-top i {
  margin: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

.rtl .timeline-item ul {
  padding-right: 15px;
  padding-left: 0;
}

.rtl .agents-carousel-arabic .acc-content ul {
  max-width: 100%;
  word-wrap: break-word;
}

.rtl .agents-carousel-arabic .acc-content ul li a {
  font-size: 12px;
}

.rtl .agents-carousel-arabic .highlight-item img {
  min-height: 90px;
  width: 85%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  margin: 0 auto;
}

.rtl .agents-carousel-arabic .highlight-item {
  background: #f3f3f363;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
  min-height: 180px;
  display: grid !important;
  align-items: center;
  align-content: center;
}

.rtl .agents-carousel-arabic .slick-track .slick-slide {
  height: 200px;
  margin: 0 10px;
  opacity: 0.2;
}

.rtl .agents-carousel-arabic .slick-slide.slick-active {
  opacity: 1;
  transition: all 300ms ease;
}

.rtl .agents-carousel-arabic .accordion-toggle {
  border: none;
}

.rtl .operations-image {
  max-height: 600px !important;
  object-fit: cover;
  object-position: bottom;
}
.rtl .footer:before {
  transform: scaleX(-1);
  top: 180px;
  right: -200px;
  left: unset;
}
.rtl .navbar .navbar-nav .nav-link {
  font-weight: bold;
}
.rtl .navbar-brand {
  margin-right: 0 !important;
}
.rtl .footer a.btn.btn-outline-light {
  padding: 7px 8px 5px;
}
.rtl .ar-numbers h3{
  font-family: "nexaregular", sans-serif !important;
}
body.rtl table#custom-font,
body.rtl #custom-font *,
#custom-font {
  font-family: "Mulish", sans-serif !important;
}