/* LANDING PAGE ARABIC CSS */

/* General RTL Fixes */
body {
  font-family: 'Tajawal', sans-serif;
  text-align: right;
  direction: rtl;
}

/* Section Spacing */
.service-block {
  padding: 50px 0;
  position: relative;
}

.section-divider {
  width: 100%;
  text-align: center;
  margin: 30px 0;
}

.divider-line {
  height: 1px;
  width: 80%;
  background-color: #e5e5e5;
  margin: 0 auto;
}

/* Service Blocks */
.service-block h3 {
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.service-block h3:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: #057DED;
  bottom: -12px;
  right: 0;
}

.service-block h4 {
  margin-top: 25px;
  margin-bottom: 20px;
}

.service-block .img-block {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
}

.service-block .img-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-block img {
  transition: all 0.5s ease-in-out;
}

.service-block:hover img {
  transform: scale(1.05);
}

/* Feature List */
.simple-list {
  margin-top: 25px;
  margin-bottom: 25px;
}

.simple-list .list-item {
  margin-bottom: 15px;
  padding-right: 15px;
  position: relative;
}

.simple-list .list-item i {
  margin-left: 10px;
  margin-right: 0;
  font-size: 16px;
}

/* CTA Section */
#cta {
  background-color: #057DED;
  padding: 80px 0;
  margin: 60px 0;
}

#cta .btn {
  min-width: 200px;
}

/* Hero Section */
#hero {
  background-color: #f8f9fa;
  padding: 100px 0;
}

#hero .hero-txt h1 {
  margin-bottom: 25px;
  font-weight: 700;
  color: #333;
}

#hero .hero-txt p {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.6;
}

#hero .btn {
  margin-top: 15px;
  padding: 12px 30px;
  font-weight: 600;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .service-block {
    padding: 30px 0;
  }
  
  .order-md-1 {
    order: 1;
  }
  
  .order-md-2 {
    order: 2;
  }
  
  #hero {
    padding: 60px 0;
  }
  
  .service-block .img-block {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .service-block h3:after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .service-block h3,
  .service-block h4 {
    text-align: center;
  }
  
  .simple-list {
    padding-right: 0;
  }
  
  .simple-list .list-item {
    padding-right: 0;
  }
}

/* Animation Enhancements */
.wow {
  visibility: hidden;
}

/* Button Styles */
.btn-theme {
  background-color: #057DED;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.btn-theme:hover {
  background-color: #0466C0;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(5, 125, 237, 0.3);
}

.blue-hover:hover {
  background-color: #0466C0;
}

/* Fix alignment issues for RTL */
.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

/* Fix for menu in RTL */
.wsmenu-list {
  float: left !important;
  display: flex;
  flex-direction: row-reverse;
}

.wsmenu-list > li {
  float: right !important;
}

.wsmenu-list li:last-child {
  margin-right: 0;
}

/* Fix for mobile menu */
@media (max-width: 991px) {
  .wsmobileheader {
    display: flex;
    flex-direction: row-reverse;
  }
  
  .wsmobileheader .smllogo {
    margin-right: 15px;
    margin-left: auto;
  }
  
  .wsmobileheader .wsanimated-arrow {
    left: 15px;
    right: auto;
  }
}

/* Improve button accessibility */
.btn {
  position: relative;
  overflow: hidden;
}

.btn:after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.btn:hover:after {
  width: 120%;
}

/* Service box hover effect */
.service-block .txt-block {
  transition: all 0.3s ease;
}

.service-block:hover .txt-block {
  transform: translateY(-5px);
}

/* Icon enhancement */
.blue-color {
  color: #057DED;
} 