/* RTL Support for Harold Theme - Exact Clone */

/* Base RTL */
:root {
  direction: rtl;
}

body.harold-theme {
  font-family: 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
  text-align: right;
  direction: rtl;
}

/* Navigation - RTL Header */
.harold-header .nav-bar {
  direction: ltr;
  flex-direction: row-reverse;
}

.harold-header .main-nav .menu {
  direction: ltr;
  flex-direction: row-reverse;
}

.harold-header .main-nav .menu li a {
  direction: rtl;
}

/* Hero */
.hero-content {
  direction: rtl;
}

.hero-text {
  text-align: right;
}

.hero .icon-item .social-icons {
  flex-direction: row;
}

.hero .home-link {
  flex-direction: row-reverse;
}

.hero .home-link .btn-link-icon {
  transform: scaleX(-1);
}

/* About */
.about-content {
  direction: rtl;
}

.about-text {
  text-align: right;
}

.nav-pills {
  flex-direction: row-reverse;
}

.skill-header {
  flex-direction: row-reverse;
}

.progress-bar {
  transform-origin: right;
}

.experience .timeline-row {
  flex-direction: row-reverse;
}

.experience .border-left {
  order: 1;
}

.experience .timeline-content {
  order: 0;
  text-align: right;
}

/* Services */
.section-header {
  text-align: center;
}

.info-item {
  text-align: right;
}

/* Counter */
.counter-grid {
  direction: rtl;
}

/* My Work */
.my-work .section-header-row {
  flex-direction: row-reverse;
}

.my-work .more-link {
  flex-direction: row-reverse;
}

.work-item .image-title {
  right: 40px;
  left: auto;
  text-align: right;
}

/* Pricing */
.pricing-tabs {
  flex-direction: row-reverse;
}

.pricing-item .top-bar .price-header {
  flex-direction: row-reverse;
}

.pricing-item .bottom-bar ul li {
  flex-direction: row-reverse;
}

/* Testimonial */
.testimonial-slider {
  flex-direction: row-reverse;
}

/* Blog */
.blog-item {
  text-align: right;
}

.blog-item .blog-content .read-more {
  flex-direction: row-reverse;
}

.blog-item .blog-image-icon {
  right: 10%;
  left: auto;
}

/* Contact */
.contact-wrapper {
  direction: rtl;
}

.contact-info {
  text-align: right;
}

.info-content .info-row {
  flex-direction: row-reverse;
}

.custom-form {
  text-align: right;
  border-right: solid 4px;
  border-left: none;
  animation: color-change 6s linear infinite;
}

.custom-form .form-row {
  direction: rtl;
}

/* Footer */
.footer-grid {
  direction: rtl;
}

.footer-col {
  text-align: right;
}

.footer .icon-item .social-icons {
  flex-direction: row;
}

.footer-text li a {
  flex-direction: row-reverse;
}

.linkedin-box::before {
  right: 30px;
  left: auto;
}

.newsletter-form {
  flex-direction: row-reverse;
}

.newsletter-form input {
  border-radius: 5px 0 0 5px;
}

.newsletter-form .btn {
  border-radius: 0 5px 5px 0;
}

.bottom-footer p {
  text-align: center;
}

/* Typewriter */
.typewriter-text {
  border-left: 0.08em solid var(--dark);
  border-right: none;
}

/* Mobile */
@media (max-width: 992px) {
  .hero-text {
    text-align: center;
  }

  .hero .icon-item .social-icons {
    justify-content: center;
  }

  .hero .home-link {
    justify-content: center;
  }

  .about-text {
    text-align: center;
  }

  .nav-pills {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer .icon-item .social-icons {
    justify-content: center;
  }

  .footer-text li a {
    justify-content: center;
  }
}
