.section-py {
  padding: 5rem 0;
}
@media (max-width: 1199.98px) {
  .section-py {
    padding: 4rem 0;
  }
}
@media (max-width: 767.98px) {
  .section-py {
    padding: 3rem 0;
  }
}

.first-section-pt {
  padding-top: 8.84rem;
}
@media (max-width: 1199.98px) {
  .first-section-pt {
    padding-top: 7.5rem;
  }
}

.card[class*=card-hover-border-] {
  transition: all 0.2s ease-in-out;
}

.section-title {
  position: relative;
  font-weight: 700;
  z-index: 1;
}
.section-title::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 120%;
  inset-inline-start: -12%;
  bottom: 0;
  background: url("../../../img/front-pages/icons/section-title-icon.png") no-repeat left bottom;
  background-size: contain;
  z-index: -1;
}

.light-style body {
  background-color: #fff;
}

.dark-style body {
  background-color: #2f3349;
}

nav.layout-navbar {
  backdrop-filter: unset !important;
  height: auto !important;
  z-index: 999 !important;
}
nav.layout-navbar::after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
nav.layout-navbar.navbar-active::after {
  backdrop-filter: saturate(100%) blur(6px);
  -webkit-backdrop-filter: saturate(100%) blur(6px);
}

.navbar.landing-navbar {
  box-shadow: none;
  transition: all 0.2s ease-in-out;
  transform: unset !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
 /*  margin-top: 1rem; */
  border-width: 2px;
  border-style: solid;
  border-radius: 0.5rem;
}
.navbar.landing-navbar .navbar-nav .nav-link {
  padding: 0.5rem 0.9375rem;
}
@media (max-width: 1199.98px) {
  .navbar.landing-navbar .navbar-nav .nav-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media (min-width: 992px) {
  .navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown > .dropdown-menu {
    max-width: 1300px;
    inset-inline-start: 50% !important;
    transform: translateX(-50%);
    top: 100%;
  }
}
@media (max-width: 991.98px) {
  .navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown > .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
}
.navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown > .dropdown-menu .mega-dropdown-link {
  padding-left: 0;
  padding-right: 0;
}
.navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown > .dropdown-menu .mega-dropdown-link i {
  font-size: 0.625rem;
}
.navbar.landing-navbar .navbar-nav .nav-item .nav-img-col,
.navbar.landing-navbar .navbar-nav .nav-item .nav-img-col img {
  border-radius: 0.625rem;
}
@media (max-width: 991.98px) {
  .navbar.landing-navbar .landing-menu-overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(75, 70, 92, 0.78);
    transition: all 0.2s ease-in-out;
    z-index: 9998;
  }
  .navbar.landing-navbar .landing-nav-menu {
    position: fixed;
    display: block !important;
    height: 100%;
    max-width: 300px;
    width: 80%;
    padding: 1rem;
    inset-inline-start: -100%;
    top: 0;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
  }
  .navbar.landing-navbar .landing-nav-menu.show {
    inset-inline-start: 0;
  }
  .navbar.landing-navbar .landing-nav-menu.show ~ .landing-menu-overlay {
    display: block;
  }
}

.light-style .layout-navbar .navbar.landing-navbar {
 /*  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.38); */
  border-color: transparent;
  background: transparent;
}

.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link {
  color: black;
}
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .show > .nav-link,
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .active > .nav-link,
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.show,
.light-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.active {
  color: #7367f0 !important;
}
@media (max-width: 991.98px) {
  .light-style .layout-navbar .navbar.landing-navbar .landing-nav-menu {
    background-color: #fff;
  }
}
.light-style .layout-navbar.navbar-active .navbar.landing-navbar {
  background: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(165, 163, 174, 0.3);
}
.light-style .layout-navbar .menu-text {
  color: #5d596c;
}

