/* 
========================================
   Base Styles and Reset
======================================== 
*/

/* Hide mobile CTA buttons by default (for larger screens) */
.nav .mobile-cta-buttons {
  display: none;
}

/* Preparation Steps Sidebar Styles */
.preparation-content {
  display: flex;
  flex-direction: row-reverse;
  /* Swap sidebar to right side */
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}

.preparation-main-content {
  flex: 1;
  max-width: calc(100% - 20px);
  /* Allow space for collapsed sidebar */
}

/* Step Content Visibility */
.step-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-bottom: 20px;
}

.step-content.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease-in-out;
}

.fas.fa-check {
  color: green;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.preparation-sidebar {
  width: 30%;
  min-width: 380px;
  /* Ensure sidebar has minimum width when expanded */
  transition: all 0.3s ease;
  position: relative;
}

.preparation-sidebar.collapsed {
  width: 60px;
  min-width: 300px;
  /* Override min-width when collapsed */
  overflow: hidden;
}

.sidebar-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  /* Positioned on left side for RTL layout */
  z-index: 10;
  display: flex;
  /* Ensure toggle button is always visible */
}

.sidebar-toggle button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.preparation-sidebar:not(.collapsed) .sidebar-toggle button {
  transform: rotate(45deg);
}

.sidebar-card {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: 100%;
  overflow: hidden;
}

.step-list>li {
  margin-bottom: 10px;
  border-radius: var(--border-radius);
  background-color: white;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.step-header {
  padding: 12px 15px;
  font-weight: bold;
  position: relative;
  transition: var(--transition);
}

.step-list>li:hover .step-header {
  background-color: rgba(54, 199, 131, 0.1);
}

.step-list>li.active .step-header {
  background-color: var(--primary-color);
  color: white;
}

.step-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.step-list>li.active .step-children {
  max-height: 500px;
  /* Large enough to show all children */
}

.step-children li {
  padding: 8px 15px 8px 30px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  color: var(--text-color);
  font-size: 0.9em;
  cursor: pointer;
  transition: var(--transition);
}

.step-children li:hover {
  background-color: rgba(54, 199, 131, 0.05);
}

.step-children li.active {
  background-color: rgba(54, 199, 131, 0.2);
  font-weight: bold;
}

.sidebar-cta {
  margin-top: 20px;
  text-align: center;
}

/* Responsive styles for preparation steps */

@media (max-width: 768px) {
  .preparation-content {
    flex-direction: column;
  }

  .preparation-main-content,
  .preparation-sidebar {
    width: 100%;
  }

  .preparation-sidebar.collapsed {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .preparation-sidebar:not(.collapsed) {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    z-index: 1000;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .sidebar-toggle {
    top: 10px;
    right: 10px;
    left: auto;
  }
}

:root {
  --primary-color: #36c783;
  --primary-light: #33c97f;
  --primary-dark: #008a48;
  --secondary-color: #2c3e50;
  --accent-color: #4caf50;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #212529;
  --gray-color: #6c757d;
  --light-gray: #f1f1f1;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1200px;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif, "Arial";
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn2 {
  display: inline-block;
  padding: 10px 5px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(63, 81, 181, 0.05);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--light-gray);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.section-btn-container {
  padding: 20px 0 0 0;
}
.section-btn-container2 {
  padding: 20px 0 0 0;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
}

/* 
========================================
   Header and Navigation
======================================== 
*/
.header-animation-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.header-animation-container.sticky {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.header {
  background-color: white;
  box-shadow: var(--shadow);
  width: 100%;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.nav ul {
  display: flex;
  align-items: center;
  height: 100%;
}

.cta-buttons-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.cta-button {
  margin-left: 0;
  display: inline-block;
}

.nav li {
  margin-left: 0;
  margin-right: 30px;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav a {
  color: var(--secondary-color);
  font-weight: 500;
  position: relative;
  padding: 15px 0 5px 0;
  display: flex;
  align-items: center;
  min-height: 100%;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: auto;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

/* قائمة المنتجات تستخدم تمركز CSS */
.dropdown:nth-child(2) .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%) translateY(-10px);
  margin: 0;
}

.dropdown:nth-child(2):hover .dropdown-menu {
  transform: translateX(50%) translateY(0);
}

/* قائمة الحلول تستخدم تمركز CSS */
.dropdown:nth-child(3) .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%) translateY(-10px);
  margin: 0;
}

.dropdown:nth-child(3):hover .dropdown-menu {
  transform: translateX(50%) translateY(0);
}

.dropdown-toggle {
  cursor: pointer;
  padding: 15px 0 5px 0;
  display: flex;
  align-items: center;
  min-height: 100%;
}

.dropdown-toggle i {
  margin-right: 5px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: fixed;
  top: 80px;
  right: 0;
  transform: translateY(-10px);
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #e5e7eb;
  width: 700px;
  max-width: 90vw;
  margin: 0;
  box-sizing: border-box;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  position: relative;
}

.dropdown-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color) 0%, rgba(54, 199, 131, 0.8) 30%, rgba(54, 199, 131, 0.6) 60%, rgba(54, 199, 131, 0.3) 80%, transparent 100%);
  transform: translateX(-50%);
}

.dropdown-section {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  text-align: right;
}

.dropdown-item {
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Ensure linked items also stack title then description */
.dropdown-item a.dropdown-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.dropdown-item h4 {
  color: var(--secondary-color);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.dropdown-item p {
  color: var(--gray-color);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.55;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 10px;
    margin-right: 20px;
  }
  
  .dropdown-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .dropdown-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
  }
  
  .dropdown-toggle i {
    margin-left: 5px;
  }
  
  .dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }
}

