html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}

/* General Container */
.container1 {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* Headings */
h1 {
  text-align: center;
  font-size: 36px;
  color: #0d47a1;
  margin-bottom: 10px;
}

.subheading {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 40px;
  color: #0d47a1;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000;
  text-align: center;
}

.service-desc {
  font-size: 16px;
  line-height: 1.6;
}

/* Odoo Section */
.bt-odoo-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bt-container {
  width: 100%;
  margin: 0;
  padding: 0 20px;
  text-align: center;
}

.bt-title {
  color: #0d47a1;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.bt-subtitle {
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bt-features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  justify-items: stretch;
}

@media (min-width: 768px) {
  .bt-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bt-feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 150px;
  height: 100%;
}

.bt-icon-circle {
  width: 60px;
  height: 60px;
  background-color: #00d6d0;
  color: #000;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

.bt-feature-item p {
  font-size: 1.8rem;
  color: #0d47a1;
  font-weight: 500;
  line-height: 1.5;
}

/* Image Container */
.container4 {
  width: 100%;
  max-width: 900px;
  position: relative;
  margin: 0 auto;
  background-color: #999999;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.container4::after {
  content: "";
  display: table;
  clear: both;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* RTL Arrow Position Fix */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: #000;
  font-weight: bold;
  font-size: 20px;
  border-radius: 3px;
  user-select: none;
  z-index: 10;
}

.prev {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.next {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: right; /* RTL */
  width: 16.66%;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

/* RTL Fixes for Breadcrumb */
.rt-breadcump .breadcrumbs-content {
  padding-top: 200px;
  text-align: center;
}

/* Position Fixes */
.mobile-app {
  width: 100%;
  position: relative;
  margin-right: 0;
}

.form-bg.product {
  position: absolute;
  top: -230px;
  padding: 35px;
  left: 0; /* RTL: flipped from right */
}

/* Images in Arabic */
@media screen and (max-width: 992px){
  .rt-breadcump .rt-breadcump-height {
    height: 500px;
  }
  .row.rt-breadcump-height.service-detail {
    height: 250px;
  }
  img.df {
    width: 65% !important;
    margin-left: 15px; /* RTL: margin-right → margin-left */
  }
}

/* Tabs Section */
.odoo-modules-tabs {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #0d47a1;
  margin-bottom: 30px;
  font-weight: bold;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-button {
  padding: 10px 20px;
  background: #e0fafa;
  border: 2px solid #00d6d0;
  border-radius: 8px;
  color: #0d47a1;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
  background: #00d6d0;
  color: #fff;
  border-color: #00d6d0;
}

.tab-content {
  max-width: 800px;
  margin: auto;
}

.tab-item {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-item.active {
  display: block;
}

.tab-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab-layout img {
  width: 100%;
  max-width: 700px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.description {
  text-align: center;
  max-width: 700px;
}

.description h3 {
  color: #0d47a1;
  margin-bottom: 10px;
}

.description p {
  color: #444;
  font-size: 2rem;
  padding: 0 15px;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Additional Elements like buttons, responsive, and FAQ would follow similar logic. Use `direction: rtl`, and switch `left` ↔ `right` and `margin-left` ↔ `margin-right` where needed */


.nav-tabs {
  display: none;
  border: none !important;
}

.nav-tabs .nav-item {
  margin-bottom: 10px;
  width: 100%;
}
.nav-tabs .nav-item a.active {
  background:transparent;
  border:none;
}

.tab-main-contr{
    background: #8993aa0d;
    padding-top: 60px;
    padding-bottom: 48px;
    padding-left: 116px;
    padding-right: 116px;
    position: relative;
}
.tab-main-contr .card {
    background: transparent;
    padding-top:0;
    padding-bottom:0;
}
img.screenabs {
     max-width: 1200px; /* increased from 600px */
    width: 100%;
    display: block;
    margin: 0 auto 30px auto;
}
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.image-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

.image-modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.customer-logos{
    padding: 50px 0px;
}
.slick-slide img{
    height:55px;
    margin:auto;
}
span.about {
    margin: 25px 0px 20px 0px;
    font-size:21px;
}
span.about img {
    margin-right: 10px;
}
.tl-title{
    font-size: 37.06px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: capitalize;
}
.letter-space{
    letter-spacing: 0;
}
ul#tabs li a {
    color: #495057;
    border:none !important;
}
ul#tabs {
    background: #fff;
    padding-top: 40px;
    border-radius: 5px;
    overflow-y: scroll;
    height: 516px;
}
ul#tabs a.nav-link.active {
    font-weight: 600;
}

.line-cn {
    position: absolute;
    right: 0;
    top: -100px;
}

h3.pdt-list-hd {
    padding-bottom: 15px;
}
#tabs::-webkit-scrollbar-track{background-color:#F5F5F5;}
#tabs::-webkit-scrollbar{width:5px;background-color:#F5F5F5;}
#tabs::-webkit-scrollbar-thumb{background-color:#8993aa1a;}
span.play-btn {
    display: grid;
    margin-top: 100px;
    padding-left: 30px;
}
span.play-btn img{
    max-width:150px;
}
img.img-one {
    max-width: 350px;
    float: left;
}

.logo-part-top {
    padding-top: 50px;
}
.rt-breadcump .breadcrumbs-content {
    padding-top: 98px;
    position: relative;
    top: 27%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 1279px) {
    .tab-main-contr{
        padding-left:20px;
        padding-right:20px;
    }
    .tab-main-contr .card {
        padding: 40px 0px;
    }
}
@media (min-width: 768px) {
  .nav-tabs {
    display: flex;
  }

  .card {
    border: none;
  }

  .card .card-header {
    display: none;
  }

  .card .collapse {
    display: block;
  }
}
@media (max-width: 767px) {
  .tab-content > .tab-pane {
    display: block !important;
    opacity: 1;
  }
  .line-cn{
      display: none;
  }
  .tab-main-contr .card {
    padding: 0;
  }
  span.viewdstyle {
    margin-top: 20px !important;
}
.demo-sec {
    width: 100%;
    flex: 100%;
    max-width: 100%;
}
.demo-sec span.viewdstyle {
    margin: auto;
    display: table;
    margin-bottom: 30px;
}
.demo-sec img {
    margin: auto;
    display: table;
}
.case-cn {
    width: 50%;
}
.tl-title {
    font-size: 20.06px;
}
.tab-main-contr .card{
    border-radius:0;
}
.tab-main-contr .card-header a {
    color: #333;
    font-size: 16px;
    line-height:40px;
}
.tab-main-contr .card-header{
    min-height:40px;
}
.learn{
    padding-left:42px;
}
.learn i{
    font-size:28px;
}
.learn h4 {
    font-size: 14px;
}
span.play-btn img {
    max-width: 150px;
}
span.play-btn{
    display:none;
}
img.img-one{
    max-width:100%;
}
.rt-breadcump .rt-breadcump-height {
    height: 400px!important;
}
}
@media only screen and (max-width: 420px) {
    
}
.viewdstyle {
  font-size: 20px;
  background: linear-gradient(360deg, #00D6D0 0%, #00B8B2 100%), #140958;
  box-shadow: 0 5px 8px rgb(0 171 167 / 15%);
  padding: 12px 50px;
  border: none;
  transition: all 0.4s;
  border-radius: 35px;
  margin-top: 30px;
  margin-bottom: 15px;
  display: inline-block;
  cursor: pointer;
  color: #fff; /* ✅ Makes the text white */
  text-decoration: none; /* ✅ Removes the underline */
}



.viewdstyle a{
    color: #fff;
}

/* Faq Section
      -------------------------------------------------------------- */
      :root {
        --accent-color: #00d6d0;
        --default-color: #0d47a1;
        --surface-color: #ffffff;
        
      }

      body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background: #f8f9fa;
      }

      .section {
        padding: 60px 0;
       background-color: #8993aa0d;
      }

      .section-title {
        text-align: center;
        margin-bottom: 40px;
      }

      .section-title h2 {
        color: var(--default-color);
      }

      .faq .faq-container .faq-item {
        background-color: background-color: var(--surface-color);
        position: relative;
        padding: 20px;
        margin-bottom: 15px;
        border: 1px solid rgba(13, 71, 161, 0.15);
        border-radius: 5px;
        overflow: hidden;
        transition: 0.3s ease;
      }

      .faq .faq-container .faq-item:last-child {
        margin-bottom: 0;
      }

      .faq .faq-container .faq-item h3 {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        margin: 0 30px 0 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: color 0.3s;
      }

      .faq .faq-container .faq-item h3:hover {
        color: var(--accent-color);
      }

      .faq .faq-container .faq-item .faq-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: 0.3s ease-in-out;
        visibility: hidden;
        opacity: 0;
      }

      .faq .faq-container .faq-item .faq-content p {
        margin-bottom: 0;
        overflow: hidden;
      }

      .faq .faq-container .faq-item .faq-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
      }

      .faq .faq-container .faq-item .faq-toggle:hover {
        color: var(--accent-color);
      }

      .faq .faq-container .faq-active {
        background-color: rgba(0, 214, 208, 0.05);
        border-color: rgba(0, 214, 208, 0.2);
      }

      .faq .faq-container .faq-active h3 {
        color: var(--accent-color);
      }

      .faq .faq-container .faq-active .faq-content {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
      }

      .faq .faq-container .faq-active .faq-toggle {
        transform: rotate(90deg);
        color: var(--accent-color);
      }
      