.dark-style .layout-navbar .navbar.landing-navbar {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.04);
}
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link {
  color: #cfd3ec;
}
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .show > .nav-link,
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .active > .nav-link,
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.show,
.dark-style .layout-navbar .navbar.landing-navbar .navbar-nav .nav-link.active {
  color: #7367f0 !important;
}
@media (max-width: 991.98px) {
  .dark-style .layout-navbar .navbar.landing-navbar .landing-nav-menu {
    background-color: #2f3349;
  }
}
.dark-style .layout-navbar .navbar .menu-text {
  color: #cfd3ec;
}
.dark-style .layout-navbar.navbar-active .navbar.landing-navbar {
  background: #2f3349;
  border-color: #2f3349;
  box-shadow: 0 0.125rem 0.25rem rgba(15, 20, 34, 0.4);
}

@media (min-width: 992px) {
  [dir=rtl] .navbar.landing-navbar .navbar-nav .nav-item.mega-dropdown > .dropdown-menu {
    transform: translateX(50%);
  }
}

.landing-footer .footer-link {
  transition: all 0.2s ease-in-out;
}
.landing-footer .footer-link:hover {
  opacity: 0.8;
}
.landing-footer .footer-top {
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 3.5rem 0;
  border-top-left-radius: 3.75rem;
  border-top-right-radius: 3.75rem;
}
@media (max-width: 767.98px) {
  .landing-footer .footer-top {
    padding: 3rem 0;
  }
}
@media (min-width: 992px) {
  .landing-footer .footer-logo-description {
    max-width: 322px;
  }
}
.landing-footer .footer-form {
  max-width: 22.25rem;
}
.landing-footer .footer-form input {
  background-color: #25293c;
  border-color: #434968;
  color: #d3d4dc;
}
.landing-footer .footer-form input:hover:not([disabled]):not([focus]) {
  border-color: #434968;
}
.landing-footer .footer-form input::placeholder {
  color: rgba(211, 212, 220, 0.5);
}
.landing-footer .footer-form label {
  color: rgba(211, 212, 220, 0.5);
}

.light-style .landing-footer .footer-link,
.light-style .landing-footer .footer-text {
  color: white;
}
.light-style .landing-footer .footer-title {
  color: white;
}
.light-style .landing-footer .footer-top {
 
  background-color: black;
}
.light-style .landing-footer .footer-bottom {
  background-color: black;
}

.dark-style .landing-footer .footer-link,
.dark-style .landing-footer .footer-text {
  color: #b6bee3;
}
.dark-style .landing-footer .footer-title {
  color: #cfd3ec;
}
.dark-style .landing-footer .footer-top {
  background-image: url("../../../img/front-pages/backgrounds/footer-bg-dark.png");
}
.dark-style .landing-footer .footer-bottom {
  background-color: #171925;
}

.footer-link + div a {
  font-size: 1.5rem; /* size of icons */
  transition: color 0.2s ease;
  color: #DFFF32 !important;
}

 













