@media (max-width: 1400px) {
  .header .logo a img {
    width: 120px;
  }

  .header .menu>ul>li,
  .header .menu>ul>li .sub-menu ul li {
    font-size: 14px !important;
  }

}



@media (max-width: 992px) {
  .v-center {
    justify-content: space-between;
  }

  .header .item-center {
    order: 3;
    flex: 0 0 100%;
  }

  .header .item-left,
  .header .item-right {
    flex: 0 0 auto;
  }

  .header .mobile-menu-trigger {
    display: flex;
    height: 30px;
    width: 30px;
    margin-left: 15px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .header .mobile-menu-trigger span {
    display: block;
    height: 2px;
    background-color: #333333;
    width: 24px;
    position: relative;
  }

  .header .mobile-menu-trigger span:before,
  .header .mobile-menu-trigger span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
  }

  .header .mobile-menu-trigger span:before {
    top: -6px;
  }

  .header .mobile-menu-trigger span:after {
    top: 6px;
  }

  .header .item-right {
    align-items: center;
  }

  .header .menu {
    position: fixed;
    width: 90%;
    background-color: var(--white-color);
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
    transform: translate(-100%);
    transition: all 0.5s ease;
    z-index: 1099;
  }

  .header .menu.active {
    transform: translate(0%);
  }

  .header .menu>ul>li {
    display: block;
    line-height: 20px !important;
  }

  .menu>ul>li:not(:last-child) {
    border-bottom: 1px solid var(--light-color);
  }

  .header .menu ul li a {
    display: block;
  }

  .header .menu>ul>li .sub-menu ul li a {
    line-height: 30px !important;
  }

  .header .menu ul li a i {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-90deg);
  }

  .sub-menu .list-item {
    padding: 0;
    margin-bottom: 1.5rem;
  }

  .header .menu .mobile-menu-head {
    display: flex;
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 501;
    position: sticky;
    background-color: #ffffff;
    top: 0;
  }

  .header .menu .mobile-menu-head .go-back {
    height: 50px;
    width: 50px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 16px;
    display: none;
  }

  .header .menu .mobile-menu-head.active .go-back {
    display: block;
  }

  .header .menu .mobile-menu-head .current-menu-title {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
  }

  .header .menu .mobile-menu-head .mobile-menu-close {
    height: 50px;
    width: 50px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 25px;
  }

  .header .menu .menu-main {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    padding: 1rem !important;
    flex-direction: column;
  }

  .header .menu>ul>li .sub-menu.mega-menu,
  .header .menu>ul>li .sub-menu {
    visibility: visible;
    opacity: 1;
    position: absolute;
    box-shadow: none;
    margin: 0;
    padding: 1rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 65px;
    max-width: none;
    min-width: auto;
    display: none;
    transform: translateX(0%);
    overflow-y: auto;
  }

  .header .menu>ul>li .sub-menu.active {
    display: block;
    background-color: #ffffff;
  }

  @keyframes slideLeft {
    0% {
      opacity: 0;
      transform: translateX(100%);
    }

    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }

  @keyframes slideRight {
    0% {
      opacity: 1;
      transform: translateX(0%);
    }

    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }

  .header .menu>ul>li .sub-menu>ul>li>a,
  .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
    display: block;
    display: flex;
  }

  .menu-overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1098;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }

  .menu-offer-banner,
  .offer-menu-img {
    display: block;
  }

  .header-sidebar-btn-flex {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .cta-flex-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .toggle-icon {
    display: inline-block;
  }

  .list-item li {
    display: none !important;
  }

  .list-item.active li {
    display: block !important;
  }

  .header .menu>ul>li .sub-menu.mega-menu-column-4 .list-item {
    margin-bottom: 1rem;
  }

  .list-item:not(:last-child)::before {
    display: none;
  }

  /* hero section */

  .main-content {
    padding: 0 5%;
  }

  .usp-heading {
    border-right: 0;
  }

  /* footer  */

  .custom-col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* blog*/

  .blog-grid-box {
    height: 100% !important;
  }

  /* form edit */

  /* .formbox {
    padding: 1rem 0;
  } */


  /* result page */
  .before-grid {
    grid-template-columns: repeat(2, 1fr);
  }


}


@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .heading {
    text-align: left;
  }

  .home-ctabox .cta-box a {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  /* header  */


  /* counsellingflex li */

  .counsellingflex li {
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.4rem !important;
    padding-left: 4rem;
  }

  /* tab bar */
  .yt-tabs {
    flex-wrap: nowrap;
    overflow-x: scroll;
    white-space: nowrap;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .yt-tabs::-webkit-scrollbar {
    display: none;
  }

  .yt-tabs li {
    flex: 0 0 auto;
    padding: 8px 14px;
    margin-bottom: 2rem;
  }



  /* footer */
  .footer-box {
    padding: 1rem 0;
  }

  h5.footer-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
  }

  h5.footer-heading span {
    display: block;
    font-size: 1.3rem;
  }

  .footer-links {
    opacity: 0;
    max-height: 0px;
    transition: all 0.5s ease;
    overflow: hidden;
    margin: 0px 0px;
  }

  .footer-links.active {
    opacity: 1;
    max-height: 450px;
    transition: all 0.5s ease;
    margin: 10px 0px;
  }


  .footer-cta.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }


  /* location details  */

  .clinic-image-wrapper img {
    height: auto;
  }

  .location-form {
    width: 100%;
    position: static;
    top: unset;
    transform: none;
    margin-top: 20px;
  }


  /* feature page  */

  .service-featured-item,
  .custom-featured-item {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .service-feature-icon {
    width: 100%;
  }

  .comparison-row {
    padding: 2rem 0;
  }

  .comparison-text-box {
    padding: 2rem;
  }

  .step-content-wrapper,
  .step-content-img {
    padding: 2rem 0;
  }

  .central-cta-box {
    padding: 3rem 1rem;
  }

  /*priceing page*/

  .toggle-container {
    justify-content: center;
    text-align: center;
  }

  /* result page */
  .before-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}