/* Arabic Mobile View Fixes - Use exact English wave styles */

/* Arabic uses exact English wave styles - only background fade override needed */

/* Mobile specific adjustments for Arabic - just layout, not wave overrides */
@media (max-width: 991px) {
  html[dir="rtl"] .hero-wrapper-three .single-slider {
    /* Use default padding - no overrides */
  }
  
  html[dir="rtl"] .hero-content {
    position: relative !important;
    z-index: 10 !important;
    padding: 20px 0 !important;
  }
  
  /* Ensure background image displays properly with fade like English */
  html[dir="rtl"] .single-slider .image-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  
  /* Add the same overlay fade effect as English view */
  html[dir="rtl"] .single-slider .image-layer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important; /* Dark overlay for fading effect */
    z-index: 1 !important;
  }
  
  /* Improve text readability */
  html[dir="rtl"] .hero-content h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
  }
  
  html[dir="rtl"] .hero-content p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 30px !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
  }
  
  html[dir="rtl"] .hero-content .sub-title {
    font-size: 14px !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
  }
  
  /* Button adjustments */
  html[dir="rtl"] .hero-button {
    margin-bottom: 0 !important;
    text-align: center !important;
  }
  
  html[dir="rtl"] .hero-button .main-btn {
    margin: 0 10px 15px 10px !important;
    padding: 15px 25px !important;
    min-width: 160px !important;
    font-size: 14px !important;
    position: relative !important;
    z-index: 100 !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 767px) {
  /* No wave overrides - use English styles */
  
  html[dir="rtl"] .hero-content h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  
  html[dir="rtl"] .hero-content p {
    font-size: 14px !important;
    margin-bottom: 25px !important;
  }
  
  html[dir="rtl"] .hero-button .main-btn {
    display: block !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto 15px auto !important;
  }
}

/* Ensure proper container spacing */
@media (max-width: 991px) {
  html[dir="rtl"] .banner-section {
    min-height: 100vh !important;
  }
  
  html[dir="rtl"] .container {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

/* Ensure content appears above background overlay */
html[dir="rtl"] .hero-content {
  position: relative !important;
  z-index: 10 !important;
}

/* Desktop Arabic view - ensure same fade effect */
html[dir="rtl"] .single-slider .image-layer::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.4) !important; /* Same fade as English */
  z-index: 1 !important;
}

/* Ensure hero content is above the overlay */
html[dir="rtl"] .hero-content {
  position: relative !important;
  z-index: 10 !important;
}

/* Use default English wave animation */

/* All screen sizes use English wave styles - no overrides needed */
