/* =======================================================
*
* 	RTL Overrides for Arabic Version
*
* ======================================================= */

body {
  font-family: 'Cairo', 'Space Mono', Arial, serif;
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', 'Space Mono', Arial, serif;
}

/* Header - bolder official look, no rotation */
#fh5co-header .display-tc h1 {
  font-family: 'Cairo', Arial, sans-serif;
  font-weight: 700;
  font-size: 56px;
  letter-spacing: 1px;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

#fh5co-header .display-tc h1 span:before,
#fh5co-header .display-tc h1 span:after {
  display: none;
}

#fh5co-header .display-tc h3 {
  font-family: 'Cairo', Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.5px;
}

/* Language Switcher */
.lang-switch {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
}
.lang-switch a {
  background: rgba(255, 144, 0, 0.9);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.lang-switch a:hover {
  background: rgba(255, 144, 0, 1);
  color: #fff;
}

/* Info list alignment */
.info li .first-block {
  text-align: right;
  float: right;
}
.info li .second-block {
  text-align: right;
  float: right;
}

/* Timeline alignment */
.timeline > li.timeline-unverted {
  text-align: left;
}
.timeline > li > .timeline-panel {
  float: right;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: left;
}
.timeline > li > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 15px;
  border-right-width: 0;
  left: auto;
  right: -15px;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 14px;
  border-right-width: 0;
  left: auto;
  right: -14px;
}
@media (max-width: 992px) {
  ul.timeline > li > .timeline-panel {
    float: left !important;
  }
  ul.timeline > li > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }
  ul.timeline > li > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  }
}

/* Progress bars text alignment */
.progress-wrap h3 .name-left {
  float: right;
}
.progress-wrap h3 .value-right {
  float: left;
}

/* Feature left items - fix icon alignment */
.feature-left {
  text-align: center;
}

/* Form controls RTL */
.form-control {
  text-align: right;
  direction: rtl;
}

/* Footer text */
#fh5co-footer p {
  text-align: center;
}

/* Gototop button position */
.gototop {
  left: 20px;
  right: auto;
}

/* Feature copy text alignment */
.feature-copy {
  text-align: center;
}

/* About section images RTL */
.about-img {
  direction: ltr;
}

/* Timeline images RTL */
.timeline-img {
  direction: ltr;
}
