/* Language Direction Support CSS */

/* Ensure navbar works correctly in both LTR and RTL */
body[dir="ltr"] .navbar {
   direction: ltr;
}

body[dir="rtl"] .navbar {
   direction: rtl;
}

/* Fix sticky navbar positioning for LTR */
@media (max-width: 991px) {
   body[dir="ltr"] .navbar .nav-items {
      left: auto;
      right: 0;
   }
}

/* Language Switcher Styles */
.language-switcher-container {
   display: inline-flex;
   align-items: center;
   gap: 8px;
}

.lang-btn {
   padding: 6px 12px;
   color: #333;
   text-decoration: none;
   border-radius: 4px;
   transition: all 0.3s;
   font-weight: 500;
}

.lang-btn:hover {
   background-color: #f0f0f0;
   color: #660CED;
}

.lang-btn.active {
   background-color: #660CED;
   color: white;
}

.lang-separator {
   color: #ccc;
   font-weight: 300;
}

/* Direction specific styles for inner-pages */
[dir="ltr"] .inner-pages {
   direction: ltr;
}

[dir="rtl"] .inner-pages {
   direction: rtl;
}

/* RTL and LTR form styling */
[dir="ltr"] .columns-page .col-lg-6:first-child {
   text-align: left;
}

[dir="ltr"] .columns-page .col-lg-6:last-child {
   text-align: left;
}

[dir="rtl"] .columns-page .col-lg-6:first-child {
   text-align: right;
}

[dir="rtl"] .columns-page .col-lg-6:last-child {
   text-align: right;
}

/* Adjust padding for grid items based on direction */
[dir="ltr"] .add-padding-left {
   padding-left: 0 !important;
   padding-right: 50px !important;
}

[dir="rtl"] .add-padding-left {
   padding-left: 50px !important;
   padding-right: 0 !important;
}

/* Adjust margin for ml-50 class */
[dir="ltr"] .ml-50 {
   margin-left: 0 !important;
   margin-right: 50px !important;
}

[dir="rtl"] .ml-50 {
   margin-left: 50px !important;
   margin-right: 0 !important;
}

/* Footer direction styling */
[dir="ltr"] .footer {
   direction: ltr;
   text-align: left;
}

[dir="rtl"] .footer {
   direction: rtl;
   text-align: right;
}

[dir="ltr"] .footer-content {
   direction: ltr;
}

[dir="rtl"] .footer-content {
   direction: rtl;
}

/* Footer columns alignment */
[dir="ltr"] .footer-columns .footer-widget {
   text-align: left;
}

[dir="rtl"] .footer-columns .footer-widget {
   text-align: right;
}

[dir="ltr"] .footer-logo {
   text-align: left;
}

[dir="rtl"] .footer-logo {
   text-align: right;
}

/* Welcome Page - Banner and Sections */
[dir="ltr"] .home-banner {
   direction: ltr;
   text-align: left;
}

[dir="rtl"] .home-banner {
   direction: rtl;
   text-align: right;
}

[dir="ltr"] .info-banner {
   text-align: left;
}

[dir="rtl"] .info-banner {
   text-align: right;
}

/* Feature sections */
[dir="ltr"] .feature-najahSoft {
   direction: ltr;
}

[dir="rtl"] .feature-najahSoft {
   direction: rtl;
}

[dir="ltr"] .feature-item {
   text-align: left;
}

[dir="rtl"] .feature-item {
   text-align: right;
}

/* Section titles */
[dir="ltr"] .section-title {
   text-align: center !important;
}

[dir="rtl"] .section-title {
   text-align: center !important;
}

[dir="ltr"] .section-title h2 {
   text-align: center;
}

[dir="rtl"] .section-title h2 {
   text-align: center;
}

/* Program sections */
[dir="ltr"] .program-text {
   text-align: left;
}

[dir="rtl"] .program-text {
   text-align: right;
}

/* Industries section */
[dir="ltr"] .industries-section {
   direction: ltr;
}

[dir="rtl"] .industries-section {
   direction: rtl;
}

/* Integration section */
[dir="ltr"] .integration-sec {
   direction: ltr;
}

[dir="rtl"] .integration-sec {
   direction: rtl;
}

/* Goals section */
[dir="ltr"] .goals-section {
   direction: ltr;
}

[dir="rtl"] .goals-section {
   direction: rtl;
}

/* Partners section */
[dir="ltr"] .section-partners {
   direction: ltr;
}

[dir="rtl"] .section-partners {
   direction: rtl;
}

/* CTA sections */
[dir="ltr"] .cta-section {
   direction: ltr;
   text-align: left;
}

[dir="rtl"] .cta-section {
   direction: rtl;
   text-align: right;
}

[dir="ltr"] .text-cta {
   text-align: left;
}

[dir="rtl"] .text-cta {
   text-align: right;
}

/* Button alignment */
[dir="ltr"] .btns-item {
   justify-content: flex-start;
}

[dir="rtl"] .btns-item {
   justify-content: flex-end;
}

[dir="ltr"] .list-feat-banner {
   text-align: left;
}

