/* ========================================
   ORGANIC HOME SOLUTIONS - RTL Stylesheet
   Arabic / Right-to-Left Support
   ======================================== */

/* -------------------- Base RTL Styles -------------------- */
body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Poppins', sans-serif;
}

/* -------------------- Typography RTL -------------------- */
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6 {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

body.rtl p,
body.rtl span,
body.rtl a,
body.rtl li,
body.rtl label,
body.rtl input,
body.rtl textarea,
body.rtl select,
body.rtl button {
  font-family: 'Cairo', sans-serif;
}

/* -------------------- Section Label RTL -------------------- */
body.rtl .section-label::before {
  margin-left: 8px;
  margin-right: 0;
}

/* -------------------- Navigation RTL -------------------- */
body.rtl .header .container {
  flex-direction: row-reverse;
}

body.rtl .header-actions {
  flex-direction: row-reverse;
}

body.rtl .nav-menu {
  flex-direction: row-reverse;
}

body.rtl .nav-link::after {
  left: auto;
  right: 0;
}

body.rtl .mobile-menu-toggle {
  order: -1;
}

/* -------------------- Hero RTL -------------------- */
body.rtl .hero .container {
  direction: rtl;
}

body.rtl .hero-content {
  text-align: right;
}

body.rtl .hero-cta {
  justify-content: flex-start;
}

body.rtl .hero-trust {
  justify-content: flex-start;
}

body.rtl .hero-floating-card.card-1 {
  right: auto;
  left: -30px;
}

body.rtl .hero-floating-card.card-2 {
  left: auto;
  right: -30px;
}

body.rtl .hero-shape-1 {
  right: auto;
  left: -200px;
}

body.rtl .hero-shape-2 {
  left: auto;
  right: -100px;
}

/* -------------------- Trust Chips RTL -------------------- */
body.rtl .trust-chip {
  flex-direction: row-reverse;
}

body.rtl .trust-chip i {
  margin-left: 0;
  margin-right: 8px;
}

/* -------------------- Trust Cards RTL -------------------- */
body.rtl .trust-card {
  text-align: center;
}

/* -------------------- Services RTL -------------------- */
body.rtl .service-card-content {
  text-align: right;
}

body.rtl .service-card-badge {
  left: auto;
  right: 15px;
}

body.rtl .service-card-cta {
  justify-content: flex-start;
}

/* -------------------- Why Choose Section RTL -------------------- */
body.rtl .why-choose-section .container {
  direction: rtl;
}

body.rtl .why-choose-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .why-choose-item i {
  margin-left: 15px;
  margin-right: 0;
}

body.rtl .why-choose-item-content {
  text-align: right;
}

body.rtl .why-choose-badge {
  left: auto;
  right: -20px;
}

body.rtl .why-choose-badge {
  flex-direction: row-reverse;
}

body.rtl .why-choose-badge i {
  margin-left: 15px;
  margin-right: 0;
}

body.rtl .why-choose-buttons {
  justify-content: flex-start;
}

/* -------------------- Process Section RTL -------------------- */
body.rtl .process-card::after {
  right: auto;
  left: -15px;
}

/* -------------------- About Section RTL -------------------- */
body.rtl .about-section .container {
  direction: rtl;
}

body.rtl .about-content {
  text-align: right;
}

body.rtl .about-year-badge {
  right: auto;
  left: -25px;
}

body.rtl .about-value {
  flex-direction: row-reverse;
}

body.rtl .about-value i {
  margin-left: 12px;
  margin-right: 0;
}

body.rtl .about-buttons {
  justify-content: flex-start;
}

/* -------------------- Testimonials RTL -------------------- */
body.rtl .testimonial-card {
  text-align: center;
}

body.rtl .testimonial-card::before {
  left: auto;
  right: 30px;
}

body.rtl .testimonial-author {
  justify-content: center;
  flex-direction: row-reverse;
}

body.rtl .testimonial-author img {
  margin-left: 15px;
  margin-right: 0;
}

/* -------------------- Contact Section RTL -------------------- */
body.rtl .contact-section .container {
  direction: rtl;
}

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

body.rtl .contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .contact-item i {
  margin-left: 15px;
  margin-right: 0;
}

body.rtl .contact-item-content {
  text-align: right;
}

body.rtl .whatsapp-box {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .whatsapp-box i {
  margin-left: 15px;
  margin-right: 0;
}

body.rtl .contact-form-wrapper {
  text-align: right;
}

body.rtl .form-group label {
  text-align: right;
}

body.rtl .form-group input,
body.rtl .form-group select,
body.rtl .form-group textarea {
  text-align: right;
}

body.rtl .form-consent {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .form-consent input {
  margin-left: 10px;
  margin-right: 0;
}

/* -------------------- SEO Section RTL -------------------- */
body.rtl .seo-column {
  text-align: right;
}

body.rtl .seo-column ul {
  justify-content: flex-start;
}

/* -------------------- Footer RTL -------------------- */
body.rtl .footer {
  text-align: right;
}

body.rtl .footer-grid {
  direction: rtl;
}

body.rtl .footer-brand {
  text-align: right;
}

body.rtl .footer-social {
  justify-content: flex-start;
}

body.rtl .footer-column {
  text-align: right;
}

body.rtl .footer-column h4::after {
  left: auto;
  right: 0;
}

body.rtl .footer-contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .footer-contact-item i {
  margin-left: 12px;
  margin-right: 0;
}

body.rtl .footer-links a:hover {
  padding-left: 0;
  padding-right: 5px;
}

body.rtl .footer-bottom {
  flex-direction: row-reverse;
}

body.rtl .footer-bottom-links {
  flex-direction: row-reverse;
}

/* -------------------- Floating Buttons RTL -------------------- */
body.rtl .floating-buttons {
  right: auto;
  left: 30px;
}

/* -------------------- Buttons RTL -------------------- */
body.rtl .btn {
  flex-direction: row-reverse;
}

body.rtl .btn i {
  margin-left: 10px;
  margin-right: 0;
}

body.rtl .btn-group {
  flex-direction: row-reverse;
}

body.rtl .trust-cta-buttons {
  flex-direction: row-reverse;
}

/* -------------------- Consultation Box RTL -------------------- */
body.rtl .consultation-box {
  text-align: center;
}

body.rtl .consultation-box::before {
  right: auto;
  left: -10%;
}

/* -------------------- Header Phone RTL -------------------- */
body.rtl .header-phone {
  flex-direction: row-reverse;
}

body.rtl .header-phone i {
  margin-left: 8px;
  margin-right: 0;
}

/* -------------------- Lang Switch RTL -------------------- */
body.rtl .lang-switch {
  flex-direction: row-reverse;
}

body.rtl .lang-switch i {
  margin-left: 5px;
  margin-right: 0;
}

/* -------------------- Stats Bar RTL -------------------- */
body.rtl .stat-number {
  flex-direction: row-reverse;
}

/* -------------------- Service Page RTL -------------------- */
body.rtl .service-breadcrumb {
  flex-direction: row-reverse;
}

body.rtl .service-hero-content {
  text-align: center;
}

body.rtl .why-card {
  text-align: center;
}

body.rtl .sign-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .sign-icon {
  margin-left: 15px;
  margin-right: 0;
}

body.rtl .sign-text {
  text-align: right;
}

body.rtl .inclusions-header {
  flex-direction: row-reverse;
}

body.rtl .inclusions-header i {
  margin-left: 15px;
  margin-right: 0;
}

body.rtl .inclusions-list li {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .inclusions-list li i {
  margin-left: 12px;
  margin-right: 0;
}

body.rtl .add-on-note {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .add-on-note i {
  margin-left: 12px;
  margin-right: 0;
}

body.rtl .pricing-card {
  text-align: center;
}

body.rtl .pricing-features li {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .pricing-features li i {
  margin-left: 10px;
  margin-right: 0;
}

body.rtl .custom-quote-box {
  text-align: center;
}

body.rtl .service-cta-content {
  text-align: center;
}

/* -------------------- Mega Menu RTL -------------------- */
body.rtl .mega-menu {
  direction: rtl;
  text-align: right;
}

body.rtl .mega-menu-container {
  direction: rtl;
}

body.rtl .mega-menu-column {
  text-align: right;
}

body.rtl .mega-menu-title {
  flex-direction: row-reverse;
}

body.rtl .mega-menu-title i {
  margin-left: 10px;
  margin-right: 0;
}

body.rtl .mega-menu-item-name,
body.rtl .mega-menu-item-desc {
  text-align: right;
}

body.rtl .mega-menu-cta {
  text-align: center;
}

/* -------------------- Pricing RTL -------------------- */
body.rtl .price-amount::before {
  content: "يبدأ من";
  font-family: 'Cairo', sans-serif;
}

/* -------------------- Responsive RTL -------------------- */
@media (max-width: 1024px) {
  body.rtl .mobile-menu-toggle {
    margin-left: 0;
    margin-right: 10px;
  }

  body.rtl .nav {
    left: auto;
    right: 0;
  }
}

@media (max-width: 992px) {
  body.rtl .header .container {
    flex-direction: row;
  }

  body.rtl .header-actions {
    flex-direction: row;
  }

  body.rtl .nav.active .nav-menu {
    flex-direction: column;
  }

  body.rtl .why-choose-section .container,
  body.rtl .about-section .container,
  body.rtl .contact-section .container {
    direction: ltr;
  }

  body.rtl .why-choose-content,
  body.rtl .about-content,
  body.rtl .contact-info {
    text-align: center;
  }

  body.rtl .why-choose-item {
    flex-direction: column;
    text-align: center;
  }

  body.rtl .why-choose-item i {
    margin: 0 auto 10px;
  }

  body.rtl .why-choose-item-content {
    text-align: center;
  }

  body.rtl .why-choose-buttons,
  body.rtl .about-buttons,
  body.rtl .trust-cta-buttons {
    justify-content: center;
  }

  body.rtl .contact-item {
    flex-direction: column;
    text-align: center;
  }

  body.rtl .contact-item i {
    margin: 0 auto 10px;
  }

  body.rtl .contact-item-content {
    text-align: center;
  }

  body.rtl .whatsapp-box {
    justify-content: center;
  }

  body.rtl .footer-grid {
    direction: ltr;
  }

  body.rtl .footer-brand,
  body.rtl .footer-column {
    text-align: center;
  }

  body.rtl .footer-social {
    justify-content: center;
  }

  body.rtl .footer-column h4::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  body.rtl .footer-contact-item {
    justify-content: center;
  }

  body.rtl .about-value {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body.rtl .floating-buttons {
    left: 15px;
    right: auto;
  }

  body.rtl .hero-content,
  body.rtl .service-card-content {
    text-align: center;
  }

  body.rtl .hero-cta,
  body.rtl .hero-trust {
    justify-content: center;
  }

  body.rtl .service-card-cta {
    justify-content: center;
  }

  body.rtl .sign-item {
    flex-direction: column;
    text-align: center;
  }

  body.rtl .sign-icon {
    margin: 0 auto 10px;
  }

  body.rtl .sign-text {
    text-align: center;
  }

  body.rtl .pricing-features li {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body.rtl .hero-content {
    text-align: center;
  }

  body.rtl .hero-cta {
    justify-content: center;
    align-items: center;
  }

  body.rtl .hero-trust {
    justify-content: center;
  }

  body.rtl .floating-buttons {
    left: 20px;
  }

  body.rtl .service-card-content {
    text-align: center;
  }

  body.rtl .service-card-cta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body.rtl .why-choose-buttons,
  body.rtl .about-buttons,
  body.rtl .trust-cta-buttons,
  body.rtl .consultation-box .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
}

/* -------------------- Mobile RTL - New Sections -------------------- */
@media (max-width: 992px) {
  /* Services Mega Menu RTL Mobile */
  body.rtl .smm-categories {
    direction: rtl;
  }

  body.rtl .smm-cat-item {
    flex-direction: column;
    text-align: center;
  }

  body.rtl .smm-panel h4 {
    text-align: center;
  }

  body.rtl .smm-grid {
    direction: rtl;
  }

  body.rtl .smm-grid a {
    flex-direction: row-reverse;
  }

  /* Sectors Dropdown RTL Mobile */
  body.rtl .sectors-dropdown-grid {
    direction: rtl;
  }

  body.rtl .sector-dropdown-item {
    flex-direction: row-reverse;
    text-align: right;
  }

  body.rtl .sectors-dropdown-header {
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Hero V5 RTL Mobile */
  body.rtl .hero-v5-content {
    text-align: right;
    align-items: flex-end;
  }

  body.rtl .hero-v5-stats {
    justify-content: flex-end;
  }

  body.rtl .hero-v5-stats .stat {
    flex-direction: row-reverse;
  }

  body.rtl .sidebar-card.service-card {
    text-align: right;
  }

  body.rtl .trust-slide {
    flex-direction: row-reverse;
    text-align: right;
  }

  body.rtl .trust-icon {
    margin-right: 0;
    margin-left: 12px;
  }

  /* Process Section RTL Mobile */
  body.rtl .process-step {
    flex-direction: row-reverse;
    text-align: right;
  }

  body.rtl .process-step-content {
    text-align: right;
  }

  /* About Section RTL Mobile */
  body.rtl .about-content-new {
    text-align: center;
  }

  body.rtl .about-cta {
    justify-content: center;
  }

  /* Testimonials Carousel RTL */
  body.rtl .testimonials-track {
    animation-name: scrollTestimonialsRTL;
  }

  @keyframes scrollTestimonialsRTL {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(50%);
    }
  }

  /* Testimonials RTL Mobile */
  body.rtl .testi-card {
    text-align: center;
  }

  body.rtl .testi-header {
    flex-direction: column;
    align-items: center;
  }

  /* Contact Section RTL Mobile */
  body.rtl .contact-card {
    flex-direction: row-reverse;
    text-align: right;
  }

  body.rtl .whatsapp-cta-new {
    flex-direction: row-reverse;
    text-align: right;
  }

  body.rtl .contact-form-new label {
    text-align: right;
    flex-direction: row-reverse;
  }

  /* Footer RTL Mobile */
  body.rtl .footer-cta-wrap {
    text-align: center;
  }

  body.rtl .footer-grid-new {
    direction: rtl;
    text-align: center;
  }

  body.rtl .footer-column-new ul li a {
    justify-content: center;
    flex-direction: row-reverse;
  }

  body.rtl .footer-contact-item-new {
    flex-direction: row-reverse;
    text-align: right;
  }

  /* Career Page RTL Mobile */
  body.rtl .position-card {
    text-align: center;
  }

  body.rtl .position-meta {
    justify-content: center;
  }

  body.rtl .career-form label {
    text-align: right;
  }

  body.rtl .career-form input,
  body.rtl .career-form select,
  body.rtl .career-form textarea {
    text-align: right;
  }

  /* Sectors Page RTL Mobile */
  body.rtl .sectors-tabs {
    direction: rtl;
  }

  body.rtl .sector-detail-left {
    text-align: center;
  }

  body.rtl .sector-detail-left .sector-icon {
    margin: 0 auto 15px;
  }

  body.rtl .sector-services-tags {
    justify-content: center;
  }

  body.rtl .benefits-grid {
    direction: rtl;
  }

  body.rtl .benefit-item {
    flex-direction: row-reverse;
    text-align: right;
  }

  body.rtl .sector-cta-buttons {
    justify-content: center;
  }
}
