.ui-autocomplete {
  height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
.readMoreSpan span {
  display: none;
}
.readMoreLink {
  color: var(--color-secondary);
}

@media (max-width: 767px) {
  .btn--mobile {
    margin-top: 10px;
  }
}

/* Teacher Hero Section */
.teachers-page-sections-container {
  width: 100%;
  padding-inline: 120px;
  padding-block: 80px;
}

.teachers-page-hero-sections-container {
  position: relative;
  z-index: 1;
  background-color: #f7f0f1;
  overflow: hidden;
  padding-block: 40px !important;
}
.hero-sub-label{
  width: 200px;
}
.shape {
  position: absolute;
  background-color: #f6a095;
  opacity: 0.15;
  z-index: -1;
  width: 80.23px;
  height: 80.23px;
}

.shape1 {
  top: 10%;
  left: 5%;
}

.shape2 {
  top: 30%;
  right: 10%;
}

.shape3 {
  bottom: 0%;
  left: 15%;
}

.shape4 {
  top: 15%;
  right: 20%;
}

.shape5 {
  bottom: 10%;
  right: 5%;
}

.shape6 {
  top: 40%;
  left: 48%;
  width: 80.23px;
  height: 80.23px;
}

.shape7 {
  top: 55%;
  left: 52.7%;
}

.hero-content-container .hero-features {
  flex-wrap: wrap;
}

.hero-content-container .content-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

.hero-content-container .image-side {
  padding-inline: 20px;
  padding-block: 40px;
}

.hero-content-container .image-side img {
  max-width: 100%;
  max-height: 385px;
}

.hero-content-container .hero-title {
  color: #333;
  font-size: 72px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin: 0;
}

.hero-content-container .hero-title span {
  color: #e84c3d;
}

.hero-content-container .hero-description {
  color: #333;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 35px;
  margin: 0;
}

.hero-content-container .hero-feature {
  display: flex;
  gap: 10px;
}

.hero-content-container .hero-feature img {
  width: auto;
  height: 50px;
}

.hero-content-container .hero-feature h4 {
  color: #333;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}

.hero-content-container .hero-feature p {
  color: #333;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

/* Teacher Card List */

/* Card container */
.teacher-filter-section {
  padding: 30px 15px 0px 15px;
}

.teacher-card-container {
  width: 100%;
}

/* Card */
.teacher-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Card content layout */
.teacher-card .content {
  width: 100%;
  padding-block: 16px;
}

.teacher-card .card-header {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  gap: 1px;
  margin-bottom: 16px;
}

/* Teacher's name and tags container */
.teacher-card .card-header .name-with-tags-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Teacher's name and flag container */
.name-with-flag-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-inline-end: 10px;
}

/* Teacher's name */
.teacher-card .card-header .name-with-flag-container .teacher-name {
  color: #333;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

/* Flag icon */
.teacher-card .card-header .name-with-flag-container .flag {
  width: 20px;
  height: auto;
}

/* Tags container*/
.teacher-card .card-header .tags {
  display: flex;
  gap: 5px;
  margin: 5px 0;
}

/* Single tag container*/
.teacher-card .card-header .tags .tag-container {
  display: flex;
  gap: 3px;
  background: #eef2f7;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 14px;
}

.teacher-card .card-header .tags .tag-container .tag-text-container {
  display: flex;
  align-items: center;
}

.teacher-card .card-header .tags .tag-container .tag-text-container .tag-name {
  color: #6b6b6b;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.teacher-card .card-header .tags .tag-container .tag-text-container .tag-value {
  color: #6b6b6b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.teacher-card .card-header .favourite-icon {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: white;
}

.teacher-card .card-header .favourite-icon svg {
  stroke: red;
  stroke-width: 1.5px;
}

.favourite-icon .is-active {
  color: red;
}
.favourite-icon a {
  color: transparent;
}

/* Profile image */
.teacher-card .profile-img {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  width: 205px;
  height: 205px;
  position: relative;
  /* overflow: hidden; */
}

.teacher-card .profile-img .profile-img-overlay {
  position: absolute;
  display: flex;
  align-items: end;
  gap: 5px;
  bottom: 7%;
  /* z-index: 9999; */
}

.teacher-card .profile-img .profile-img-overlay.play {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  padding: 10px;
  width: 80px;
  height: 80px;
}

.teacher-card .profile-img .profile-img-overlay.lessons {
  left: 10%;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.teacher-card .profile-img .profile-img-overlay.rate {
  right: 10%;
  color: #f5f9fe;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
}

.teacher-card .profile-img .profile-img-overlay.lessons img {
  width: 18px;
  height: 18px;
}

.teacher-card .profile-img .profile-img-overlay.rate img {
  width: 20px;
  height: 20px;
}

body[dir="rtl"] .teacher-card .profile-img .profile-img-overlay.lessons {
  left: unset;
  right: 10%;
}

body[dir="rtl"] .teacher-card .profile-img .profile-img-overlay.rate {
  right: unset;
  left: 10%;
}

.teacher-card .profile-img .lessons img {
  width: 18px;
  height: 18px;
}

.teacher-card .profile-img img {
  height: 100%;
  width: 100%;
  border-radius: 16px;
}

/* Play button overlay */
.teacher-card .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 10px;
}

.teacher-card .play-button i {
  font-size: 16px;
  color: #ff5e00;
}

/* Card details */
.teacher-card .details {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Description */
.teacher-card .teacher-description {
  color: #333;
  font-size: 12.6px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.252px;
}

/* Description */
.teacher-card .teacher-bio {
  overflow: hidden;
  color: #666;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.23px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* white-space: ; */
}

/* Lessons & rating */
.teacher-card .lessons {
  font-size: 14px;
  margin-top: 5px;
}

.teacher-card .rating {
  color: #f5a623;
  margin-left: 10px;
}

/* Pricing container*/
.teacher-card .starting-price-container {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
}

.teacher-card .starting-price-container .starts-from {
  color: #3d91e8;
  font-size: 10.8px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.teacher-card .starting-price-container .price {
  color: #333;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
@media (max-width:767px) {

  .teacher-card .starting-price-container .price h6 {
    font-size: 13px !important;
  }
}
/* speaking language container*/
.teacher-card .speaking-language-container {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
}

.teacher-card .speaking-language-container .speaks {
  color: #3d91e8;
  font-size: 12.6px;
  font-style: normal;
  font-weight: 400;
  line-height: 12.6px;
}

.teacher-card .speaking-language-container .language {
  overflow: hidden;
  color: #333;
  text-overflow: ellipsis;
  font-size: 12.6px;
  font-style: normal;
  font-weight: 400;
  line-height: 13px;
}

/* Buttons */
.teacher-card .buttons {
  margin-top: 10px;
}

.teacher-card .buttons button {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  color: #f5f9fe;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  cursor: pointer;
  line-height: normal;
}

.teacher-card .buttons button img {
  margin-inline-start: 5px;
}

.teacher-card .buttons .availability {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #3d91e8;
  color: white;
}

.teacher-card .buttons .message {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #3d91e8;
  color: #3d91e8;
}

.teachers-page-cards-secions-container {
  padding-block: 20px !important;
}

.red-filled {
  color: red;
}

.mb-5 {
  margin-bottom: 2rem;
}

/* ===================================== New Filtter Chip ========================================== */

.filter-left-container {
  overflow: hidden;
  margin-bottom: 30px;
}

.filters-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  gap: 7px;
  height: 100%;
}

.filters-container::-webkit-scrollbar {
  display: none;
}

/* Filter Chip */
.filter-chip {
  display: flex;
  align-items: center;
  padding: 10px 5px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid #ccc;
  background: #ffffff;
  transition: background 0.3s, color 0.3s;
  width: fit-content;
  max-width: 250px;
  height: fit-content;
}

/* Chip Content */
.chip-icon,
.chip-text,
.clear-btn,
.dropdown-arrow {
  margin-inline-end: 5px;
  display: flex;
  align-items: center;
  padding-block: 1px;
}

/* Chip Text */
.chip-text {
  /* max-width: 150px; */
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
}

/* SVG Icon Colors */
.chip-icon svg,
.dropdown-arrow svg {
  fill: currentColor;
  color: #3d91e8;
}

/* Active Filter Chip */
.filter-chip.active {
  background: #3d91e8;
  color: white;
  border: none;
}

/* Active State Colors */
.filter-chip.active .chip-icon svg,
.filter-chip.active .chip-text,
.filter-chip.active .dropdown-arrow svg {
  color: white;
}

/* Clear Button */
.clear-btn {
  display: none;
  cursor: pointer;
  font-weight: bold;
}

/* Show Clear Button When Active */
.filter-chip.active .clear-btn {
  display: flex;
}

/* Dropdown Menu */
.dropdown {
  display: none;
  background: white;
  padding: 15px;
  border-radius: 10px;
  position: absolute;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: 250px;
  z-index: 9999;
}

/* Dropdown Checkbox Styling */
.dropdown label {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.dropdown input[type="checkbox"] {
  margin-inline-end: 10px;
}

/* Price Dropdown Container */
.price-dropdown {
  display: none;
  background: white;
  padding: 15px;
  border-radius: 10px;
  position: absolute;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: 280px;
  text-align: center;
}

/* Price Slider Container */
.price-slider {
  position: relative;
  width: 100%;
  height: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Range Sliders */
.price-slider input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #d4e5fc;
  border-radius: 5px;
  position: absolute;
  pointer-events: none;
}

/* Style the Slider Thumbs */
.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #3d91e8;
  border-radius: 50%;
  pointer-events: auto;
  position: relative;
  cursor: grab;
  z-index: 1;
}

.price-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #3d91e8;
  border-radius: 50%;
  cursor: grab;
}

/* Price Input Boxes */
.price-inputs {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* Input Box Styling */
.input-box {
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  max-height: 50px;
  background: white;
  width: 100%;
}

.input-box span {
  margin-inline-end: 5px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
}

.input-box input {
  width: 60px;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: bold;
  text-align: right;
  border-bottom: 1px solid #e5e5e5;
}

/* Close Dropdowns When Clicking Outside */
.dropdown.active {
  display: block;
}

body[dir="rtl"] .input-box input {
  text-align: left;
}

.cusom-search {
  display: flex;
  padding: 8px 40px;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.cusom-search-container {
  width: 100%;
  position: relative;
}

.cusom-search-container input {
  width: 100%;
  padding: 10px 30px 10px 90px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 13px;
  background-color: white;
  color: #333;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-align: left;
}

body[dir="rtl"] .cusom-search-container input {
  padding: 10px 90px 10px 30px;
  text-align: right;
}

.cusom-search-container input::placeholder {
  color: #333;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.cusom-search-container span {
  display: flex;
  align-items: center;
}

.cusom-search-container .search-icon {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  color: #4096ff;
  font-size: 18px;
}

body[dir="rtl"] .cusom-search-container .search-icon {
  right: 35px;
  left: unset;
}

.limited-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-free-trial-sublabel{
  color: white;
  background-color: #2b79e4;
  padding: 1px;
  border-radius: 8px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 450px) {
  .teacher-card .profile-img {
    margin-bottom: 16px;
  }

  .teacher-card .profile-img {
    width: 205px;
    height: 350px;
  }

  .teacher-card-container {
    width: 100%;
  }

  .teachers-page-sections-container {
    padding-inline: 10px;
    padding-block: 20px;
  }

  .hero-content-container .hero-title {
    font-size: 45px;
  }

  .hero-content-container .hero-features {
    flex-wrap: wrap;
  }

  .hero-content-container .hero-features {
    gap: 20px;
  }

  .teachers-page-filters-secions-container {
    padding-block: 40px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 450px) {
  .teacher-card .profile-img {
    margin-bottom: 16px;
  }

  .teacher-card .profile-img {
    width: 205px;
    height: 450px;
  }

  .teachers-page-sections-container {
    padding-inline: 15px;
    padding-block: 20px;
  }

  .hero-content-container .hero-title {
    font-size: 50px;
  }

  .hero-content-container .hero-features {
    flex-wrap: wrap;
  }

  .hero-content-container .hero-features {
    gap: 20px;
  }

  .teachers-page-filters-secions-container {
    padding-block: 40px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .teacher-card-container {
    grid-template-columns: 1fr;
  }

  .teacher-card .profile-img {
    margin-bottom: 0;
    justify-content: start;
    width: 205px;
    height: 205px;
  }

  .hero-content-container .hero-title {
    font-size: 60px;
  }
  body[dir="rtl"] .hero-content-container .hero-title {
    font-size: 40px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .teachers-page-sections-container {
    padding-inline: 50px;
    padding-block: 65px;
  }

  .filters-container {
    flex-wrap: wrap;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
  /* Dropdown Menu */
  .dropdown {
    width: fit-content;
  }
}

@media only screen and (min-width: 1440px) {
  .teachers-page-sections-container {
    padding-inline: 80px;
    padding-block: 80px;
  }

  .hero-content-container .hero-features {
    flex-wrap: nowrap;
  }
}

@media only screen and (min-width: 1600px) {
  .teachers-page-sections-container {
    padding-inline: 130px;
    padding-block: 50px;
  }

  .teacher-filter-section {
    padding: 30px 120px 0px 120px;
  }
}
