@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }

  .menus {
    position: absolute;
    top: 100%; /* Adjust based on navbar height */
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.4s ease-in-out;
    z-index: 1000; /* Ensure it appears above other elements */
  }

  /* When the menu is open */
  .menus.menu_open {
    max-height: 500px; /* Adjust based on your menu's height */
    opacity: 1;
    transform: scaleY(1);
  }

  .menu,
  .menu_btn {
    padding: 10px;
    width: 100%;
    text-align: center;
    color: var(--black); /* Adjust if necessary */
  }

  .menu_btn {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
  }

  .menu_btn:hover {
    background-color: var(--black);
  }

  .navbar_container {
    justify-content: space-between;
  }
  .navbar_section {
    position: relative;
  }
  .hero_right {
    display: none;
  }
  .hero_section {
    padding: 60px 0;
    text-align: center;
  }
  .hero_heading {
    font-size: 50px;
  }
  .hero_desc {
    font-size: 16px;
    margin: 20px 0 40px;
  }
  .hero_btns {
    justify-content: center;
  }
  .step_container {
    flex-direction: column;
    gap: 30px;
  }
  .step_left {
    text-align: center;
  }
  .step_section,
  .marketing_section {
    padding: 40px 0;
  }
  .step_heading {
    font-size: 36px;
  }
  .step_text {
    font-size: 16px;

    margin-top: 10px;
  }
  .service {
    width: calc((100% / 2) - 40px);
  }
  .service_section {
    padding: 70px 0 50px;
  }
  .heading {
    font-size: 42px;
  }
  .subheading span {
    font-size: 38px;
  }
  .subheading {
    bottom: -20%;
    font-size: 32px;
    line-height: 25px;
  }
  .marketing_heading {
    font-size: 34px;
    line-height: 40px;
  }
  .marketing_btn {
    padding: 10px 30px;
  }
  .marketing_desc {
    margin: 20px 0 35px;
  }
  .about_container {
    flex-direction: column;
    gap: 30px;
  }
  .doctor {
    width: calc((100% / 3) - 20px);
  }
  .hero_desc {
    width: 100%;
  }
  .gallery_section {
    padding-top: 40px;
  }
  .gallery_heading {
    font-size: 36px;
  }
  .contact_section {
    padding: 200px 0 50px;
  }
  .contact_container {
    margin-top: 50px;
  }
  .contact_container {
    flex-direction: column;
  }
  .footer_container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }
  .footer_heading:before {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer_top {
    padding: 50px 0;
  }
}
@media (max-width: 676px) {
  .logo {
    width: 150px;
  }
  .navbar_container {
    padding: 10px 0;
  }
  .hero_heading {
    font-size: 42px;
  }
  .hero_desc {
    margin: 20px 0;
  }
  .step {
    width: 100%;
  }
  .step_right {
    flex-wrap: wrap;
  }
  .subheading {
    display: none;
  }
  .heading {
    text-align: center;
  }
  .service_section {
    padding: 40px 0;
  }
  .services {
    margin-top: 30px;
  }
  .services {
    gap: 30px;
  }
  .service {
    width: 100%;
    padding: 25px 10px;
  }
  .about_section {
    padding: 50px 0;
  }
  .doctor {
    width: 100%;
  }
  .hero_btns {
    flex-direction: column;
  }
  .about_right {
    padding: 20px;
    text-align: center;
  }
  .about_desc {
    line-height: 20px;
  }
}
@media (max-width: 551px) {
  .hero_heading {
    font-size: 37px;
  }
  .footer_link {
    flex-direction: column;
    align-items: center;
  }
  .heading {
    font-size: 33px;
    line-height: 40px;
  }
}