.nav-mobile {
  display: none;
  position: relative;
  z-index: 1000;
}

#nav-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  padding: 15px;
  margin: -15px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  /* Improve touch target size */
  touch-action: manipulation;
}

#nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--secondary-color);
  border-radius: 3px;
  left: 0;
  transition: var(--transition);
}

#nav-toggle span:nth-child(1) {
  top: 0;
}

#nav-toggle span:nth-child(2) {
  top: 8px;
}

#nav-toggle span:nth-child(3) {
  top: 16px;
}

/* 
========================================
   Hero Section
======================================== 
*/
.hero {
  padding: 180px 0 100px;
  background-color: #f5f7fa;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  margin-left: 0;
  margin-right: 0;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray-color);
}

.hero-content .btn {
  margin-right: 0;
  margin-left: 15px;
  margin-bottom: 15px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* 
========================================
   Features Section
======================================== 
*/
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(63, 81, 181, 0.1);
  border-radius: 50%;
  margin-bottom: 25px;
}

.feature-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--gray-color);
}

/* 
========================================
   Why Us Section
======================================== 
*/
.why-us {
  padding: 100px 0;
  background-color: #f5f7fa;
}

.why-us-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.why-us-image {
  flex: 1;
}

.why-us-features {
  flex: 1;
}

