@media (max-width: 1300px) {
  .main_nav ul li a {
    font-size: 14px;
  }
  .why_us .first_col {
    padding: 1rem 2rem;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
  }
}
@media (min-width: 992px) {
}
@media (max-width: 992px) {
  header .inner_box h2,
  .book_appointment h3,
  .why_us .first_col h2,
  .departments_section h2,
  .gallery_section h2,
  .our_blogs h2,
  .partners_section h2,
  .subscribe_section h3,
  header .inner_page_image h1,
  .complaint_section h2,
  .search_doctor h3,
  .doctor_details h3,
  .blog_section h1,
  .single_blog_head h1,
  .search_head_section h1,
  .doctor_name h1,
  .department_details h2 {
    font-size: 30px;
  }
  .single_blog_head h3 {
    font-size: 14px;
  }
  .doctor_details h3 {
    margin-top: 1rem;
  }
  .complaint_section h2 {
    width: 75%;
  }
  .about_quote h1 {
    font-size: 28px;
  }
  .book_appointment h3 {
    margin-bottom: 1rem;
  }
  .why_us .first_col {
    padding: 2rem 4rem;
  }
  .subscribe_section p {
    font-size: 20px;
  }
  footer h3,
  .complaint_section .contact_details h3 {
    margin-top: 1.5rem;
  }
  .arrows ul {
    justify-content: center;
    margin: 0 auto;
  }
  .copyright p {
    text-align: center;
  }
  .copyright span {
    margin-right: 0;
  }
  .blog_filter .tags {
    margin-bottom: 2.5rem;
  }
  .search_doctor h3 {
    margin-bottom: 1rem;
  }
  .inner_box .container .inner_text {
    background-color: rgb(255, 255, 255, 0.6);
    padding: 20px;
  }
  header .inner_page_image p,
  .our_values p {
    width: 100%;
  }
  .main_nav .search_box {
    top: 6rem;
    width: 100%;
  }
  .our_doctors .portfolio-filters {
    display: none;
  }
  .our_doctors .portfolio-slider,
  .our_doctors .arrows {
    display: block;
  }
  .our_doctors .arrows {
    top: 4rem;
    height: max-content;
  }
  .our_doctors .arrows ul {
    width: 100%;
    color: var(--sub-color);
    justify-content: space-between;
  }
  .our_doctors .portfolio-slider {
    width: 90%;
    margin: 0 auto 5rem;
  }
  .main_nav .open_search {
    margin-right: 0.5rem;
  }
  .rtl .main_nav .open_search {
    margin-left: 0.5rem;
    margin-right: 0;
  }
  .main_nav ul li ul {
    position: unset;
  }
}
@media (max-width: 768px) {
  .why_us .first_col {
    padding: 2rem 3rem;
  }
  .copyright ul {
    text-align: center;
    margin-top: 0.5rem;
  }
  .complaint_section h2 {
    width: 100%;
  }
  .next_posts a {
    justify-content: center !important;
  }
  .next_posts p {
    font-size: 16px;
    text-align: center;
  }
  .next_posts p:first-of-type {
    margin-bottom: 2rem;
  }
}
@media (max-width: 578px) {
  .why_us .first_col {
    padding: 2rem 1rem;
  }
  .about_quote h1 {
    font-size: 25px;
  }
  .single_blog_head h1 {
    font-size: 26px;
  }
  .why_us ul.capacity li {
    width: 100%;
  }
  .why_us ul.capacity li span {
    margin: 0;
  }
}
@media (max-width: 420px) {
}
@media (max-width: 380px) {
}
