@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap");

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: "Cairo", Tahoma, "Segoe UI", Arial, sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] a > h1,
html[dir="rtl"] a > h2,
html[dir="rtl"] a > h3,
html[dir="rtl"] a > h4,
html[dir="rtl"] a > h5,
html[dir="rtl"] a > h6 {
  font-family: "Cairo", Tahoma, "Segoe UI", Arial, sans-serif;
}

html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  letter-spacing: 0;
}

html[dir="rtl"] .text-uppercase,
html[dir="rtl"] .section-header .subtitle,
html[dir="rtl"] .banner-section .section-wrapper .banner-content .subtitle,
html[dir="rtl"] .menu > ul > li > a {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

html[dir="rtl"] .section-header,
html[dir="rtl"] .banner-section .section-wrapper .banner-content,
html[dir="rtl"] .about-section .about-right,
html[dir="rtl"] .course-ui-card,
html[dir="rtl"] .alqotr-value-card,
html[dir="rtl"] .stu-feed-item,
html[dir="rtl"] .resource-library-section .resource-glass-card,
html[dir="rtl"] .achieve-item .achieve-inner,
html[dir="rtl"] .alqotr-footer {
  text-align: right;
}

html[dir="rtl"] .section-header.text-center,
html[dir="rtl"] .alqotr-value-cta.text-center {
  text-align: center;
}

html[dir="rtl"] .header-wrapper .menu-area .login,
html[dir="rtl"] .header-wrapper .menu-area .signup,
html[dir="rtl"] .course-ui-outline h6,
html[dir="rtl"] .course-ui-outline li,
html[dir="rtl"] .stu-feed-item .stu-feed-inner .stu-feed-top .sft-left,
html[dir="rtl"] .alqotr-footer__contact li,
html[dir="rtl"] .resource-library-section .resource-glass-card__meta span,
html[dir="rtl"] .resource-library-section .resource-glass-card__read {
  flex-direction: row;
}

html[dir="rtl"] .header-top-area .left li {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
}

html[dir="rtl"] .header-top-area .left li i,
html[dir="rtl"] .header-wrapper .menu-area .login i,
html[dir="rtl"] .header-wrapper .menu-area .signup i,
html[dir="rtl"] .course-ui-actions a i,
html[dir="rtl"] .course-ui-outline h6 i,
html[dir="rtl"] .course-ui-outline li i,
html[dir="rtl"] .resource-library-section .resource-glass-card__meta i,
html[dir="rtl"] .alqotr-footer__contact li i {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .alqotr-footer__social a i,
html[dir="rtl"] .alqotr-footer__social a img {
  margin: 0;
}

html[dir="rtl"] .stu-feed-item .stu-feed-inner .stu-feed-top .sft-left .sftl-thumb {
  margin-right: 0;
  margin-left: 10px;
}

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

html[dir="rtl"] .header-top-area .social-icons li.top-currency-switch .nice-select {
  padding-left: 26px;
  padding-right: 10px;
  text-align: center !important;
}

html[dir="rtl"] .header-top-area .social-icons li.top-currency-switch .nice-select:after {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .header-top-area .social-icons li.top-currency-switch .nice-select .list {
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  min-width: 100%;
  transform-origin: 100% 0;
}

@media (min-width: 992px) {
  html[dir="rtl"] .menu > ul {
    margin-right: 30px;
    margin-left: 0;
  }

  html[dir="rtl"] .menu > ul li ul {
    right: 0;
    left: auto;
    text-align: right;
  }

  html[dir="rtl"] .menu > ul li ul li a:hover,
  html[dir="rtl"] .menu > ul li ul li a.active {
    padding-right: 22px;
    padding-left: 20px;
  }

  html[dir="rtl"] .menu > ul li ul li ul {
    right: 100%;
    left: auto;
  }
}

@media (max-width: 991px) {
  html[dir="rtl"] .menu > ul {
    right: 0;
    left: 0;
    text-align: right;
  }

  html[dir="rtl"] .menu > ul li a {
    text-align: right;
  }
}

html[dir="rtl"] .menu-item-has-children > a::after {
  right: auto;
  left: 25px;
}

html[dir="rtl"] .menu-item-has-children > a::before {
  right: auto;
  left: 29px;
}

@media (min-width: 992px) {
  html[dir="rtl"] .menu-item-has-children > a::after {
    left: 0;
  }

  html[dir="rtl"] .menu-item-has-children > a::before {
    left: 4px;
  }

  html[dir="rtl"] .menu-item-has-children .menu-item-has-children a::after {
    right: auto;
    left: 11px;
  }

  html[dir="rtl"] .menu-item-has-children .menu-item-has-children a::before {
    right: auto;
    left: 15px;
  }
}

html[dir="rtl"] .banner-section .all-shapes {
  right: auto;
  left: 0;
}

@media (min-width: 1600px) {
  html[dir="rtl"] .banner-section .all-shapes {
    right: auto;
    left: 15%;
  }
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.ccl-shape a::after {
  left: auto;
  right: -35px;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-1 {
  right: auto;
  left: 5%;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-1 a::after {
  right: auto;
  left: -40px;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-2 {
  right: auto;
  left: 19%;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-2 a::after {
  right: -40px;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-3 {
  right: auto;
  left: 38%;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-3 a::after {
  right: -50px;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-4 {
  right: auto;
  left: 26%;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-4 a::after {
  right: -38px;
}

html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-5 {
  right: auto;
  left: 45%;
}

html[dir="rtl"] .banner-section .section-wrapper .banner-thumb .cbs-content-list ul li.shape-1 {
  top: 46%;
  left: auto;
  right: 0;
}

html[dir="rtl"] .banner-section .section-wrapper .banner-thumb .cbs-content-list ul li.shape-2 {
  top: 12%;
  left: 0;
  right: auto;
}

html[dir="rtl"] .banner-section .section-wrapper .banner-thumb .cbs-content-list ul li.shape-5 {
  top: auto;
  bottom: 10%;
  left: 4%;
  right: auto;
}

@media (min-width: 1200px) {
  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-1 {
    right: auto;
    left: 5%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-2 {
    right: auto;
    left: 17%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-3 {
    right: auto;
    left: 36%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-4 {
    right: auto;
    left: 34%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-5 {
    right: auto;
    left: 46%;
  }
}

@media (min-width: 1600px) {
  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-1 {
    right: auto;
    left: 40%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-2 {
    right: auto;
    left: 10%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-3 {
    right: auto;
    left: 9%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-4 {
    right: auto;
    left: 5%;
  }

  html[dir="rtl"] .banner-section .cbs-content-list ul li.shape-5 {
    right: auto;
    left: 8%;
  }
}

@media (min-width: 1920px) {
  html[dir="rtl"] .banner-section .section-wrapper .banner-thumb.custom-sqr {
    margin-left: -150px !important;
    margin-right: 210px !important;
  }
}

html[dir="rtl"] .banner-section .section-wrapper .banner-content form .banner-icon {
  right: 18px;
  left: auto;
}

html[dir="rtl"] .banner-section .section-wrapper .banner-content form input {
  text-align: right;
  padding-right: 52px;
  padding-left: 18px;
}

html[dir="rtl"] .banner-section .section-wrapper .banner-content form button {
  white-space: nowrap;
}

html[dir="rtl"] .banner-section .section-wrapper .banner-content .hero-title,
html[dir="rtl"] .banner-section .section-wrapper .banner-content .hero-tit {
  line-height: 1.32 !important;
}

html[dir="rtl"] .banner-catagory p {
  margin-right: 0;
  margin-left: 12px;
}

html[dir="rtl"] .banner-catagory ul li {
  margin-right: 0;
  margin-left: 10px;
}

html[dir="rtl"] .category-section .category-auto-carousel,
html[dir="rtl"] .category-section .category-carousel-strip {
  direction: ltr;
}

html[dir="rtl"] .category-section .category-carousel-strip {
  justify-content: flex-start;
}

html[dir="rtl"] .category-section .category-auto-carousel {
  margin-left: 0;
  margin-right: calc(50% - 50vw);
}

html[dir="rtl"] .about-section::before {
  right: 0;
  left: auto;
  border-right: 0;
  border-left: 960px solid transparent;
}

html[dir="rtl"] .about-section .row.flex-row-reverse {
  flex-direction: row-reverse !important;
}

html[dir="rtl"] .about-section .about-right .section-wrapper ul li .sr-left {
  margin-right: 0;
  margin-left: 15px;
}

html[dir="rtl"] .about-section .about-right .section-wrapper ul li .sr-right p {
  margin-right: 0;
  margin-left: auto;
}


html[dir="rtl"] .course-ui-title-row,
html[dir="rtl"] .course-ui-price-panel {
  direction: rtl;
}

html[dir="rtl"] .course-ui-price {
  padding-right: 0;
  padding-left: 20px;
  border-right: 0;
  border-left: 1px solid rgba(229, 163, 35, 0.28);
}

html[dir="rtl"] .course-ui-offer,
html[dir="rtl"] .course-ui-actions a,
html[dir="rtl"] .alqotr-value-actions,
html[dir="rtl"] .alqotr-value-btn {
  direction: rtl;
}

html[dir="rtl"] .alqotr-value-section {
  background-image: linear-gradient(270deg, #173b59 50%, #102a40 100%);
}

html[dir="rtl"] .course-ui-outline ul {
  padding-right: 0;
}

html[dir="rtl"] .resource-library-section .resource-glass-card__content {
  text-align: right;
}

html[dir="rtl"] .resource-library-section .resource-glass-card__read {
  align-self: flex-start;
  margin: 0;
}

html[dir="rtl"] .resource-library-section .resource-glass-card__read svg {
  transform: rotate(180deg);
}

html[dir="rtl"] .resource-library-section .resource-glass-card__link:hover .resource-glass-card__read svg {
  transform: rotate(180deg) translateX(4px);
}

@media (min-width: 576px) {
  html[dir="rtl"] .achieve-item .achieve-inner .achieve-thumb {
    right: auto;
    left: -60px;
  }
}

html[dir="rtl"] .achieve-item .achieve-inner .achieve-content {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .alqotr-footer__column h4::after {
  right: 0;
  left: auto;
  background: linear-gradient(270deg, var(--footer-accent), rgba(229, 163, 35, 0.18));
}

html[dir="rtl"] .alqotr-footer__column:not(.alqotr-footer__contact) a:hover {
  transform: translateX(-4px);
}

html[dir="rtl"] .alqotr-footer__social {
  justify-content: flex-start;
}

html[dir="rtl"] .alqotr-footer__bottom {
  direction: rtl;
}

html[dir="rtl"] .alqotr-footer__legal {
  justify-content: flex-end;
}

@media (max-width: 991px) {
  html[dir="rtl"] .about-section .row.flex-row-reverse {
    flex-direction: column !important;
  }

  html[dir="rtl"] .about-section .about-left {
    padding-left: 0;
  }

  html[dir="rtl"] .achieve-item .achieve-inner .achieve-thumb {
    right: auto !important;
    left: auto !important;
  }
}

@media (max-width: 767px) {
  html[dir="rtl"] .banner-section .section-wrapper .banner-content .hero-title,
  html[dir="rtl"] .banner-section .section-wrapper .banner-content .hero-tit {
    font-size: 34px !important;
  }

  html[dir="rtl"] .banner-section .section-wrapper .banner-content form {
    align-items: stretch;
  }

  html[dir="rtl"] .banner-section .section-wrapper .banner-content form input {
    padding-right: 48px;
  }

  html[dir="rtl"] .course-ui-price {
    padding-left: 0;
    border-left: 0;
  }

  html[dir="rtl"] .alqotr-footer__bottom,
  html[dir="rtl"] .alqotr-footer__legal {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575px) {
  html[dir="rtl"] .banner-section .section-wrapper .banner-content .hero-title,
  html[dir="rtl"] .banner-section .section-wrapper .banner-content .hero-tit {
    font-size: 30px !important;
  }

  html[dir="rtl"] .banner-section .section-wrapper .banner-content form button {
    width: 100%;
  }
}

/* Course detail pages */
html[dir="rtl"] .course-detail-hero .pageheader-content {
  padding-right: 0;
  padding-left: 35px;
  text-align: right;
}

html[dir="rtl"] .course-detail-hero .pageheader-content .phs-title,
html[dir="rtl"] .course-detail-hero .pageheader-content .phs-desc {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .course-detail-hero .pageheader-content .phs-thumb,
html[dir="rtl"] .course-detail-hero .pageheader-content .course-category,
html[dir="rtl"] .course-purchase-card .csd-title,
html[dir="rtl"] .course-purchase-card .csdc-lists ul li,
html[dir="rtl"] .course-state-panel__identity,
html[dir="rtl"] .course-state-panel__actions,
html[dir="rtl"] .course-discussion-thread__author,
html[dir="rtl"] .course-mobile-enroll-bar {
  direction: rtl;
}

html[dir="rtl"] .course-intro-button i {
  margin-right: 4px;
  margin-left: 0;
}

html[dir="rtl"] .course-purchase-card .csdc-left,
html[dir="rtl"] .course-purchase-card .csdc-right,
html[dir="rtl"] .course-item .course-content,
html[dir="rtl"] .course-state-panel,
html[dir="rtl"] .course-discussion-board,
html[dir="rtl"] .course-recordings,
html[dir="rtl"] .course-sidebar-experience,
html[dir="rtl"] .course-delivery-item {
  text-align: right;
}

html[dir="rtl"] .course-purchase-card .csdc-left i,
html[dir="rtl"] .course-discussion-lock__note i,
html[dir="rtl"] .course-state-panel__meta p i {
  margin-right: 0;
  margin-left: 7px;
}

html[dir="rtl"] .course-single-section .course-item .course-inner .course-content ul li i,
html[dir="rtl"] .course-side-detail .csd-title .csdt-right p i,
html[dir="rtl"] .course-start-panel__label i {
  margin-right: 0;
  margin-left: 6px;
}

html[dir="rtl"] .course-detail-hero .pageheader-content .phs-thumb img {
  margin-right: 0;
  margin-left: 10px;
}

html[dir="rtl"] .course-detail-hero .pageheader-content .phs-thumb .course-reiew .ratting {
  margin-right: 0;
  margin-left: 5px;
}

html[dir="rtl"] .course-tabs__list,
html[dir="rtl"] .course-day-agenda .accordion-header button,
html[dir="rtl"] .course-day-topics,
html[dir="rtl"] .course-status-steps,
html[dir="rtl"] .course-discussion-composer,
html[dir="rtl"] .course-discussion-thread,
html[dir="rtl"] .course-recordings__grid {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .course-discussion-composer input,
html[dir="rtl"] .course-discussion-composer textarea {
  text-align: right;
}

html[dir="rtl"] .course-day-topics {
  padding-right: 42px !important;
  padding-left: 0 !important;
}

html[dir="rtl"] .course-discussion-features {
  text-align: right;
}

html[dir="rtl"] .course-rating-row small {
  text-align: left;
}

html[dir="rtl"] .course-rating-row b {
  margin-right: 0;
  margin-left: auto;
  background: linear-gradient(270deg, #f2b632, #e59000);
}

html[dir="rtl"] .course-state-panel__progress-track span {
  margin-right: 0;
  margin-left: auto;
  background: linear-gradient(270deg, #24577e, #f2b632);
}

html[dir="rtl"] .course-status-steps li:not(:last-child)::after {
  right: 6px;
  left: auto;
}

html[dir="rtl"] .course-discussion-reply {
  margin-right: 44px;
  margin-left: 0;
  border-right: 3px solid #f2b632;
  border-left: 0;
  border-radius: 10px 0 0 10px;
}

html[dir="rtl"] .course-sidebar-experience::before {
  background: linear-gradient(270deg, #f2b632, #24577e);
}

html[dir="rtl"] .course-recording-card__duration {
  right: auto;
  left: 8px;
}

html[dir="rtl"] .course-video-dialog__youtube {
  direction: rtl;
}

@media (min-width: 992px) {
  html[dir="rtl"] .course-detail-hero .course-purchase-card {
    right: auto;
    left: 12px;
  }

  html[dir="rtl"] .course-content-sidebar {
    margin-right: auto;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 991px) {
  html[dir="rtl"] .course-detail-hero .pageheader-content {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  html[dir="rtl"] .course-discussion-reply {
    margin-right: 22px;
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  html[dir="rtl"] .course-day-topics {
    padding-right: 34px !important;
    padding-left: 0 !important;
  }
}

/* Course archive RTL */
html[dir="rtl"] .course-archive-hero {
  background-image: none;
}

html[dir="rtl"] .course-archive-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-color: #081d2f;
  background-image: var(--archive-hero-desktop);
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}

html[dir="rtl"] .course-archive-hero::before {
  background: linear-gradient(270deg, rgba(8, 29, 47, 0.76) 0%, rgba(9, 37, 59, 0.46) 52%, rgba(9, 37, 59, 0.14) 100%);
}

html[dir="rtl"] .archive-breadcrumb,
html[dir="rtl"] .course-archive-hero__copy,
html[dir="rtl"] .archive-section-heading,
html[dir="rtl"] .archive-catalog-heading,
html[dir="rtl"] .archive-filter-panel,
html[dir="rtl"] .archive-help-card,
html[dir="rtl"] .course-ui-card,
html[dir="rtl"] .archive-empty-state {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .course-archive-hero__eyebrow,
html[dir="rtl"] .archive-section-heading span,
html[dir="rtl"] .archive-catalog-heading span,
html[dir="rtl"] .archive-help-card span,
html[dir="rtl"] .archive-category-count {
  letter-spacing: 0;
}

html[dir="rtl"] .archive-category-card .archive-category-count {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .archive-filter-field > div i {
  right: 16px;
  left: auto;
}

html[dir="rtl"] .archive-filter-field input {
  padding-right: 44px;
  padding-left: 15px;
  text-align: right;
}

html[dir="rtl"] .archive-filter-field select {
  padding-right: 15px;
  padding-left: 42px;
  text-align: right;
}

html[dir="rtl"] .course-ui-badge-category {
  right: 18px;
  left: auto;
}

html[dir="rtl"] .course-ui-badge-seats,
html[dir="rtl"] .course-ui-rating {
  right: auto;
  left: 18px;
}

html[dir="rtl"] .course-ui-outline li i {
  margin-right: 0;
  margin-left: 7px;
}

html[dir="rtl"] .course-ui-price-panel,
html[dir="rtl"] .course-ui-title-row,
html[dir="rtl"] .course-ui-actions a,
html[dir="rtl"] .archive-filter-reset,
html[dir="rtl"] .archive-help-card > a {
  direction: rtl;
}

@media (max-width: 767px) {
  html[dir="rtl"] .course-archive-hero::after {
    background-image: var(--archive-hero-mobile);
    background-position: center;
  }

  html[dir="rtl"] .course-archive-hero::before {
    background: rgba(8, 29, 47, 0.78);
  }

  html[dir="rtl"] .archive-category-card .archive-category-count {
    left: 14px;
  }
}

html[dir="rtl"] .contact-page-info,
html[dir="rtl"] .contact-page-form-card,
html[dir="rtl"] .contact-page-card,
html[dir="rtl"] .contact-page-form,
html[dir="rtl"] .about-page-copy,
html[dir="rtl"] .about-page-desc,
html[dir="rtl"] .about-page-newsletter .archive-help-card,
html[dir="rtl"] .custom-page-card,
html[dir="rtl"] .blog-details-card,
html[dir="rtl"] .blog-details-body,
html[dir="rtl"] .blog-details-author,
html[dir="rtl"] .blog-details-comments,
html[dir="rtl"] .blog-details-form,
html[dir="rtl"] .course-details-card,
html[dir="rtl"] .course-details-body,
html[dir="rtl"] .course-details-share-card,
html[dir="rtl"] .course-details-agenda,
html[dir="rtl"] .blog-listing-card,
html[dir="rtl"] .page-hero .course-archive-hero__copy {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .contact-page-form .form-control {
  text-align: right;
}

html[dir="rtl"] .contact-page-form .form-control[dir="ltr"] {
  text-align: left;
}

@media (max-width: 575px) {
  html[dir="rtl"] .course-ui-badge-category {
    right: 12px;
    left: auto;
  }

  html[dir="rtl"] .course-ui-badge-seats,
  html[dir="rtl"] .course-ui-rating {
    right: auto;
    left: 12px;
  }
}
