@media only screen and (max-width: 640px) {
  .head {
    font-size: 30px;
  }

  .desc {
    text-align: justify !important;
    padding: 0 !important;
  }

  .clinic-info {
    padding: 0 !important;
  
  }

  .reserv-button {
    margin-top: 20px !important;
  }

  .videos-page {
    height: 350px !important;
  }

  .doctors-desc {
    text-align: justify !important;
  }

  .doctor {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
  .head {
    font-size: 30px;
  }

  .desc {
    text-align: justify !important;
    padding: 0 !important;
  }

  .clinic-info {
    padding: 0 !important;
  
  }

  .reserv-button {
    margin-top: 20px !important;
  }

  .videos-page {
    height: 350px !important;
  }

  .doctors-desc {
    text-align: justify !important;
  }

  .doctor {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .head {
    font-size: 30px;
  }

  .desc {
    text-align: justify !important;
    padding: 0 !important;
  }

  .clinic-info {
    padding: 0 !important;
  
  }

  .reserv-button {
    margin-top: 20px !important;
  }

  .videos-page {
    height: 350px !important;
  }

  .doctors-desc {
    text-align: justify !important;
  }

  .doctor {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media only screen and (min-width: 1025px) {
  .head {
    font-size: 30px;
  }

  .desc {
    text-align: center !important;
    padding: 0 80px 0 80px !important;
  }

  .clinic-info {
    padding: 0 !important;
  
  }

  .reserv-button {
    margin-top: 20px !important;
  }

  .videos-page {
    height: 350px !important;
  }

  .doctors-desc {
    text-align: center !important;
  }

  .doctor {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
  }
}

.carousel-inner .carousel-item {
  justify-content: center;
  align-items: center;
}

.images1 {
  height: 350px;
  width: 350px;
}

@media (max-width: 640px) {
  .carousel-inner .carousel-item > div {
    display: none;
  }

  .carousel-inner .carousel-item > div:nth-child(-n + 3) {
    display: block;
  }

  .images1 {
    height: 300px;
    width: 300px;
  }

  .carousel-images {
    height: 500px !important;
  }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

@media (min-width: 640px) {
  /* .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next,
    .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(25%) !important;
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-item-prev:not(.carousel-item-end),
    .active.carousel-item-start,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

    .carousel-item-next.carousel-item-start,
    .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    } */
}