[dir="rtl"] .list-feat-banner {
   text-align: right;
}

/* Banner image positioning */
[dir="ltr"] .imgs-banner {
   left: auto !important;
   right: 0 !important;
}

[dir="rtl"] .imgs-banner {
   right: auto !important;
   left: 0 !important;
}

/* Register form styling */
.register-form {
   padding: 10px 0;
}

.form-scroll {
   padding: 5px 0;
}

/* Form groups styling */
.register-form .form-group {
   margin-bottom: 1.2rem;
}

.register-form .form-group:last-child {
   margin-bottom: 0;
}

.register-form .form-control {
   border: 1px solid #e0e0e0;
   border-radius: 8px;
   padding: 12px 15px;
   font-size: 14px;
   transition: all 0.3s ease;
}

.register-form .form-control:focus {
   border-color: #660CED;
   box-shadow: 0 0 0 0.2rem rgba(102, 12, 237, 0.1);
   outline: 0;
}

.register-form label {
   font-weight: 500;
   margin-bottom: 8px;
   display: block;
   color: #333;
}

.register-form .input-group-addon {
   background-color: #f8f9fa;
   border: 1px solid #e0e0e0;
   border-radius: 8px 0 0 8px;
   padding: 12px 15px;
}

[dir="rtl"] .register-form .input-group-addon {
   border-radius: 0 8px 8px 0;
}

/* .register-form fieldset {
   border: 1px solid #e0e0e0;
   border-radius: 8px;
   padding: 15px;
   margin: 15px 0;
} */

.register-form legend {
   font-size: 15px;
   font-weight: 600;
   padding: 0 10px;
   width: auto;
}

.register-form h3 {
   font-size: 16px;
   font-weight: 600;
   margin: 15px 0 10px 0;
   color: #660CED;
}

/* Submit button styling */
.register-form button[type="submit"] {
   background-color: #660CED;
   color: white;
   border: none;
   padding: 14px 30px;
   font-size: 16px;
   font-weight: 600;
   border-radius: 8px;
   cursor: pointer;
   transition: all 0.3s ease;
   width: 100%;
}

.register-form button[type="submit"]:hover {
   background-color: #5500CC;
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(102, 12, 237, 0.3);
}

.register-form button[type="submit"]:disabled {
   opacity: 0.6;
   cursor: not-allowed;
   transform: none;
}

/* Footer form link styling */
.footer-form a {
   color: #660CED;
   text-decoration: none;
   font-weight: 500;
   transition: all 0.3s ease;
}

.footer-form a:hover {
   color: #5500CC;
   text-decoration: underline;
}

/* Multi-step form styling */
.multi-step-progress {
   display: flex;
   justify-content: space-between;
   margin-bottom: 30px;
   padding: 20px 0;
}

.step-indicator {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   position: relative;
   opacity: 0.4;
   transition: all 0.3s ease;
}

.step-indicator::after {
   content: '';
   position: absolute;
   top: 20px;
   width: 100%;
   height: 2px;
   background: #e0e0e0;
   z-index: -1;
}

.step-indicator:last-child::after {
   display: none;
}

.step-indicator.active {
   opacity: 1;
}

.step-indicator.completed {
   opacity: 1;
}

.step-number {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: #f0f0f0;
   border: 2px solid #e0e0e0;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 600;
   color: #999;
   margin-bottom: 8px;
   transition: all 0.3s ease;
}

.step-indicator.active .step-number {
   background: #660CED;
   border-color: #660CED;
   color: white;
}

.step-indicator.completed .step-number {
   background: #28a745;
   border-color: #28a745;
   color: white;
}

.step-label {
   font-size: 12px;
   font-weight: 500;
   color: #666;
   text-align: center;
   margin-top: 4px;
}

.step-indicator.active .step-label {
   color: #660CED;
   font-weight: 600;
}

.form-step {
   display: none;
}

.form-step.active {
   display: block;
   animation: fadeIn 0.3s ease;
}

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

.form-navigation {
   display: flex;
   gap: 10px;
   justify-content: flex-end;
}

[dir="rtl"] .form-navigation {
   justify-content: flex-start;
}

[dir="ltr"] .form-navigation {
   justify-content: flex-end;
}

.form-navigation .button {
   min-width: 120px;
}

/* Error styling for validation */
.register-form .form-control.error {
   border-color: #dc3545;
}

.register-form .form-control.error:focus {
   border-color: #dc3545;
   box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1);
}

.form-control.error + .help-block,
.form-control.error + span {
   color: #dc3545;
   display: block;
   margin-top: 5px;
   font-size: 12px;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

.input-group-addon{
    height: fit-content;
}

.input-group>:not(:first-child):not(.dropdown-menu){
    margin: 0;
}

#business_register_form .form-scroll fieldset div div div div div {
    padding: 0;
    padding-left: 10px;
}

.padding-bottom-10 {
   padding-bottom: 10px;
}

.padding-top-10 {
   padding-top: 10px;
}

.display-none {
   display: none!important;
}