.why-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.why-feature i {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 0;
  margin-left: 20px;
  margin-top: 5px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.why-feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.why-feature p {
  color: var(--text-color);
}

/* 
========================================
   Process Section
======================================== 
*/
.process {
  padding: 100px 0;
}

.process-steps {
  position: relative;
  counter-reset: step;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
  /* Ensure container expands to hold floated children */
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 15%;
  right: 15%;
  width: 70%;
  height: 2px;
  background-color: var(--light-gray);
  z-index: -1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 33%;
  /* float: right; */
  /* Removed float as we're using flexbox */
  position: relative;
  margin-bottom: 30px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 10px rgba(63, 81, 181, 0.1);
  /* float: right; */
  /* Removed float as we're using flexbox */
  margin-left: auto;
  margin-right: auto;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.step-content p {
  color: var(--gray-color);
  font-size: 0.95rem;
}

.process-steps::after {
  content: "";
  clear: both;
  display: table;
}

/* 
========================================
   Counter Section
======================================== 
*/
.counter-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  color: white;
}

.counters {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.counter {
  text-align: center;
  padding: 20px;
  float: right;
}

.counter i {
  font-size: 40px;
  margin-bottom: 15px;
}

.counter-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.counter h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

/* 
========================================
   Team Section
======================================== 
*/
.team {
  padding: 100px 0;
  background-color: #f5f7fa;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.team-member h3 {
  font-size: 1.2rem;
  margin: 20px 0 5px;
  color: var(--secondary-color);
}

.team-member p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.social-links a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Partners Section */
.partners {
  padding: 8rem 0;
  background-color: #f8f9fa;
}

.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  margin-top: 5rem;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
  transition: var(--transition);
}

.partner-logo img {
  max-height: 100%;
  transition: var(--transition);
}

.partner-logo:hover img {
  transform: scale(1.05);
}

/* 
========================================
   Partner with Meta Section Styles
======================================== 
*/
.partner {
  padding: 100px 0;
  background-color: #fff;
}

.partner .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.partner .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.partner p {
  font-size: 1.1rem;
  color: var(--gray-color);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.partner h2 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.partner ul {
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
}

.partner ul li {
  position: relative;
  padding-right: 25px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.7;
}

.partner a {
  color: #007BFF;
  /* Blue link color */
  text-decoration: underline;
  font-weight: 500;
}

.partner a:hover {
  color: #0056b3;
  text-decoration: none;
}

/* 
========================================
   Terms Section Styles
======================================== 
*/
.terms-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.breadcrumb {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.terms-section h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.terms-section h4 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.terms-section h5 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.terms-section p,
.terms-section li {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-color);
}

.terms-section ul {
  margin-bottom: 20px;
  padding-right: 20px;
}

.terms-section ol {
  margin-bottom: 20px;
  padding-right: 20px;
}

/* 
========================================
   Partner Registration Form Styles
======================================== 
*/
.partner-form-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.partner-registration-form {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(54, 199, 131, 0.2);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M6 8L0 0h12z' fill='%236c757d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 35px;
}

.form-section-title {
  margin-top: 30px;
  margin-bottom: 20px;
}

.form-section-title h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.half-width {
  flex: 1;
  min-width: calc(50% - 10px);
}

.char-limit {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.checkbox-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #f1f1f1;
  border-radius: 4px;
  margin-left: 10px;
  position: relative;
}

.checkbox-wrapper input:checked~.checkmark::after {
  content: "✔";
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 14px;
  color: var(--primary-color);
}

.checkbox-wrapper .consent-text {
  margin-right: 10px;
  font-size: 0.95rem;
}

.checkbox-wrapper:hover .checkmark {
  background-color: #e9ecef;
}

.required {
  color: red;
  margin-right: 2px;
}

/* 
========================================
   Pricing Section
======================================== 
*/
.pricing {
  padding: 100px 0;
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 15px;
}

.pricing-toggle span {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.annual-discount {
  background-color: var(--primary-color);
  color: white !important;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.9rem !important;
  margin-right: 10px;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  right: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--primary-color);
}

input:checked+.slider:before {
  transform: translateX(-26px);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  /* يجعل البطاقة ترتيب عمودي */
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  transform: scale(1.05);
  z-index: 1;
  border: 2px solid var(--primary-color);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 8px 15px;
  font-size: 0.9rem;
  border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-color);
}

.annual-price {
  display: none;
}

.annual-note {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-top: 5px;
  display: none;
}

.annual-note.show {
  display: block;
}

.annual-price.show {
  display: block;
}

.monthly-price.hide {
  display: none;
}

.pricing-features {
  flex-grow: 1;
  /* يجعل الميزات تأخذ المساحة المتبقية */
  padding: 30px;
}

.pricing-features ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features i {
  font-size: 1.1rem;
}

.pricing-features .fa-check {
  color: var(--primary-color);
}

.pricing-features .fa-times {
  color: var(--gray-color);
}

.pricing-footer {
  margin-top: auto;
  /* يدفع footer إلى الأسفل */
  padding: 20px 30px 30px;
  text-align: center;
}

.pricing-note {
  text-align: center;
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-top: 30px;
}

.pricing-note p {
  margin-bottom: 5px;
}

.store-buttons a.store-button {
  display: inline-block;
  width: auto;
  min-width: 100px;
  height: auto;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: white;
  border: none;
  cursor: pointer;
  margin: 10px;
  border-radius: var(--border-radius);
  background-color: var(--secondary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.store-buttons a.store-button:hover {
  background-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.store-buttons i.fab {
  font-size: 3rem;
  color: white;
}

@media (max-width: 768px) {
  .store-buttons a.store-button {
    min-width: 100px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

}

/* 
========================================
   Demo Section
======================================== 
*/
.demo {
  padding: 100px 0;
}


.demo-footer {
  padding: 20px 30px 30px;
  text-align: center;
}

/* 
========================================
   Preparation Steps Section
======================================== 
*/
.preparation-steps {
  padding: 100px 0;
  background-color: #f5f7fa;
}

.preparation-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

.preparation-main-content {
  flex: 1;
  min-width: 65%;
}

.preparation-sidebar {
  width: 30%;
  transition: all 0.3s ease;
  position: relative;
}

.preparation-sidebar.collapsed {
  width: 60px;
  overflow: hidden;
}

.sidebar-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.sidebar-toggle button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.preparation-sidebar:not(.collapsed) .sidebar-toggle button {
  transform: rotate(45deg);
}

.preparation-card,
.sidebar-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  height: 100%;
}

.sidebar-card {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: 100%;
}

.preparation-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.preparation-card h4 {
  color: var(--secondary-color);
  margin: 30px 0 15px;
  font-size: 1.4rem;
}

.preparation-card p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.numbered-steps {
  padding-right: 20px;
  counter-reset: step-counter;
  list-style: none;
}

.numbered-steps li {
  position: relative;
  margin-bottom: 15px;
  padding-right: 30px;
  counter-increment: step-counter;
}

.numbered-steps li::before {
  content: counter(step-counter);
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 30px 0;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sidebar-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.step-list {
  margin-bottom: 30px;
}

.step-list li {
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: var(--border-radius);
  background-color: white;
  cursor: pointer;
  transition: var(--transition);
}

.step-list li:hover {
  background-color: rgba(54, 199, 131, 0.1);
}

.step-list li.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
}

.sidebar-cta {
  margin-top: 20px;
  text-align: center;
}

/* Step content styles */
.step-content {
  display: none;
  /* Hide all step contents by default */
  margin-bottom: 30px;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-content h3 {
  color: #0056b3;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.step-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.step-content .numbered-steps {
  padding-right: 20px;
  margin-bottom: 20px;
}

.step-content .numbered-steps li {
  margin-bottom: 10px;
  position: relative;
}

.step-content .alert {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.step-content .alert-info {
  background-color: #e8f4fd;
  border-right: 4px solid #0056b3;
}

.step-content .alert-warning {
  background-color: #fff3cd;
  border-right: 4px solid #ffc107;
}

.step-content .alert-success {
  background-color: #d4edda;
  border-right: 4px solid #28a745;
}

.step-content .video-container {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-content .video-container video {
  width: 100%;
  display: block;
}

/* Responsive styles for preparation steps */

@media (max-width: 768px) {
  .preparation-content {
    flex-direction: column;
  }

  .preparation-main-content,
  .preparation-sidebar {
    width: 100%;
  }

  .preparation-sidebar.collapsed {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .preparation-sidebar:not(.collapsed) {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    z-index: 1000;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .sidebar-toggle {
    top: 10px;
    right: 10px;
    left: auto;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .cta-buttons-container {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .header .cta-buttons-container {
    order: 3;
    margin-top: 10px;
    justify-content: flex-end;
  }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .cta-button {
    margin-bottom: 5px;
  }
}

/* 
========================================
   Testimonials Section
======================================== 
*/
.testimonials {
  padding: 100px 0;
  background-color: #f5f7fa;
}

/* Slider */
.testimonial-slider {
  position: relative;
}

.testimonial-slide {
  display: none;
  text-align: center;
}

.testimonial-slide.active {
  display: block;
}

/* Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.prev-btn,
.next-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.prev-btn i,
.next-btn i {
  color: #007bff;
}

.prev-btn i:hover,
.next-btn i:hover {
  color: #0056b3;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  margin: 0 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #007bff;
}

.testimonial-slide {
  width: 100%;
}

.testimonial-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin: 0 15px;
}

.testimonial-rating {
  margin-bottom: 20px;
  color: #ffc107;
}

.testimonial-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 15px;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.testimonial-author p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 0;
  font-style: normal;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.prev-btn,
.next-btn {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.testimonial-dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* 
========================================
   FAQ Section
======================================== 
*/
.faq {
  padding: 100px 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 20px 30px;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg) scaleX(-1);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--gray-color);
}

/* 
========================================
   Comparison Section
======================================== 
*/

.comparison {
  padding: 0 0 5rem 0;
  background-color: #fff;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  max-width: 90rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem 2rem;
  text-align: center;
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 1.0rem;
}

.comparison-table th:first-child {
  border-top-right-radius: 1rem;
  text-align: right;
}

.comparison-table th:last-child {
  border-top-left-radius: 1rem;
}

.comparison-table tr:nth-child(even) {
  background-color: rgba(16, 76, 186, 0.05);
}

.comparison-table td:first-child {
  text-align: right;
  font-weight: 500;
}

.comparison-table .fa-check {
  font-size: 1.8rem;
}

.comparison-table .fa-times {
  color: red;
  font-size: 1.8rem;
}

.check {
  color: var(--secondary-color);
}

.cross {
  color: var(--accent-color);
}

/* 
========================================
   Blog Section
======================================== 
*/
.blog {
  padding: 100px 0;
  background-color: #f5f7fa;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
  text-align: right;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
  color: var(--primary-color);
}

.blog-content p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.read-more i {
  margin-left: 8px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

.blog-cta {
  text-align: center;
  margin-top: 40px;
}

/* 
========================================
   Video Section
======================================== 
*/
.video-section {
  padding: 100px 0;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-thumbnail {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-thumbnail img {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.play-button:hover {
  background-color: var(--secondary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

/* 
========================================
   Subscribe Section
======================================== 
*/
.subscribe {
  padding: 100px 0;
}

.subscribe-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.subscribe-content p {
  margin-bottom: 30px;
}

.subscribe-form {
  display: flex;
  margin-bottom: 20px;
}

.subscribe-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 1rem;
  background: var(--light-gray);
}

.subscribe-form button {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  padding: 0 30px;
}

.form-note {
  font-size: 0.9rem;
}

/* 
========================================
   Ready For Trip Section
======================================== 
*/
.ready-for-trip {
  padding: 100px 0;
}

.ready-for-trip-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.ready-for-trip-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.ready-for-trip-content p {
  margin-bottom: 30px;
}

.form-note {
  font-size: 0.9rem;
}

/* 
========================================
   Footer
======================================== 
*/
.footer {
  background-color: #1a2530;
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo {
  max-width: 300px;
  margin-bottom: 30px;
}

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

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-between;
  max-width: 700px;
}

.footer-links-column {
  margin-bottom: 30px;
  min-width: 150px;
}

.footer-links-column h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links-column ul li {
  margin-bottom: 10px;
}

.footer-links-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links-column a:hover {
  color: white;
  padding-left: 5px;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* 
========================================
   Responsive Styles
======================================== 
*/
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 50px;
    max-width: 100%;
  }

  .why-us-content {
    flex-direction: column;
  }

  /* Default for all why-us sections on mobile */
  .why-us-image {
    margin-bottom: 40px;
    order: -1;
    /* Default: image on top */
  }

  /* For specific odd-numbered why-us sections on small screens */
  .official-api .why-us-content,
  .team-management .why-us-content,
  .database .why-us-content {
    flex-direction: column-reverse;
  }

  .official-api .why-us-image,
  .team-management .why-us-image,
  .database .why-us-image {
    margin-top: 40px;
    margin-bottom: 0;
    order: 1;
    /* Image at bottom for odd sections */
  }

  /* For specific even-numbered why-us sections on small screens */
  .automation .why-us-content {
    flex-direction: column;
  }

  .automation .why-us-image {
    margin-bottom: 40px;
    order: -1;
    /* Image at top for even sections */
  }

  .process-step {
    width: 50%;
    margin-bottom: 40px;
  }

  .process-step:nth-child(even) {
    /* float: right; */
    /* Removed as we're using flexbox */
  }

  .process-steps {
    flex-direction: row;
    justify-content: space-around;
  }

  .process-steps::before {
    display: none;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo {
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-links {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .process-steps {
    flex-direction: column;
  }

  .process-step {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
  }

  .logo {
    order: 1;
    margin-bottom: 0;
  }

  .nav-mobile {
    order: 2;
  }

  .nav {
    display: none;
    order: 4;
    width: 100%;
    margin-top: 10px;
    background-color: white;
    z-index: 999;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: var(--border-radius);
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav li {
    margin: 10px 0;
    width: 100%;
  }

  /* Hide default CTA buttons when nav-toggle appears */
  .cta-buttons-container {
    display: none;
  }

  /* Show CTA buttons as menu items in mobile view */
  .nav .mobile-cta-buttons {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav .mobile-cta-buttons li {
    margin: 10px 0;
  }

  .nav .mobile-cta-buttons li a {
    display: block;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
  }

  .nav .mobile-cta-buttons li a:hover {
    background-color: var(--accent-color);
  }

  .nav .mobile-cta-buttons li a::after {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .counters {
    flex-direction: column;
  }

  .counter {
    margin-bottom: 30px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input,
  .subscribe-form button {
    border-radius: var(--border-radius);
  }

  .pricing-card.popular {
    transform: none;
    z-index: 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* لتتأكد أن البطاقة تمتد بشكل متساوٍ */
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }

  .process-step {
    width: 100%;
    float: none;
    margin-bottom: 40px;
  }
}



/* 
========================================
   Our Approach Section
======================================== 
*/
.our-approach {
  background-color: #fff;
}

.our-approach .why-feature i {
  color: var(--primary-color);
}

.our-approach .why-feature h3 {
  color: var(--primary-dark);
}

/* 
========================================
   Success Stories Section
======================================== 
*/
.success-stories {
  background-color: #f9fff9;
}

.success-stories .why-feature i {
  color: #ffd700;
  font-size: 26px;
}

.success-stories .why-feature h3 {
  font-weight: 700;
}

/* 
========================================
   WhatsApp Ads Section
======================================== 
*/
.whatsapp-ads {
  background-color: #ffffff;
}

.whatsapp-ads .why-feature i {
  color: var(--primary-color);
  font-size: 26px;
  background-color: rgba(0, 188, 96, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-ads .why-feature p {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.whatsapp-ads .why-us-content {
  gap: 80px;
}

/* 
========================================
   Database Section
======================================== 
*/
.database {
  background-color: #f8faff;
}

.database .why-feature i {
  color: #4a6fff;
  font-size: 26px;
  background-color: rgba(74, 111, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.database .why-feature p {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.database .why-us-content {
  gap: 80px;
}

/* 
========================================
   Official WhatsApp Business API Section
======================================== 
*/
.official-api {
  background-color: #ffffff;
}

.official-api .why-feature i {
  color: #25d366;
  font-size: 26px;
  background-color: rgba(37, 211, 102, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.official-api .why-feature p {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.official-api .why-us-content {
  gap: 80px;
}

/* 
========================================
   Automation Section
======================================== 
*/
.automation {
  background-color: #f8f9ff;
}

.automation .why-feature i {
  color: #7b68ee;
  font-size: 26px;
  background-color: rgba(123, 104, 238, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.automation .why-feature p {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.automation .why-us-content {
  gap: 80px;
}

/* 
========================================
   Team Management Section
======================================== 
*/
.team-management {
  background-color: #ffffff;
}

.team-management .why-feature i {
  color: #ff6b6b;
  font-size: 26px;
  background-color: rgba(255, 107, 107, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-management .why-feature p {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.team-management .why-us-content {
  gap: 80px;
}

/* 
========================================
   Floating WhatsApp Button Styles
======================================== 
*/
.floating-whatsapp-btn {
  position: fixed;
  left: 30px;
  /* يمكنك تعديله للضبط حسب اتجاه الموقع */
  bottom: 30px;
  background-color: #25D366;
  color: white !important;
  padding: 15px 20px;
  border-radius: 50px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.floating-whatsapp-btn:hover {
  background-color: #1da851;
  text-decoration: none;
}

.floating-whatsapp-btn i {
  font-size: 24px;
}

.floating-whatsapp-btn span {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

/* 
========================================
   RTL Support (Additional)
======================================== 
*/
.process-step {
  float: right;
}

.step-number {
  float: right;
}

.counter {
  float: right;
}

.testimonial-author {
  flex-direction: row-reverse;
}

.blog-content {
  text-align: right;
}

.subscribe-form input {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.subscribe-form button {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

/* 
========================================
   Generic Page Content (for inner pages)
======================================== 
*/
.page-content {
  padding: 80px 0;
  background-color: #fff;
}

.page-content .container {
  max-width: 900px;
}

.page-content h1 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 800;
}

.page-content h2 {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.page-content h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-content p {
  font-size: 1.05rem;
  color: var(--text-color);
  line-height: 1.9;
  margin-bottom: 14px;
}

.page-content ul,
.page-content ol {
  margin: 10px 0 18px 0;
  padding-right: 20px;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.page-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* 
========================================
   Chat Page (إدارة المحادثات) Specific Styles
======================================== 
*/
.chat-hero {
  padding: 140px 0 40px;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(54,199,131,0.08) 0%, rgba(54,199,131,0.02) 60%, rgba(255,255,255,0) 100%),
              linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
  position: relative;
}

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

.chat-hero .hero-text {
  flex: 1;
}

.chat-hero h1 {
  font-size: 2.6rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.chat-hero .subtitle {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 16px;
}

.chat-hero .chat-quote {
  border-right: 4px solid var(--primary-color);
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 12px;
  line-height: 1.95;
  color: var(--text-color);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  position: relative;
}

.chat-hero .chat-quote::before {
  content: "\f10d"; /* fa-quote-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: -12px;
  left: -12px;
  transform: scaleX(-1);
  color: rgba(54,199,131,0.15);
  font-size: 44px;
}

.chat-hero .hero-visual {
  flex: 1;
}

.image-placeholder {
  width: 100%;
  min-height: 320px;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: repeating-linear-gradient(45deg, rgba(203,213,225,.2), rgba(203,213,225,.2) 10px, rgba(148,163,184,.15) 10px, rgba(148,163,184,.15) 20px);
}

.image-placeholder span {
  font-size: 0.95rem;
}

.chat-problems {
  padding: 60px 0 30px;
}

.chat-problems h2,
.chat-solution h2,
.chat-benefits h2,
.chat-experience h2,
.chat-cta h2 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 14px;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.problem-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 18px 18px 18px 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  position: relative;
}

.problem-card::before {
  content: "\2022";
  position: absolute;
  right: 12px;
  top: 18px;
  font-size: 24px;
  line-height: 1;
  color: var(--primary-color);
}

.chat-solution {
  padding: 30px 0 30px;
}

.chat-solution .chat-quote {
  border-right: 4px solid var(--primary-color);
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 12px;
  line-height: 1.95;
  color: var(--text-color);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.chat-solution-illustration {
  padding: 30px 0 30px;
}

.illustration-card {
  background: #fff;
  border: 1px solid #e6f4ec;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 28px rgba(54, 199, 131, 0.14);
}

.chat-benefits {
  padding: 30px 0 30px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(54,199,131,0.16), rgba(54,199,131,0.08));
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.08);
}

.chat-experience {
  padding: 30px 0 30px;
}

.chat-cta {
  padding: 30px 0 50px;
  text-align: center;
}

.chat-cta .btn {
  margin-left: 8px;
}

.chat-cta a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(54,199,131,0.1);
  color: var(--primary-dark);
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.chat-cta a:hover {
  background: rgba(54,199,131,0.18);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .chat-hero .container {
    flex-direction: column;
  }

  .image-placeholder {
    min-height: 220px;
  }
}

.footer-links-column ul {
  padding-right: 0;
}

@media (max-width: 768px) {
  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input,
  .subscribe-form button {
    border-radius: var(--border-radius);
  }
}

/* Update layout direction for flex containers */
.header .container,
.hero .container,
.testimonial-author,
.why-us-content,
.footer-content {
  flex-direction: row;
}

/* Social links icons */
.social-links a i {
  transform: scaleX(-1);
}

/* 
========================================
   RTL Typography Adjustments
======================================== 
*/
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select,
span {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif, "Arial";
}

/* Fix arrow directions */
.faq-question i.fa-chevron-down {
  transform: scaleX(-1);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg) scaleX(-1);
}

/* 
========================================
   Responsive Form Styles for Partner Registration
======================================== 
*/

/* Container adjustments */
.forminator-custom-form,
.forminator-row {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Full-width fields on mobile */
.forminator-field input[type="text"],
.forminator-field input[type="email"],
.forminator-field input[type="tel"],
.forminator-field select,
.forminator-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--light-gray);
  margin-bottom: 15px;
}

/* Responsive labels */
.forminator-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1rem;
}

/* Adjust columns responsiveness */
.forminator-col-12 {
  width: 100%;
}

.forminator-col-6 {
  width: 48%;
  float: right;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .forminator-col-6 {
    width: 100%;
    float: none;
  }
}

/* Section title (e.g., "بيانات الحساب البنكي") */
.forminator-title {
  font-size: 1.3rem;
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* Checkbox styling */
.forminator-checkbox__label {
  display: block;
  margin: 10px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.forminator-checkbox-box {
  margin-left: 10px;
}

/* Submit button */
.forminator-button-submit {
  display: inline-block;
  width: auto;
  min-width: 200px;
  padding: 12px 24px;
  font-size: 1rem;
  text-align: center;
  margin-top: 15px;
}

@media (max-width: 576px) {
  .forminator-button-submit {
    width: 100%;
    font-size: 1rem;
  }
}

/* Fix RTL alignment and spacing */
.forminator-field {
  margin-bottom: 25px;
}

/* Responsive form container */
.forminator-custom-form {
  padding: 20px;
  border-radius: var(--border-radius);
}

/* Reduce padding/margin on small screens */
@media (max-width: 768px) {
  .forminator-custom-form {
    padding: 15px;
  }

  .forminator-title {
    font-size: 1.1rem;
  }

  .forminator-col-6 {
    width: 100%;
  }

  .forminator-field input,
  .forminator-field select {
    font-size: 0.95rem;
    padding: 10px;
  }
}

@media (max-width: 900px) {
  #hero .container {
    flex-direction: column;
    align-items: center;
  }
}