.banner {
  width: 100% !important;
  margin-bottom: 0;
  position: relative !important;
}

.banner .image-container {
  width: 90% !important;
}

.btn-thick {
  /* border-width: 2px !important;  */
  padding: 10px 20px;
  font-weight: bold !important;
  /* font-size: 1rem; */
}

.banner-container {
  position: absolute;
  width: 27rem;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .08);
  z-index: 1;
}

.banner-content {
  padding: 1.5rem;
}

.banner-content button {
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.banner-content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1c1d1f;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: .85rem;
  color: #1c1d1f;
}

.banner-card-btn {
  width: 100%;
  min-width: 150px;
  max-width: 150px;
  text-align: center;
  word-wrap: break-word;
  white-space: normal;
}

.banner-image {
  height: 400px;
}

@media (max-width: 1300px) {
  .banner-container {
    width: 23rem;
  }
  .banner-content h1 {
    font-size: 1.2rem;
  }
  
  .banner-content p {
    font-size: .7rem;
  }

  .banner-content button {
    font-size: .8rem;
  }

  .banner-card-btn {
    min-width: 100px;
    max-width: 100px;
  }
}

@media (max-width: 1050px) {
  .banner-container {
    width: 18rem;
  }
  .banner-content h1 {
    font-size: .8rem;
  }
  
  .banner-content p {
    font-size: .5rem;
  }

  .banner-content button {
    font-size: .5rem;
    padding-top: .4rem;
    padding-bottom: .4rem;
  }
}

@media (max-width: 767px) {
  .banner {
      /* display: flex; */
      flex-direction: column;
  }

  .banner-image {
    height: 250px;
  }

  .banner-content-mobile-top {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .08);
  }

  .banner-content-mobile {
      padding: 1.5rem;
      background: #fff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .08);
      margin-top: 1rem;
  }

  .banner-content-mobile h1 {
      font-size: 1rem;
      font-weight: 700;
      color: #1c1d1f;
      margin-bottom: 8px;
  }

  .banner-content-mobile p {
      font-size: 0.7rem;
      color: #1c1d1f;
      margin-bottom: 1rem;
  }

  .banner-content-mobile .btn {
      font-size: 0.7rem;
      padding: 0.5rem 1rem;
  }

  .banner-content-mobile .d-flex {
      flex-direction: column;
      gap: 1rem;
  }

  .banner-content-mobile .btn-thick {
      padding: 0.5rem 1rem;
  }


  .message-block {
    display: flex;
    flex-direction: column;
  }
  .message-preview {
    display: block;
    width: 100%;
  }
  .message-full {
    display: none; /* Initially hide the message content */
    width: 100%;
  }
  .message-full.active {
    display: block;
  }
}

.nav-tabs-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none !important;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid #dee2e6;
  width: 100%;
}

.nav-tabs-wrapper::-webkit-scrollbar {
  height: 4px;
}

.nav-tabs {
  flex-wrap: nowrap !important;
  min-width: 100%; 
  border-bottom: none;
}

.nav-tabs-wrapper::-webkit-scrollbar {
  display: none !important;
}

.subtab-slider .swiper .swiper-wrapper .swiper-slide {
  width: auto !important;
}

.subtab-btn {
  margin-right: 20px;
  white-space: nowrap !important;
  transition: background-color 0.3s !important;
}

.subtab-btn:hover {
  color: var(--bs-btn-active-bg) !important;
  background-color: #fff !important;
}

.subtab-learners {
  font-size: 0.8rem;
}

.subtab-btn:focus, .subtab-btn.active {
  background-color: var(--bs-btn-active-bg);
  color: #fff;
}

.subtab-btn.active:hover {
  background-color: var(--bs-btn-active-bg) !important;
  color: #fff !important;
}

.subtab-title {
  font-weight: bold;
}

.trusted-companies-block h2 {
  font-size: 1.2rem;
  color: #2d2f31;
  font-weight: 400;
  line-height: 1;
  opacity: .7;
}

.company-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
}

.company-list li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trusted-companies-block img {
  max-height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .trusted-companies-block img {
      max-height: 60px;
  }
}

@media (max-width: 991px) {
  .company-list {
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 1.6rem;
      grid-auto-flow: row;
  }
}

@media (max-width: 575px) {
  .trusted-companies-block h2 {
    font-size: .8rem;
  }

  .company-list {
      grid-auto-flow: row;
      grid-gap: 1rem;
      grid-template-columns: repeat(4, 4fr);
  }
  .trusted-companies-block img {
    width: 40px;
  }
}

.course-list a {
  text-decoration: none !important;
}

.course-list .fas.fa-chevron-right {
  font-size: 0.75em;
}

.social-btn {
  width: 50px;
  padding: 0;
}

.social-btn i {
  font-size: 20px;
  height: 50px;
  line-height: 50px;
}

.login-register-page-image {
  align-self: start;
  width: 50%;
}

.login-register-image-desktop {
  margin-top: 110px;
}

.login-register-page-image img{
  align-items: center;
}
@media (max-width: 770px) {
  .login-register-image-desktop{
    display: none;
  }
  .login-register-page-image{
    align-self: center;
    width: auto;
  }
}
@media (min-width: 770px) {
  .login-register-image-mobile{
    display: none;
  }
}

.form-control-lg {
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 4;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent;
  padding: 0 6px 0 12px;
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: #6c757d;
}

.iti__country-list {
  border-radius: 0 0 0.375rem 0.375rem;
  font-size: 1rem;
}

.no-scroll {
  overflow: hidden !important;
}

input[type=file]::file-selector-button {
  visibility: hidden;
}

.file-upload-wrapper {
  position: relative;
  overflow: hidden;
}

.file-upload-btn {
  width: 100%;
  text-align: center;
}

.file-upload-btn input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  cursor: inherit;
  display: block;
}

.upload-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: calc(100% - 30px);
  vertical-align: middle;
}

.otp-input-group {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.otp-input-wrapper {
  position: relative;
  width: 40px;
}

.otp-input {
  width: 100%;
  height: 40px;
  text-align: center;
  font-size: 1.2rem;
  border: none;
  border-bottom: 2px solid #ced4da;
  border-radius: 0;
  background: transparent;
}

.otp-input:focus {
  outline: none;
  border-bottom-color: var(--bs-purple);
}

.otp-info {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.9rem;
}

.otp-timer {
  color: #6c757d;
}

.otp-resend {
  cursor: pointer;
}

.slide-right.course-subtab-slider-next.swiper-button-disabled {
  display: none;
}

.slide-right.course-subtab-slider-next {
  display: flex;
}

.slide-left.course-subtab-slider-prev.swiper-button-disabled {
  display: none;
}

.slide-left.course-subtab-slider-prev {
  display: flex;
}