@media (min-width: 768px) {
    .appt-slot-track .appt-slot-btn:nth-child(n+4) {
        display: block;
    }
    .appt-slot-track .appt-slot-btn:nth-child(n+5) {
        display: none;
    }
}

/* Desktop: show 7 */
@media (min-width: 1024px) {
    .appt-slot-track .appt-slot-btn:nth-child(n+5) {
        display: block;
    }
    .appt-slot-track .appt-slot-btn:nth-child(n+8) {
        display: none;
    }
}
@media (max-width: 991px) {

  .city-item {
      flex: 0 0 calc(100% / 5);
      max-width: calc(100% / 5);
  }

  .case-study-guide-item {
      width: calc(50% - 15px);
      padding: 15px;
  }
  .navbar-collapse.collapse.show{
    border-top: 1px solid var(--border-gray);
    margin-top: 15px;
  }
  section.hero{
    padding-top: 140px !important;
  }
  .aptbox{
    padding: 10px 14px;
    justify-content: center;
  }
  p, ul li {
    font-size: 0.75rem;
    line-height: 1.4rem;
  }
  p{
    margin-bottom: 15px;
  }
  .slide-section{
    padding: 0 !important;
  }
  .service-slider{
    width: calc(100% - 30px);
  }

  section h3 {
    font-size: 1rem;
  }
  .experience {
    padding: 15px;
  }
  .about-us i {
    font-size: 2.6rem;
  }
  section h4 {
    font-size: 0.8rem;
  }
  section h2 {
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 15px;
  }
  section {
    padding: 50px 0 !important;
  }
  .section-search{
    padding:120px 0 30px 0 !important;
  }
  .section-search .banner-wrapper .banner-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px;
  }
  .section-search .banner-wrapper .banner-header p {
    font-size: 0.85rem;
  }
  .hero .hero-content .hero-title {
    font-size: 3rem;
  }
  .hero .hero-content .hero-subtitle {
    font-size: 2.2rem;
  }
  .hero .hero-visual .visual-container .floating-card {
    padding: 12px 16px;
  }
  .hero .hero-visual .visual-container .floating-card .card-icon {
    width: 36px;
    height: 36px;
  }
  .hero .hero-visual .visual-container .floating-card .card-icon i {
    font-size: 18px;
  }
  .hero .hero-visual .visual-container .floating-card .card-content .card-value {
    font-size: 18px;
  }
  .hero .hero-visual .visual-container .floating-card .card-content .card-label {
    font-size: 12px;
  }
  .features-grid .feature-card{
    padding: 15px;
  }
  .what-row{
    flex-direction: column-reverse;
  }
  .what-we-do h2 br{
    display: none;
  }
  .whatweimg {
    border-radius: 0;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  .what-we-do .expert{
    padding-bottom: 40px;
  }
  ul.col2list li{
    width: 100%;
  }
  .whatwedoinner{
    padding-bottom: 10px;
  }
  .flow-wrap{
    padding-top: 35px;
  }
  .flow-arrow{
    top: 100%;
    right: 50%;
    transform: rotate(90deg) translate(0, -50%);
  }
  .whyimg{
    max-height: 330px;
    object-fit: cover;
    margin-bottom: 20px;
  }
  .ts-happy{
    margin-top: 15px;
  }
  .carousel-landmark{
    padding-top: 25px;
  }
  .avatar img{
    width: 3rem;
    height: 3rem;
  }
  .testimonial-item {
    padding: 20px;
  }
  .customer-img, .customer-img.add-more{
    width: 40px;
    height: 40px;
  }
  .testimonial-sec .border-start{
    border-left: none !important;
  }
  .inner-bnr {
    padding: 140px 0 50px;
  }
  .page-single-sidebar{
    margin-right: 0;
  }
  .service-expert-image-list{
    padding: 10px 0 0 30px;
  }
  .service-expert-list, .service-expert-image, .service-entry-image, .service-entry-content, .service-path-item, .service-step-list, .service-step-image{
    width: 100%;
  }

}

@media (max-width: 767px) {
  #topBarText{
        animation: scrollText 15s linear infinite;
        padding-left: 100%;
  }
  .clinic-tabs .nav-tabs .nav-link, .clinic-tabs .nav-tabs .nav-link.active, .clinic-tabs .nav-tabs .nav-link:focus, .clinic-tabs .nav-tabs .nav-link:hover {
    font-size: 0.75rem;
  }
  .clinic-tabs .tab-pane {
    font-size: 0.75rem;
  }
  .doctor-img1{
    margin-bottom: 20px;
  }
  .clinic-citylist{
    flex-wrap: wrap;
  }
  .clinic-citylist div img{
    max-width: 70px;
  }
  .section-search .banner-wrapper .search-box .search-location {
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
}
  .why-choose-gyc .service-expert-list1 .service-expert-item, .service-expert-list1 .service-expert-item {
      flex: 0 0 100%;
  }
  .case-study-guide-item {
      width: 100%;
      padding: 15px;
  }
  .whatwedoinner i{
    font-size: 2.5rem;
  }
  .btn-primary{
    font-size: 0.7rem;
    padding: 12px 38px 12px 15px;
  }
.btn-primary::before {
    font-size: 0.7rem;
    right: 15px;
}
  .hero .hero-content .hero-title {
    font-size: 36px;
  }
  .hero .hero-content .hero-description {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 24px;
  }
  .hero .hero-visual .visual-container .floating-card {
    display: none;
  }
  .hero .hero-visual {
    text-align: center;
  }
  .hero .hero-visual img {
    max-width : 75%;
  }
  .slide-section row{
    padding-top:10px;
    padding-bottom:10px;
  }
  img.abouttopimg {
    max-height: 225px;
    object-fit: cover;
  }
  .accordion-button {
    line-height: 24px;
  }
  .why-ayurveda .expert i{
    font-size: 3rem;
  }
  .login-sec{
    width: 100%;
  }

}

@media (max-width: 575px) {

  .city-item {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
  }

  #topBarText {
    font-size: 12px;
  }

  .abouticondiv{
    display:flex;
    flex-direction: row !important;
    align-items: center;
    column-gap: 1rem;
  }
  .carousel-control-prev, .carousel-control-next{
    display: none;
  }
  .hero .hero-content .hero-social-proof .rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero .hero-content .hero-title {
    font-size: 2rem;
    line-height: 2.4rem;
  }
  .hero .hero-content .hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }
  .hero .hero-content .hero-description {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 19px;
  }

  .hero .hero-content .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .hero-content .hero-features {
    gap: 16px;
  }
  
}
