/* LTR Override Styles */

/* Base Body Direction */
body {
  direction: ltr;
  text-align: left;
}

/* Header Navigation Overrides */
header .navbar-brand {
  margin: 0;
}

@media (max-width: 992px) {
  header .navbar-brand {
    text-align: center;
  }
}

header .contact a::before,
header .contact a::after {
  right: auto;
  left: -1px;
}

header .sidemenu {
  right: auto;
  left: 0;
  transform: translateX(600px);
}

header .sidemenu-nav {
  right: 0;
  left: auto;
}

header .open {
  transform: translateX(0);
}

header a.nav-link::before {
  right: auto;
  left: 0;
}

@media (min-width: 1201px) {
  header a.nav-link::before {
    left: 8px;
    right: auto;
  }
}

header .loged .badge {
  right: auto;
  left: -10px;
}

/* Profile Image Overrides */
.profile-img .overlay {
  right: 50%;
  left: auto;
  transform: translateX(61%);
}

/* Form Controls */
form .custom-control {
  padding-left: 1.5rem;
  padding-right: 0;
}

form .custom-control .custom-control-label::before,
form .custom-control .custom-control-label::after {
  left: -1.5rem;
  right: auto;
}

form .custom-file-label::after {
  right: 0;
  left: auto;
}

form select:not(.wpwl-control-brand) {
  background-position: calc(100% - 27px) 14px, calc(100% - 20px) 14px, 100% 0;
}

form .filter-option-inner-inner {
  text-align: left;
}

form .dropdown-menu {
  text-align: left;
}

/* Carousel Controls */
.left {
  right: -10px;
  left: auto;
}

.right {
  left: -10px;
  right: auto;
}

.institute-imgs .left {
  right: -30px !important;
  left: auto;
}

.institute-imgs .right {
  left: -30px !important;
  right: auto;
}

/* Institute Logo Positioning */
.institute-logo {
  left: 50%;
  right: auto;
  transform: translate(-50%, 50%);
}

/* Stories/Quote Sections */
.stories-list .quote .user-info {
  position: relative;
  top: -55px;
}

/* Institute Card Overrides */
.institute-card .add-favourite {
  right: 20px;
  left: auto;
}

.institute-card .offer-icon,
.course-price-info-box .offer-icon {
  left: 2px;
  right: auto;
  text-align: left;
}

.institute-card .offer-icon::after {
  left: 0px;
  right: auto;
}

/* Close Button */
.close {
  right: 0;
  left: auto;
}

/* Wizard Steps */
.wizard .steps li {
  float: left !important;
}

.wizard .steps li:not(:last-of-type)::after {
  left: 57%;
  right: auto;
}

.wizard .actions {
  right: 26px;
  left: auto;
  text-align: right;
}

@media (max-width: 575px) {
  .wizard .actions {
    right: 0px;
    left: auto;
  }
}

.wizard .actions ul li:first-of-type {
  float: left !important;
}

/* Support Section */
.support .close-support {
  left: 10px;
  right: auto;
}

/* Article Image */
.article-img .center-content {
  left: 0;
  right: auto;
}

.article-img::after {
  left: 0;
  right: auto;
}

/* Article Options */
@media (max-width: 575px) {
  .article-options {
    text-align: left !important;
  }
}

/* Overlay */
.overlay {
  left: 0;
  right: auto;
}

/* Search Field Box */
.search-field-box {
  right: 15px;
  left: auto;
}

/* Select2 Overrides */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  right: 85% !important;
  left: auto;
}

/* Mobile Header */
.mobile-header-bottom {
  flex-direction: row;
}

/* Intro Styles for Mobile */
@media (max-width: 767px) {
  .intro-title {
    text-align: left;
  }

  .intro-desc {
    text-align: left;
  }

  .top-footer {
    text-align: left;
  }
}

/* Navigation Tabs */
.nav-tabs .nav-item:first-of-type a.active {
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 10px !important;
}

.nav-tabs .nav-item:last-of-type a.active {
  border-bottom-left-radius: 10px !important;
  border-top-right-radius: 0px !important;
}