.hero-section {
  background: linear-gradient(135deg, #DFFF32 0%, #DFFF32 100%);
color: #0F0F0F;
padding-top: 150px;
position: relative;
overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
}

/* Language-specific content alignment */
.hero-content[lang="ar"] {
  text-align: right !important;
  direction: rtl !important;
}

.hero-content[lang="en"] {
  text-align: left !important;
  direction: ltr !important;
}

/* Force English content to LTR */
.hero-content[lang="en"],
.hero-content[lang="en"] * {
  text-align: left !important;
  direction: ltr !important;
}

/* Optimize English text spacing */
.hero-content[lang="en"] {
  max-width: 100%;
  overflow: hidden;
}

.hero-title[lang="en"] {
  white-space: normal;
  word-spacing: normal;
}

.hero-description[lang="en"] .lead {
  white-space: normal;
  word-spacing: normal;
}

/* Dynamic text alignment based on language */
.hero-content h1[lang="ar"] {
  text-align: right !important;
  direction: rtl !important;
}

.hero-content h1[lang="en"] {
  text-align: left !important;
  direction: ltr !important;
}

.hero-content .hero-description[lang="ar"] {
  text-align: right !important;
  direction: rtl !important;
}

.hero-content .hero-description[lang="en"] {
  text-align: left !important;
  direction: ltr !important;
}

.hero-content .hero-description[lang="en"] * {
  text-align: left !important;
  direction: ltr !important;
}

.hero-badge {
  display: inline-block;
}

.badge-text {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  background: linear-gradient(45deg, #0F0F0F, #0F0F0F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-title[lang="ar"] {
  text-align: right;
  direction: rtl;
  letter-spacing: 0.1em;
}

.hero-title[lang="en"] {
  text-align: left !important;
  direction: ltr !important;
  letter-spacing: -0.02em;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(45deg, #0F0F0F, #0F0F0F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-description .lead {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 100%;
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.1em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-description[lang="ar"] .lead {
  text-align: right !important;
  direction: rtl !important;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-description[lang="en"] .lead {
  text-align: left !important;
  direction: ltr !important;
  letter-spacing: 0.01em;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-features {
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.feature-item h6 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.feature-item p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.bg-circle-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.bg-circle-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
   }

  .hero-content {
      padding: 0 15px;
  }

  .hero-title {
      font-size: 2rem;
      line-height: 1.4;
      margin-bottom: 1rem;
      word-break: break-word;
  }

  .hero-title[lang="ar"] {
      font-size: 2rem;
      line-height: 1.4;
  }

  .hero-title[lang="en"] {
      font-size: 1.8rem;
      line-height: 1.3;
      text-align: left !important;
      direction: ltr !important;
      letter-spacing: -0.01em;
  }

  .hero-description .lead {
      font-size: 1rem;
      line-height: 1.6;
      max-width: 100%;
  }

  .hero-description[lang="ar"] .lead {
      font-size: 1rem;
      line-height: 1.6;
  }

  .hero-description[lang="en"] .lead {
      font-size: 0.95rem;
      line-height: 1.5;
      text-align: left !important;
      direction: ltr !important;
      letter-spacing: 0.005em;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 100px;
  
  }

  .hero-content {
      padding: 0 10px;
  }

  .hero-title {
      font-size: 1.75rem;
      line-height: 1.4;
      margin-bottom: 0.8rem;
      word-break: break-word;
  }

  .hero-title[lang="ar"] {
      font-size: 1.75rem;
      line-height: 1.4;
      letter-spacing: 0.1em;
  }

  .hero-title[lang="en"] {
      font-size: 1.6rem;
      line-height: 1.3;
      letter-spacing: -0.01em;
      text-align: left !important;
      direction: ltr !important;
  }

  .hero-description .lead {
      font-size: 0.95rem;
      line-height: 1.6;
      max-width: 100%;
  }

  .hero-description[lang="ar"] .lead {
      font-size: 0.95rem;
      line-height: 1.6;
      letter-spacing: 0.1em;
  }

  .hero-description[lang="en"] .lead {
      font-size: 0.9rem;
      line-height: 1.4;
      letter-spacing: 0.005em;
      text-align: left !important;
      direction: ltr !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
      font-size: 1.5rem;
      line-height: 1.3;
      word-break: break-word;
  }

  .hero-title[lang="ar"] {
      font-size: 1.5rem;
      line-height: 1.3;
  }

  .hero-title[lang="en"] {
      font-size: 1.4rem;
      line-height: 1.2;
      text-align: left !important;
      direction: ltr !important;
      letter-spacing: -0.01em;
  }

  .hero-description .lead {
      font-size: 0.9rem;
      line-height: 1.5;
  }

  .hero-description[lang="ar"] .lead {
      font-size: 0.9rem;
      line-height: 1.5;
  }

  .hero-description[lang="en"] .lead {
      font-size: 0.85rem;
      line-height: 1.4;
      text-align: left !important;
      direction: ltr !important;
      letter-spacing: 0.005em;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .hero-title {
      font-size: 1.3rem;
      line-height: 1.2;
  }

  .hero-title[lang="ar"] {
      font-size: 1.3rem;
      line-height: 1.2;
  }

  .hero-title[lang="en"] {
      font-size: 1.2rem;
      line-height: 1.1;
      text-align: left !important;
      direction: ltr !important;
      letter-spacing: -0.01em;
  }

  .hero-description .lead {
      font-size: 0.8rem;
      line-height: 1.4;
  }
}

.steps-info-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.steps-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.steps-info-card .card-header {
  background: linear-gradient(135deg, #f5f8f1 0%, #f5f8f1 100%);
color: #0F0F0F;
padding: 25px 30px;
border: none;
position: relative;
}

.steps-info-card .card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.steps-info-card .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.steps-info-card .card-title i {
  font-size: 1.3rem;
  opacity: 0.9;
}

.steps-info-card .card-body {
  padding: 30px;
  background: #ffffff;
}

.steps-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
}

.steps-content h1,
.steps-content h2,
.steps-content h3,
.steps-content h4,
.steps-content h5,
.steps-content h6 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
}

.steps-content p {
  margin-bottom: 1rem;
  color: #6c757d;
}

.steps-content ul,
.steps-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.steps-content li {
  margin-bottom: 0.5rem;
  color: #495057;
}

.steps-content strong {
  color: #2c3e50;
  font-weight: 600;
}

.steps-content a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.steps-content a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* English Text Enhancement */
.hero-title,
.hero-description .lead,
.steps-content,
.wizard-step-content {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* English Text Direction and Spacing */
[lang="en"] {
  direction: ltr;
  text-align: left;
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
}

[lang="ar"] {
  direction: rtl;
  text-align: right;
  font-family: 'Arial', 'Tahoma', sans-serif;
}

/* Enhanced English Typography */
.hero-title[lang="en"],
.hero-description[lang="en"] .lead {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
}

.steps-content[lang="en"] {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: left;
  max-width: 100%;
}

.steps-content[lang="en"] h1,
.steps-content[lang="en"] h2,
.steps-content[lang="en"] h3,
.steps-content[lang="en"] h4,
.steps-content[lang="en"] h5,
.steps-content[lang="en"] h6 {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-align: left;
  margin-bottom: 0.8rem;
}

.steps-content[lang="en"] p {
  margin-bottom: 1rem;
  color: #495057;
  font-size: 1rem;
  text-align: left;
  line-height: 1.6;
}

.steps-content[lang="en"] ul,
.steps-content[lang="en"] ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  text-align: left;
}

.steps-content[lang="en"] li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  text-align: left;
}

.steps-content[lang="en"] strong {
  font-weight: 700;
  color: #2c3e50;
}

.steps-content[lang="en"] em {
  font-style: italic;
  color: #6c757d;
}

/* Contract Content Styling */
.contract[lang="en"] {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  line-height: 1.6;
  text-align: left;
  direction: ltr;
}

.contract[lang="en"] h1,
.contract[lang="en"] h2,
.contract[lang="en"] h3,
.contract[lang="en"] h4,
.contract[lang="en"] h5,
.contract[lang="en"] h6 {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #2c3e50;
  text-align: left;
}

.contract[lang="en"] p {
  margin-bottom: 0.8rem;
  color: #495057;
  text-align: left;
  line-height: 1.5;
}

/* Form Labels Enhancement */
.form-group label[lang="en"] {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #495057;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* Button Text Enhancement */
.btn[lang="en"] {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Wizard Step Content Enhancement */
.wizard-step-content[lang="en"] {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  text-align: left;
  direction: ltr;
}

.wizard-step-content[lang="en"] .form-control {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  text-align: left;
}

.wizard-step-content[lang="en"] .form-control::placeholder {
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  font-style: italic;
  color: #adb5bd;
  text-align: left;
}

/* Additional English Text Improvements */
.hero-title[lang="en"] {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.steps-content[lang="en"] {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.contract[lang="en"] {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* English Text Spacing Improvements */
.steps-content[lang="en"] p + p {
  margin-top: 0.8rem;
}

.steps-content[lang="en"] h1 + p,
.steps-content[lang="en"] h2 + p,
.steps-content[lang="en"] h3 + p,
.steps-content[lang="en"] h4 + p,
.steps-content[lang="en"] h5 + p,
.steps-content[lang="en"] h6 + p {
  margin-top: 0.4rem;
}

/* English List Styling */
.steps-content[lang="en"] ul {
  list-style-type: disc;
  text-align: left;
}

.steps-content[lang="en"] ol {
  list-style-type: decimal;
  text-align: left;
}

.steps-content[lang="en"] ul ul,
.steps-content[lang="en"] ol ol,
.steps-content[lang="en"] ul ol,
.steps-content[lang="en"] ol ul {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

/* Force English text alignment */
.steps-content[lang="en"] * {
  text-align: left !important;
  direction: ltr !important;
}

.contract[lang="en"] * {
  text-align: left !important;
  direction: ltr !important;
}

.wizard-step-content[lang="en"] * {
  text-align: left !important;
  direction: ltr !important;
}

/* English Table Styling */
.steps-content[lang="en"] table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
  direction: ltr;
}

.steps-content[lang="en"] th,
.steps-content[lang="en"] td {
  padding: 0.6rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
  direction: ltr;
}

.steps-content[lang="en"] th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
}

/* English Code Styling */
.steps-content[lang="en"] code {
  background-color: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  color: #e83e8c;
}

.steps-content[lang="en"] pre {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.steps-content[lang="en"] pre code {
  background-color: transparent;
  padding: 0;
  color: #495057;
}

/* Additional English Text Fixes */
.hero-title[lang="en"] {
  text-align: left !important;
  direction: ltr !important;
}

.hero-description[lang="en"] {
  text-align: left !important;
  direction: ltr !important;
}

.hero-description[lang="en"] .lead {
  text-align: left !important;
  direction: ltr !important;
}

/* Override any RTL styles for English content */
[lang="en"] .text-right {
  text-align: left !important;
}

[lang="en"] .text-center {
  text-align: center !important;
}

[lang="en"] .text-left {
  text-align: left !important;
}

/* Ensure proper spacing for English text */
[lang="en"] p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

[lang="en"] h1, [lang="en"] h2, [lang="en"] h3, 
[lang="en"] h4, [lang="en"] h5, [lang="en"] h6 {
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .steps-info-card .card-header {
      padding: 20px 25px;
  }

  .steps-info-card .card-title {
      font-size: 1.3rem;
  }

  .steps-info-card .card-body {
      padding: 25px;
  }

  .steps-content {
      font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .steps-info-card .card-header {
      padding: 15px 20px;
  }

  .steps-info-card .card-title {
      font-size: 1.2rem;
  }

  .steps-info-card .card-body {
      padding: 20px;
  }

  .steps-content {
      font-size: 0.9rem;
      line-height: 1.7;
  }
}
 
.wizard-progress {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  max-width: 300px;
}

.wizard-step.active .step-icon {
  background: #DFFF32;
color: #0F0F0F;
border-color: #DFFF32;
box-shadow: 0 0 0 4px rgb(203 192 193 / 20%);
}

.wizard-step.completed .step-icon {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.wizard-step:not(.active):not(.completed) .step-icon {
  background: #6c757d;
  color: white;
  border-color: #6c757d;
  opacity: 0.6;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 3px solid;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.step-content h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.step-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.wizard-line {
  height: 3px;
  background: #dee2e6;
  flex: 1;
  margin: 0 20px;
  position: relative;
  top: -40px;
}

.wizard-step.active + .wizard-line {
  background: linear-gradient(to right, #DFFF32, #dee2e6);
}

.wizard-step.completed + .wizard-line {
  background: #28a745;
}

.wizard-step-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.wizard-step-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.step-header h3 {
  color: white;
  font-weight: 700;
}

.wizard-navigation {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #dee2e6;
  margin-top: 30px;
}

.wizard-navigation .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.wizard-navigation .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contract {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid #dc3545;
}

.signature_pad {
  margin: 20px 0;
  text-align: center;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
}

.signature-label {
  text-align: right;
}

.signature-label .form-label {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.signature_pad canvas {
  width: 100%;
  border: 2px dashed #ffc107;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.signature-required {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.signature-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.signature_pad button {
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.signature_pad button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#signature-error {
  font-size: 0.9rem;
  font-weight: 500;
}

.signature-required {
  border: 2px solid #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Step 3 Summary Styles */
.summary-section {
  margin-bottom: 2rem;
}

.summary-section h4 {
  color: #2c3e50;
  font-weight: 700;
  border-bottom: 2px solid #DFFF32;
  padding-bottom: 10px;
}

.summary-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
}

.summary-card strong {
  color: #495057;
  font-size: 0.95rem;
}

.summary-card p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #6c757d;
}

.uploaded-files-list {
  list-style: none;
  padding: 0;
}

.uploaded-files-list .file-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  background: white;
  border-radius: 5px;
  border: 1px solid #dee2e6;
}

.uploaded-files-list .file-item i {
  font-size: 1.5rem;
  color: #28a745;
  margin-right: 10px;
}

.uploaded-files-list .file-item .file-name {
  flex: 1;
  font-weight: 500;
}

.uploaded-files-list .file-item .file-details {
  flex: 1;
  margin-right: 10px;
}

.uploaded-files-list .file-item .file-name {
  font-weight: 500;
  margin-bottom: 2px;
}

.uploaded-files-list .file-item .file-info-small {
  font-size: 0.8rem;
  color: #6c757d;
}

/* File validation styles */
.file-info {
  margin-top: 5px;
  padding: 8px 12px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  font-size: 0.875rem;
}

.file-error {
  margin-top: 5px;
  padding: 8px 12px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  font-size: 0.875rem;
}

.file-info .text-success {
  color: #155724 !important;
  font-weight: 500;
}

.file-error .text-danger {
  color: #721c24 !important;
  font-weight: 500;
}


/* Uploaded File Actions Styles */
.uploaded-file-actions {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 10px;
  margin-top: 8px;
}

.file-info-display {
  flex: 1;
}

.file-details {
  display: flex;
  flex-direction: column;
}

.file-name-display {
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
  word-break: break-all;
}

.file-size-display {
  font-size: 12px;
  color: #6c757d;
}

/* Image Preview Styles */
.image-preview-container {
  flex-shrink: 0;
}

.image-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.image-preview:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.image-preview-container:hover .image-preview {
  border-color: #007bff;
}

/* Image Modal Styles */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.image-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

.image-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
  background-color: #f8f9fa;
}

.image-modal-header h5 {
  margin: 0;
  color: #333;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-close:hover {
  background-color: #e9ecef;
  color: #dc3545;
}

.image-modal-body {
  padding: 20px;
  text-align: center;
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes modalFadeIn {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.uploaded-file-actions .text-muted {
  font-size: 12px;
  color: #6c757d !important;
}

.uploaded-file-actions .btn-group-sm .btn {
  font-size: 11px;
  padding: 4px 8px;
}

.uploaded-file-actions .btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
}

.uploaded-file-actions .btn-outline-primary:hover {
  background-color: #007bff;
  color: white;
}

.uploaded-file-actions .btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}

.uploaded-file-actions .btn-outline-danger:hover {
  background-color: #dc3545;
  color: white;
}

.file-info i, .file-error i {
  font-size: 1rem;
}

.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.validationHelp.text-danger {
  color: #dc3545 !important;
  font-weight: 500;
  margin-top: 5px;
  display: block;
}

#signature-preview {
  max-width: 100%;
  height: auto;
}

.form-check-input:checked {
  background-color: #28a745;
  border-color: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
  .wizard-steps {
      flex-direction: column;
  }

  .wizard-line {
      width: 3px;
      height: 50px;
      margin: 20px 0;
      top: 0;
  }

  .wizard-step {
      max-width: 100%;
      margin-bottom: 20px;
  }

  .step-icon {
      width: 60px;
      height: 60px;
      font-size: 20px;
  }

  .wizard-navigation {
      flex-direction: column;
      gap: 15px;
  }

  .wizard-navigation .btn {
      width: 100%;
  }
}



/* Start Seller Area Button Styles */
.seller-area-btn {
  --btn-bg-color: #0F0F0F;
  --btn-text-color: white;
  --btn-arrow-color: #ccff00;
  --btn-width: 180px;
  --btn-height: auto;
  --btn-font-size: 14px;
  --btn-padding: 5px 24px;
  --btn-gap: 8px;
  --btn-border-radius: 28px;
  --arrow-size: 28px;
  
  background-color: var(--btn-bg-color);
  color: var(--btn-text-color);
  border: none;
  border-radius: var(--btn-border-radius);
  padding: var(--btn-padding);
  width: var(--btn-width);
  gap: var(--btn-gap);
  font-size: var(--btn-font-size);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.seller-area-btn:hover {
  background-color: #1a1a1a;
  color: var(--btn-text-color);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.seller-area-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-arrow-icon {
  width: var(--arrow-size);
  height: var(--arrow-size);
  transition: transform 0.3s ease;
}

.seller-area-btn:hover .btn-arrow-icon {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .seller-area-btn {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    gap: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
  }
  
  /* Hide text on mobile, show only icon */
  .seller-area-btn span {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Icon sizing and centering for mobile */
  .seller-area-btn .btn-arrow-icon {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: block !important;
  }
  
  /* Adjust navbar for mobile */
  .navbar-nav.flex-row {
    gap: 10px;
  }
  
  /* Ensure proper spacing in mobile header */
  .landing-navbar {
    padding: 0.5rem 1rem;
  }
  
  /* Mobile-specific button positioning */
  .navbar-nav.flex-row .seller-area-btn {
    order: -1; /* Move to left side */
    margin-right: auto;
  }
  
  /* Ensure the button list is properly aligned */
  .navbar-nav.flex-row {
    align-items: center;
  }
  
  /* Reset any inherited styles that might interfere */
  .seller-area-btn * {
    box-sizing: border-box;
  }
  
  /* Ensure no text wrapping or overflow */
  .seller-area-btn {
    white-space: nowrap !important;
    text-overflow: clip !important;
  }
  
  /* Adjust logo spacing on mobile */
  .navbar-brand {
    margin-right: auto;
  }
  
  /* Mobile hamburger menu adjustments */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .seller-area-btn {
    --btn-width: 45px;
    --btn-height: 45px;
    --arrow-size: 18px;
  }
  
  .seller-area-btn {
    min-width: 45px;
    min-height: 45px;
  }
}

/* RTL Support */
html[dir="rtl"] .seller-area-btn {
  flex-direction: row-reverse;
}

html[dir="ltr"] .seller-area-btn {
  flex-direction: row;
}

/* Arrow Animation Effects */
/* Arabic: move arrow slightly to the left */
html[dir="rtl"] .seller-area-btn .btn-arrow-icon {
  transform: translateX(-20px)
}

/* English: move arrow slightly to the right */
html[dir="ltr"] .seller-area-btn .btn-arrow-icon {
  transform: translateX(43px);
}

 
/* Header sizing overrides */
.app-brand .app-brand-logo img.logo {
  width: 150px !important; /* increase logo width */
  height: auto !important;
}

.landing-navbar .nav-link {
  font-size: 1.05rem; /* ~16.8px */
  padding: 0.75rem 1rem;
}

/* Make seller button slightly larger on desktop */
.seller-area-btn {
  --btn-width: 210px;
  --btn-font-size: 16px;
  --btn-padding: 8px 28px;
  --arrow-size: 32px;
}

@media (max-width: 768px) {
  /* Keep logo readable on tablets/phones */
  .app-brand .app-brand-logo img.logo {
    width: 120px !important;
  }
  .landing-navbar .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
  }
}
/* End Seller Area Button Styles */






/* start Contract Styles  Step 2: Registration and Agreement */
.contract-content,
.contract-content * {
    font-family: inherit !important;
    color: #1f2937 !important;
    font-weight: 400 !important; 
    
}

/* Headings and labels */
.contract-title,
.contract-subtitle,
.party-section .party-title,
.party-section .party-content .info-label,
.party-section .party-content .info-value {
    font-family: inherit !important;
    color: #1f2937 !important;
    font-weight: 400 !important; 
}
/* End Contract Styles  Step 2: Registration and Agreement */
