
@font-face {
  font-family: 'IBMPlexArabic';
  src: url('/Fonts/ArbFONTS-IBMPlexArabic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBMPlexArabic';
  src: url('/Fonts/ArbFONTS-IBMPlexArabic-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBMPlexArabic';
  src: url('/Fonts/ArbFONTS-IBMPlexArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f8fdfc;
  color: #1e1e1e;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

/* RTL/LTR Direction handling */
.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'IBMPlexArabic', 'Arial', sans-serif;
}

.ltr {
  direction: ltr;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

/* Enhanced Arabic font support */
.rtl * {
  font-family: 'IBMPlexArabic', 'Arial', sans-serif !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
}

/* Better line height and font sizes for Arabic text */
.rtl p, .rtl span, .rtl li, .rtl div {
  line-height: 1.6;
  font-size: 0.95em;
}

.rtl h1 {
  line-height: 1.3;
  font-weight: 600;
  font-size: 0.9em;
}

.rtl h2 {
  line-height: 1.4;
  font-weight: 600;
  font-size: 0.92em;
}

.rtl h3, .rtl h4, .rtl h5, .rtl h6 {
  line-height: 1.4;
  font-weight: 600;
  font-size: 0.95em;
}

.rtl button {
  font-weight: 500;
}

/* Arabic text centering for specific elements */
.rtl .hero h1,
.rtl .hero-content h1 {
  text-align: center;
}

/* RTL Hero Content Positioning */
.rtl .hero-content {
  align-items: flex-end;
  left: 60px;
  right: auto;
}

.rtl .ride-section h2,
.rtl .features-section h2,
.rtl .steps-section h2,
.rtl .services-section h2,
.rtl .download-section h2 {
  text-align: center;
}

/* Navigation adjustments for Arabic */
.rtl header nav a {
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s;
}

/* Footer Arabic font improvements */
.rtl .footer-desc,
.rtl .footer-grid h4,
.rtl .footer-grid ul li,
.rtl .footer-grid ul li a,
.rtl .footer-bottom-content span,
.rtl .footer-bottom-links a {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 0.94em;
}

.rtl .footer-grid h4 {
  font-size: 0.95em;
  font-weight: 600;
}

.rtl .language-btn {
  font-size: 0.9em;
}

/* Button text for Arabic */
.rtl .hero button,
.rtl .language-toggle,
.rtl .mobile-menu-toggle {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 30px;
}

/* Navigation text size for Arabic */
.rtl .header-nav a {
  font-size: 1em;
  font-weight: 700;
}

/* Card content Arabic styling */
.rtl .ride-card h3,
.rtl .ride-card a {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 1.5em;
}

.rtl .ride-card p {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 1em;
}

/* Service cards Arabic styling */
.rtl .service-card h4 {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 1em;
}

.rtl .service-card p {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 1em;
}

/* Steps section Arabic styling */
.rtl .step h4 {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 1.5em;
}

.rtl .step p {
  font-family: 'IBMPlexArabic', 'Inter', sans-serif;
  font-size: 1.5em;
}

/* Section titles for Arabic */
.rtl .features-section h2,
.rtl .steps-section h2,
.rtl .services-section h2,
.rtl .download-section h2 {
  font-size: 2em;
}

/* Contact items and app download section */
.rtl .contact-item {
  font-size: 1em;
}

.rtl .footer-apps h5 {
  font-size: 1em;
}

/* Ensure all Arabic text has optimal spacing */
.rtl * {
  letter-spacing: 0.02em;
}

/* Static Pages Container */
.content-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 40px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(34,205,178,0.08);
  padding: 50px 40px;
  min-height: 600px;
}

.content-container h1 {
  color: #22CDB2;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  font-weight: 700;
}

.dynamic-content {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.dynamic-content h2 {
  color: #22CDB2;
  margin: 30px 0 20px 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.dynamic-content h3 {
  color: #22CDB2;
  margin: 25px 0 15px 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.dynamic-content p {
  margin-bottom: 20px;
}

.dynamic-content ul, .dynamic-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.dynamic-content li {
  margin-bottom: 10px;
}

/* RTL adjustments for content container */
.rtl .dynamic-content ul, .rtl .dynamic-content ol {
  padding-left: 0;
  padding-right: 30px;
}

.rtl .content-container h1 {
  font-size: 2.2rem;
}

.rtl .dynamic-content {
  text-align: right;
  font-size: 15px;
}

.rtl .dynamic-content h2 {
  font-size: 1.4rem;
}

.rtl .dynamic-content h3 {
  font-size: 1.2rem;
}

/* Mobile responsiveness for content container */
@media (max-width: 768px) {
  .content-container {
    margin: 20px;
    padding: 30px 25px;
    border-radius: 12px;
  }
  
  .content-container h1 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .dynamic-content {
    font-size: 15px;
  }
  
  .rtl .content-container h1 {
    font-size: 1.8rem;
  }
  
  .rtl .dynamic-content {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .content-container {
    margin: 15px;
    padding: 25px 20px;
  }
  
  .content-container h1 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .rtl .content-container h1 {
    font-size: 1.6rem;
  }
}

header {
  background: #22CDB2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

header .logo {
  height: 50px;
}

.header-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.header-nav a:hover,
.header-nav a.active {
  color: #fff;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}



.language-btn {
  background: none;
  border: none;
  color: #333;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.language-btn.active {
  background: rgba(255, 255, 255, 0.9);
  color: #22CDB2;
  font-weight: 600;
}

.language-btn.active:hover {
  background: rgba(255, 255, 255, 1);
  color: #22CDB2;
}

/* RTL header adjustments */


.rtl .header-nav {
  margin-left: 0;
  margin-right: 20px;
}

.rtl .header-nav a {
  text-align: right;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #333;
  font-size: 18px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* RTL/LTR Support */
.rtl {
  direction: rtl;
}

.ltr {
  direction: ltr;
}


.rtl .ride-card a::after {
  content: '‹';
  margin-right: 4px;
  margin-left: 0;
}

/* RTL Navigation Arrows */
.rtl .hero-prev::before,
.rtl .prev-btn .arrow-left {
  transform: rotate(180deg);
}

.rtl .hero-next::before,
.rtl .next-btn .arrow-right {
  transform: rotate(180deg);
}

/* RTL Slider adjustments */




.rtl .hero-nav .hero-prev {
  right: auto;
  left: 20px;
}

.rtl .hero-nav .hero-next {
  left: auto;
  right: 20px;
}

/* RTL Feature blocks */


.rtl .feature-block.reverse {
  flex-direction: row;
}

/* RTL Service grid improvements */
.rtl .service-grid {
  text-align: right;
}

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

/* RTL Steps section */
.rtl .steps-container {
  flex-direction: row
}

.rtl .step {
  text-align: right;
}

/* RTL Download section */
.rtl .download-container {
  flex-direction: row
}

.rtl .download-text {
  text-align: right;
}

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

.rtl .footer-grid {
  text-align: right;
}

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

.rtl .footer-desc {
  text-align: right;
}

.rtl .footer-links ul,
.rtl .footer-support ul,
.rtl .footer-contact ul {
  text-align: right;
}

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

.rtl .footer-bottom-content {
  flex-direction: row
}

.rtl .footer-bottom-links {
  order: -1;
}

.rtl .contact-item {
  flex-direction: row
}

.rtl .contact-item svg {
  margin-left: 8px;
  margin-right: 0;
}

/* Mobile Sidebar Navigation */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #22CDB2 0%, #1fb3a0 100%);
  z-index: 9999;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.active {
  left: 0;
}

.rtl .mobile-sidebar {
  left: auto;
  right: -300px;
}

.rtl .mobile-sidebar.active {
  right: 0;
}

.mobile-sidebar-header {
  padding: 30px 25px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-sidebar-header .logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

.mobile-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s ease;
}

.mobile-close-btn:hover {
  transform: scale(1.1);
}

.mobile-nav-content {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-links li {
  margin: 0;
}

.mobile-nav-links a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 35px;
}

.rtl .mobile-nav-links a:hover,
.rtl .mobile-nav-links a.active {
  padding-left: 25px;
  padding-right: 35px;
}

.mobile-nav-links a::before {
  content: '›';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rtl .mobile-nav-links a::before {
  content: '‹';
  right: auto;
  left: 25px;
}

.mobile-nav-links a:hover::before,
.mobile-nav-links a.active::before {
  opacity: 1;
}

.mobile-language-switcher {
  padding: 20px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-language-switcher h4 {
  color: white;
  margin: 0 0 15px 0;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}

.mobile-language-buttons {
  display: flex;
  gap: 10px;
}

.mobile-language-btn {
  flex: 1;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-language-btn.active,
.mobile-language-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #22CDB2;
  border-color: rgba(255, 255, 255, 0.9);
}

/* RTL Mobile Sidebar */
.rtl .mobile-sidebar {
  background: linear-gradient(180deg, #22CDB2 0%, #1fb3a0 100%);
}

.rtl .mobile-nav-links a,
.rtl .mobile-language-switcher h4,
.rtl .mobile-language-btn {
  font-family: 'IBMPlexArabic', 'Arial', sans-serif;
  text-align: right;
}

.rtl .mobile-sidebar-header {
  flex-direction: row-reverse;
}

.rtl .mobile-nav-links a {
  text-align: right;
}

.rtl .mobile-language-switcher {
  text-align: right;
}

.rtl .mobile-language-switcher h4 {
  text-align: right;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .header-left {
    gap: 15px;
  }

  .header-nav {
    display: none;
  }

  .language-switcher {
    display: none;
  }
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s 0.2s ease-in-out;
  background: transparent;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 4s ease-out;
  filter: brightness(0.8) contrast(1.1);
}

/* Disable fixed background on mobile for better performance */
@media (max-width: 768px) {
  .hero-background {
    background-attachment: scroll;
    transform: scale(1.02);
    transition: transform 3s ease-out;
  }

  .hero-slide.active .hero-background {
    transform: scale(1);
  }
}

.hero-slide.active .hero-background {
  transform: scale(1);
  filter: brightness(0.9) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 205, 178, 0.15) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(34, 205, 178, 0.1) 100%);
  z-index: 1;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.3) 70%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 3;
  max-width: 800px;
  padding: 0 40px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  left: 60px;
  top: 0;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background-clip: text;
  text-align: center;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
  .hero h1 {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: initial;
  }
}

.hero button {
  background: linear-gradient(135deg, #22CDB2 0%, #00c18b 50%, #22CDB2 100%);
  background-size: 200% 200%;
  color: white;
  padding: 20px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(34, 205, 178, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 16px;
}

.hero button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero button:hover::before {
  left: 100%;
}

.hero button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 35px rgba(34, 205, 178, 0.5);
  background-position: 100% 0;
}

.hero button:active {
  transform: translateY(-2px) scale(1.02);
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 0 60px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-nav-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: #22CDB2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  position: relative;
  user-select: none;
  line-height: 1;
}

.hero-prev {
  padding-right: 2px;
}

.hero-next {
  padding-left: 2px;
}

/* RTL Navigation Arrow Adjustments */
.rtl .hero-prev {
  padding-right: 0;
  padding-left: 2px;
}

.rtl .hero-next {
  padding-left: 0;
  padding-right: 2px;
}

.hero-nav-btn:hover {
  background: #22CDB2;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(34, 205, 178, 0.4);
}

.hero-nav-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-nav-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 205, 178, 0.3);
}

/* RTL Hero Navigation */
.rtl .hero-nav {
  flex-direction: row
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 24px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, #22CDB2, #00c18b);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.hero-dot.active::before {
  width: 100%;
  height: 100%;
}

.hero-dot.active {
  background: white;
  transform: scale(1.4);
  border-color: rgba(34, 205, 178, 0.8);
  box-shadow: 0 4px 15px rgba(34, 205, 178, 0.4);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Mobile Hero Styles */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    min-height: 500px;
    max-height: 700px;
  }

  .hero-content {
    max-width: 90%;
    padding: 0 20px;
    left: 20px;
    align-items: flex-start;
  }

  .rtl .hero-content {
    left: 20px;
    right: auto;
    align-items: flex-end;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .hero button {
    padding: 16px 32px;
    font-size: 16px;
  }

  .hero-nav {
    padding: 0 20px;
  }

  .hero-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .hero-dots {
    bottom: 30px;
    padding: 10px 20px;
  }

  .hero-dot {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 100vh;
    min-height: 450px;
    max-height: 600px;
  }

  .hero-content {
    padding: 0 15px;
    left: 15px;
    align-items: flex-start;
  }

  .rtl .hero-content {
    left: 15px;
    right: auto;
    align-items: flex-end;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .hero button {
    padding: 14px 28px;
    font-size: 14px;
  }

  .hero-nav {
    padding: 0 15px;
  }

  .hero-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .hero-dots {
    bottom: 20px;
    padding: 8px 16px;
    gap: 12px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    height: 100vh;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .hero button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-dots {
    bottom: 15px;
  }
}

section {
  padding: 60px 40px;
}

/* General mobile responsive improvements */
@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .rtl h1,
  .rtl h2,
  .rtl h3 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 30px 15px;
  }

  header {
    padding: 15px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero button {
    padding: 16px 32px;
    font-size: 16px;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}


.ride-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.ride-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

/* Slider Container */
.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 20px;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ride-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
  width: max-content;
  min-width: 100%;
}

.ride-card {
  position: relative;
  background: linear-gradient(135deg, #e7f8f2 0%, #d4f5e8 100%);
  border-radius: 20px;
  padding: 32px 24px 32px 24px; /* less bottom padding */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 300px;
  flex: 0 0 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 320px;
}

.card-image {
  position: absolute;
  right: 0;
  bottom: 15px;
  width: 70%;
  height: 60%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: none;
  margin: 0;
  padding: 0;
  z-index: 1;
  pointer-events: none;
}

.card-image img {
  width: 100%;
  max-width: 260px;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.10));
  transition: transform 0.3s ease;
  margin: 0;
  display: block;
}

.ride-card:hover .card-image img {
  transform: scale(1.05);
}

.ride-card h3,
.ride-card p,
.ride-card a {
  position: relative;
  z-index: 2;
  margin-left: 2px;
}

.ride-card h3 {
  margin-bottom: 8px;
  margin-top: 0;
}

.ride-card p {
  margin-bottom: 16px;
}

.ride-card a {
  font-size: 14px;
  color: #008c6f;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.ride-card a:hover {
  color: #00a378;
}

.ride-card a::after {
  content: '›';
  font-size: 18px;
  margin-left: 4px;
  transition: transform 0.3s;
}

.ride-card a:hover::after {
  transform: translateX(3px);
}

/* Cloned slides should behave exactly like regular slides */
.ride-card.cloned,
.ride-card.original {
  /* Inherit all styles from regular ride-card */
}

/* Ensure all cards have the same styling regardless of clone status */
.ride-card {
  /* Force consistent styling for all cards */
}

/* Navigation Buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.nav-btn {
  background: linear-gradient(135deg, #22CDB2 0%, #1fb3a0 100%);
  color: white;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(34, 205, 178, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-btn:hover::before {
  opacity: 1;
}

.nav-btn:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 12px 35px rgba(34, 205, 178, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-btn:active {
  transform: scale(1.05);
}

.nav-btn .arrow-left,
.nav-btn .arrow-right {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s;
}

.nav-btn:hover .arrow-left {
  transform: translateX(-2px);
}

.nav-btn:hover .arrow-right {
  transform: translateX(2px);
}

.prev-btn {
  margin-left: 15px;
}

.next-btn {
  margin-right: 15px;
}

/* RTL Navigation Button Adjustments */
.rtl .prev-btn {
  margin-right: 15px;
  margin-left: 0;
}

.rtl .next-btn {
  margin-left: 15px;
  margin-right: 0;
}

.rtl .nav-btn:hover .arrow-left {
  transform: translateX(2px);
}

.rtl .nav-btn:hover .arrow-right {
  transform: translateX(-2px);
}

/* Dots Navigation */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #22CDB2;
  transform: scale(1.2);
}

.dot:hover {
  background: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .slider-container {
    padding: 0 65px;
  }

  .ride-card {
    min-width: 260px;
    flex: 0 0 260px;
  }

  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .nav-btn .arrow-left,
  .nav-btn .arrow-right {
    font-size: 20px;
  }

  .prev-btn {
    margin-left: 10px;
  }

  .next-btn {
    margin-right: 10px;
  }

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

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

@media (max-width: 480px) {
  .slider-container {
    padding: 0 55px;
  }

  .ride-card {
    min-width: 220px;
    flex: 0 0 220px;
    padding: 20px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-width: 2px;
  }

  .nav-btn .arrow-left,
  .nav-btn .arrow-right {
    font-size: 18px;
  }

  .prev-btn {
    margin-left: 5px;
  }

  .next-btn {
    margin-right: 5px;
  }

  .rtl .prev-btn {
    margin-right: 5px;
    margin-left: 0;
  }

  .rtl .next-btn {
    margin-left: 5px;
    margin-right: 0;
  }
}

 .features-section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.feature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.feature-block.reverse {
  flex-direction: row
}

.feature-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.feature-text h2 {
  font-size: 26px;
  color: #00a378;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 15px;
  margin-bottom: 24px;
  color: #555;
}

.feature-icons {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px 20px;
}

.feature-icons div {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.feature-icons div img {
  width: 20px;
  margin-right: 10px;
}

.rtl .feature-icons div img {
  margin-right: 0;
  margin-left: 10px;
}

.feature-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.feature-img img {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
}

.mini-icons {
  display: flex;
  gap: 40px;
  margin-top: 24px;
}

.mini-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.mini-icon-box img {
  width: 32px;
  margin-bottom: 10px;
}

.mini-icon-box h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.mini-icon-box p {
  font-size: 13px;
  color: #666;
}

/* Responsive improvements for features section */
@media (max-width: 768px) {
  .feature-block {
    flex-direction: column;
    text-align: center;
    margin-bottom: 60px;
  }

  .feature-block.reverse {
    flex-direction: column;
  }

  .rtl .feature-block {
    flex-direction: column;
  }

  .rtl .feature-block.reverse {
    flex-direction: column;
  }

  .feature-text {
    min-width: 100%;
    padding: 10px;
  }

  .feature-img {
    min-width: 100%;
    margin-top: 20px;
  }

  .feature-icons {
    grid-template-columns: 1fr;
    gap: 15px;
    justify-items: center;
  }

  .mini-icons {
    flex-direction: column;
    gap: 20px;
  }
}


.steps-section {
  background: #e7f8f2;
  padding: 80px 20px;
  border-radius: 30px;
  max-width: 1200px;
  margin: auto;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.steps-text {
  flex: 1;
  min-width: 300px;
}

.steps-text h2 {
  font-size: 28px;
  color: #007850;
  margin-bottom: 10px;
}

.steps-text p {
  color: #555;
  font-size: 15px;
  margin-bottom: 30px;
}

.step {
  margin-bottom: 30px;
}

.step h4 {
  color: #007850;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  color: #444;
  font-size: 14px;
}

.step:not(:last-child) {
  border-bottom: 1px solid #a5dfc7;
  padding-bottom: 20px;
}

.steps-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.steps-image img {
  width: 100%;
  max-width: 360px;
}

/* Responsive improvements for steps section */
@media (max-width: 768px) {
  .steps-section {
    padding: 60px 15px;
    margin: 60px auto;
  }

  .steps-container {
    flex-direction: column;
    gap: 30px;
  }

  .rtl .steps-container {
    flex-direction: column;
  }

  .steps-text {
    min-width: 100%;
  }

  .steps-image {
    min-width: 100%;
  }

  .steps-text h2 {
    font-size: 24px;
    text-align: center;
  }

  .steps-text p {
    text-align: center;
  }
}

.services-section {
  padding: 80px 20px;
  border-radius: 30px;
  max-width: 1200px;
  margin: 80px auto;
}

.services-section h2,
.download-section h2 {
  font-size: 28px;
  color: #007850;
  margin-bottom: 10px;
}

.services-section p,
.download-section p {
  color: #555;
  font-size: 15px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

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

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

.service-card img {
  width: 36px;
  margin-bottom: 10px;
}

.service-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

/* Responsive improvements for services section */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 15px;
    margin: 60px auto;
  }

  .services-section h2 {
    font-size: 24px;
    text-align: center;
  }

  .services-section p {
    text-align: center;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .service-card {
    padding: 20px;
    text-align: center;
  }

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


.download-section {
  background: #e7f8f2;
  padding: 80px 20px;
  border-radius: 30px;
  max-width: 1200px;
  margin: 80px auto;
}

.download-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-text {
  flex: 1;
  min-width: 280px;
}

.download-buttons {
  margin-top: 20px;
}

.download-buttons img {
  width: 140px;
  margin-right: 10px;
}

.rtl .download-buttons img {
  margin-right: 0;
  margin-left: 10px;
}

.download-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.download-image img {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
}

/* Responsive improvements for download section */
@media (max-width: 768px) {
  .download-section {
    padding: 60px 15px;
    margin: 60px auto;
  }

  .download-container {
    flex-direction: column;
    gap: 30px;
  }

  .rtl .download-container {
    flex-direction: column;
  }

  .download-text {
    min-width: 100%;
    text-align: center;
  }

  .download-image {
    min-width: 100%;
  }

  .download-section h2 {
    font-size: 24px;
  }

  .download-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .download-buttons img {
    width: 120px;
    margin: 0;
  }
}



/* Footer Styles */
footer {
  background: linear-gradient(135deg, #22CDB2 0%, #1fb3a0 100%);
  color: white;
  padding: 60px 40px 20px;
  position: relative;
  overflow: hidden;
  margin-top: auto;
  width: 100%;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-grid h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
  color: white;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid ul li {
  margin-bottom: 12px;
}

.footer-grid ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-grid ul li a:hover {
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-item svg {
  opacity: 0.7;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: white;
}

.footer-apps {
  margin-top: 20px;
}

.footer-apps h5 {
  font-size: 16px;
  margin-bottom: 15px;
  color: white;
}

.app-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-btn {
  display: block;
  transition: transform 0.3s;
}

.app-btn:hover {
  transform: translateY(-2px);
}

.app-btn img {
  height: 40px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-content span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: white;
}

/* RTL Footer Support */
.rtl .footer-social {
  flex-direction: row
}

.rtl .footer-bottom-content {
  flex-direction: row
}

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

.rtl .contact-item {
  flex-direction: row
}

.rtl .app-buttons {
  flex-direction: row
}

/* Mobile Footer */
@media (max-width: 768px) {
  footer {
    padding: 40px 20px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

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

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .app-buttons {
    justify-content: center;
  }
}

/* RTL Slider Adjustments */
.rtl .ride-slider {
  flex-direction: row;
}

.rtl .ride-card {
  direction: rtl;
  text-align: right;
}

.rtl .card-image {
  right: 0;
  left: auto;
}

.rtl .ride-card h3,
.rtl .ride-card p,
.rtl .ride-card a {
  margin-right: 2px;
  margin-left: 0;
}