/* Toast Box */
.toast-box {
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

/* Modal Close Button */
.modal-close-btn-absolute {
  right: 15px;
  left: auto;
}

/* Price Info Loader */
.price-info-loader-box {
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

/* Input Form Label */
.input-form-lable {
  left: 4px;
  right: auto;
}

/* Home Services */
.home-services-container .home-service-box .title {
  justify-content: space-between;
}

/* Scrollbar Overrides */
.institute-courses-sidebar::-webkit-scrollbar {
  left: 0;
  right: auto;
}

/* Specific LTR Badge Positioning */
.inst-image-badge {
  right: 50%;
  left: auto;
  transform: translate(50%, 0);
}

/* Radio Button Overrides for LTR */
.lead-register-page input[type="radio"]+label {
  padding-left: 28px;
  padding-right: 0;
}

.lead-register-page input[type="radio"]+label:before {
  left: 0;
  right: auto;
}

/* Floating Label */
.floating-label {
  left: 0.5px;
  right: auto;
}

/* Website Pagination */
.website-pagination .pagination {
  direction: rtl; /* Keep RTL for proper number ordering */
}

/* Additional Form Overrides */
.home-filter .input-group>.form-control:not(:first-child) {
  padding-left: 70px !important;
  padding-right: 10px !important;
}

.home-filter .input-form-lable {
  left: 4px;
  right: auto;
}

/* Social Links Alignment */
.social-links {
  text-align: left;
}

.social-links-sm {
  text-align: left;
}

/* Additional Text Alignments */
.text-right {
  text-align: left !important;
}

.text-left {
  text-align: right !important;
}

/* Float Overrides */
.float-right {
  float: left !important;
}

.float-left {
  float: right !important;
}

/* Margin and Padding Overrides */
.mr-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
.mr-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
.mr-3 { margin-right: 0 !important; margin-left: 1rem !important; }
.mr-4 { margin-right: 0 !important; margin-left: 1.5rem !important; }
.mr-5 { margin-right: 0 !important; margin-left: 3rem !important; }

.ml-1 { margin-left: 0 !important; margin-right: 0.25rem !important; }
.ml-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
.ml-3 { margin-left: 0 !important; margin-right: 1rem !important; }
.ml-4 { margin-left: 0 !important; margin-right: 1.5rem !important; }
.ml-5 { margin-left: 0 !important; margin-right: 3rem !important; }

.pr-1 { padding-right: 0 !important; padding-left: 0.25rem !important; }
.pr-2 { padding-right: 0 !important; padding-left: 0.5rem !important; }
.pr-3 { padding-right: 0 !important; padding-left: 1rem !important; }
.pr-4 { padding-right: 0 !important; padding-left: 1.5rem !important; }
.pr-5 { padding-right: 0 !important; padding-left: 3rem !important; }

.pl-1 { padding-left: 0 !important; padding-right: 0.25rem !important; }
.pl-2 { padding-left: 0 !important; padding-right: 0.5rem !important; }
.pl-3 { padding-left: 0 !important; padding-right: 1rem !important; }
.pl-4 { padding-left: 0 !important; padding-right: 1.5rem !important; }
.pl-5 { padding-left: 0 !important; padding-right: 3rem !important; }

/* Border Radius Overrides */
.rounded-left {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

.rounded-right {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

/* Dropdown Menu Positioning */
.dropdown-menu {
  text-align: left;
}

.dropdown-menu-right {
  right: auto !important;
  left: 0 !important;
}

.dropdown-menu-left {
  left: auto !important;
  right: 0 !important;
}

/* Card Header and Footer */
.card-header {
  text-align: left;
}

.card-footer {
  text-align: left;
}

/* List Items */
ul, ol {
  padding-left: 2rem;
  padding-right: 0;
}

/* Specific Bootstrap Component Overrides */
.navbar-nav .nav-link {
  text-align: left;
}

.breadcrumb {
  padding-left: 1rem;
  padding-right: 0;
}

/* Alert Components */
.alert {
  text-align: left;
}

/* Progress Bars */
.progress {
  direction: ltr;
}

/* Custom Form Elements */
.custom-select {
  background-position: right 0.75rem center;
  padding-right: 1.75rem;
  padding-left: 0.75rem;
}

/* Modal Positioning */
.modal-header {
  text-align: left;
}

.modal-footer {
  text-align: left;
}

/* Tooltip and Popover */
.tooltip {
  text-align: left;
}

.popover {
  text-align: left;
}

/* Table Alignment */
.table th,
.table td {
  text-align: left;
}

/* Additional carousel overrides */
.carousel-control-prev {
  left: 0;
  right: auto;
}

.carousel-control-next {
  right: 0;
  left: auto;
}

/* Badge positioning */
.badge {
  text-align: center;
}

/* Additional specific overrides for your theme */
.topbar .topbar-offer-warranty {
  text-align: left;
}

.sginin-up-btns {
  text-align: left;
}

.dropdown-menu .dropdown-item{
  direction: ltr;
}

/* Responsive text alignment overrides */
@media (max-width: 768px) {
  .text-md-left {
    text-align: left !important;
  }
  
  .text-md-right {
    text-align: right !important;
  }
}

@media (max-width: 576px) {
  .text-sm-left {
    text-align: left !important;
  }
  
  .text-sm-right {
    text-align: right !important;
  }
}