@media (max-width: 1200px) {
  .header .item-center {
    flex: auto;
  }

  /* service benifits  */

  .benifitscontainer ul li {
    padding: 1rem;
    font-size: 1rem !important;
  }

  /* footer */

  .footer-item {
    width: 50%;
  }

  .footer-item:nth-child(2) {
    border: 0px;
  }

  /* .dr-text-content */

  .dr-text-content,
  .banner-text-content {
    padding: 2rem 0;
    padding-bottom: 0px;
  }

  .shadoweffect::after {
    display: none;
  }
}

@media (min-width: 1400px) {
  .dr-section .container-fluid {
    max-width: 100% !important;
  }
}

@media (max-width: 1000px) {
  /* footer */

  .footer-item-logo {
    padding: 0 3%;
  }

  .footer-item-logo .media {
    width: 100%;
    justify-content: center;
  }

  .clinicImg,
  .clinicContent {
    padding: 1rem 0;
  }
}

@media (min-width: 992px) {
  .header .container {
    max-width: calc(100% - 4%);
  }
}

@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: 320px;
    background-color: #ffffff;
    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 {
    gap: 1rem;
  }

  .header .menu>ul>li {
    line-height: 50px;
    margin: 0;
    border-bottom: 1px solid #f4f4f4;
  }

  .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;
    height: 50px;
    width: 50px;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 50px;
    transform: rotate(-90deg);
  }

  .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;
  }

  .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul {
    margin-bottom: 15px;
  }

  .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;
  }

  /* footer */

  .footer-item-logo {
    padding: 0 0%;
  }

  .footer-item-clinic-text {
    width: 70%;
  }

  .footer-item-logo a img {
    width: 100%;
    max-width: 250px;
  }

  .footer-item {
    width: 48% !important;
  }

  .footerbranchconrainer {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  /* footer */

  .footer {
    padding-bottom: 50px;
    padding-top: 50px;
  }

  .flex-footer {
    margin: 0 0 1rem 0;
  }

  .footer-item {
    width: 50% !important;
  }

  .footer-item-clinic-text {
    width: 100%;
    margin-bottom: 3rem;
  }

  .footer-item-logo {
    width: 100%;
    padding: 10px 0%;
  }

  .footer-menu-conatiner {
    width: 100%;
    padding: 0px 2%;
  }

  .footer-item-logo .media ul li {
    width: 30px;
    height: 30px;
    font-size: 1.6rem;
  }

  /* footer mobile */

  .whatsapp-widget {
    display: none;
  }

  .footer-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    display: block;
    right: 0;
    background: #fff;
    width: 100%;
    height: 48px;
    z-index: 99;
  }

  .footer-mobile a {
    display: inline-block;
    padding: 12px 9px;
    color: #000;
    text-decoration: none;
    width: 50%;
    font-weight: 60;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    margin: 1px 0 0 0;
    text-align: center;
    float: left;
    font-weight: 500;
  }

  .footer-mobile a i {
    font-size: 18px;
    padding-right: 4px;
    position: relative;
    top: 2px;
    color: #383838;
  }

  .footer-mobile a:after {
    position: absolute;
    content: "";
    right: 0;
    left: 0;
    margin: 0 auto;
    height: 90%;
    width: 1px;
    bottom: 4%;
    background: #d3d3d3;
  }


  /* benifits  */

  .benifitsbg {
    padding-bottom: 3rem;
  }

  .benifitscontainer {
    padding: 0;
    padding-bottom: 1rem;
  }

  .benifitscontainer ul li {
    font-size: 1.5rem !important;
  }

  .moveright {
    right: 0px;
  }

  .moveleft {
    left: 0px;
  }

  .flex-left li {
    padding-right: 4rem !important;
    background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 65%, transparent 100%) !important;
    padding-left: 1rem !important;
  }

  /* 404  */

  .section404::after {
    height: 50%;
    top: calc(0% + 25%);
  }
}

@media (max-width: 576px) {
  /* spacing for all  */

  .main-content {
    padding: 0 5%;
  }

  /* footer */

  .footer-item-logo {
    padding: 10px 0%;
  }

  .footer-item-logo {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-item-logo .media ul {
    justify-content: flex-start;
  }

  .footer-item {
    width: 100% !important;
  }

  .footer-item:nth-child(1),
  .footer-item:nth-child(3) {
    border: none;
  }

  .footerlinks {
    opacity: 0;
    max-height: 0px;
    transition: all 0.5s ease;
    overflow: hidden;
    margin: 0px 0px;
  }

  .footerlinks.active {
    opacity: 1;
    max-height: 450px;
    transition: all 0.5s ease;
    margin: 10px 0px;
  }

  h4.footertitle span {
    display: block;
    cursor: pointer;
    transition: all 0.5s ease;
  }


  /* tab bar */

  .tab-navs-container {
    overflow: hidden;
    overflow-x: hidden;
    padding-bottom: 1rem;
    overflow-x: scroll;
  }

  .nav {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
  }

  .nav-tabs .nav-link {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.4rem) !important;
  }
}