@media (min-width: 1800px) and (max-width: 1919px) {
  .header_main .logo_wrap {
    max-width: 200px;
  }
  .header_main .nav_wrap {
    margin-right: 30px;
  }
  .header_main .right_header {
    padding-right: 100px;
  }

  .megamenu_main .submenu_wrap {
    padding: 70px 0;
  }
  .megamenu_main .buttons_block .btn-main {
    width: 380px;
    height: 75px;
  }
}

@media (min-width: 1400px) and (max-width: 1799px) {
  .header_main .logo_wrap {
    max-width: 160px;
  }
  .header_main .nav_wrap {
    margin-right: 20px;
  }
  .header_main .navigation > ul {
    column-gap: 16px;
  }
  .header_main .navigation > ul > li:nth-last-child(2) {
    padding-right: 15px;
  }
  .header_main .navigation > ul > li:nth-last-child(2) a::before {
    right: -18px;
  }
  .header_main .navigation > ul > li > a {
    font-size: 16px;
  }
  .header_main .cta_wrap .buttons_wrap {
    column-gap: 14px;
  }
  .header_main .cta_wrap .buttons_wrap .btn-main {
    min-width: 220px;
    max-width: 220px;
    font-size: 16px;
  }
  .header_main .cta_wrap .language_bar {
    padding-left: 36px;
  }
  .header_main .cta_wrap .language_bar:before {
    left: 20px;
  }

  .megamenu_main .submenu_wrap {
    padding: 70px 0;
  }
  .megamenu_main .buttons_block .btn-main {
    width: 380px;
    height: 75px;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .header_main .right_header {
    padding-right: 60px;
  }
  .header_main .logo_wrap {
    max-width: 160px;
  }
  .header_main .nav_wrap {
    margin-right: 20px;
  }
  .header_main .navigation > ul {
    column-gap: 16px;
  }
  .header_main .navigation > ul > li:nth-last-child(2) {
    padding-right: 15px;
  }
  .header_main .navigation > ul > li:nth-last-child(2) a::before {
    right: -18px;
  }
  .header_main .navigation > ul > li > a {
    font-size: 15px;
  }
  .header_main .cta_wrap .buttons_wrap {
    column-gap: 14px;
  }
  .header_main .cta_wrap .buttons_wrap .btn-main {
    min-width: 200px;
    max-width: 200px;
    font-size: 15px;
  }
  .header_main .cta_wrap .language_bar {
    padding-left: 20px;
  }
  .header_main .cta_wrap .language_bar:before {
    left: 10px;
  }

  .megamenu_main .submenu_wrap {
    padding: 60px 20px;
  }
  .megamenu_main .buttons_block .btn-main {
    width: 360px;
    height: 70px;
  }
}

@media (min-width: 992px) and (max-width: 1230px) {
  h2 {
    font-size: 30px;
  }
  .social-wall-slider-sec .swiper,
  .news-slider-sec .swiper {
    margin-left: 50px;
  }
  .footer-bottom .left .address {
    align-items: flex-start;
  }
}
@media (max-width: 1279px) {
  main.contain_wapper {
    margin-top: 68px;
  }
  .immediate-help-sec {
    display: none;
  }
}

@media (max-width: 991px) {
  h2 {
    font-size: 24px;
  }
  .nursinghome-place-ul ul {
    width: calc(100% + 30px);
    left: -15px;
    margin: 0;
  }
  main.contain_wapper {
    margin-top: 68px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .mobile {
    display: block;
  }
  footer {
    padding: 54px 0 32px;
  }
  .footer-main > .social-icon {
    display: flex;
  }
  .footer-main .footer-top .social-icon { display: none; }
  .footer-top {
    justify-content: center;
  }
  .footer-top .logo a img + img {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    margin-top: 35px;
  }
  footer .copy-right.mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 31px;
  }
  .footer-bottom .left {
    width: 100%;
  }
  .footer-bottom .left .address {
    flex-direction: column;
    gap: 34px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e6e6e6;
  }
  .footer-bottom .left .address p {
    text-align: center;
  }
  .footer-bottom .left .address ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-bottom .right {
    flex-direction: column;
    width: 100%;
  }
  .copy-right {
    display: none;
  }
  footer .copy-right.mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 31px;
  }
  .footer-bottom .right ul:first-child {
    padding: 36px 0;
    border-bottom: 1px solid #e6e6e6;
  }
  .footer-bottom .right ul:nth-child(2) {
    padding: 36px 0;
    border-bottom: 1px solid #e6e6e6;
  }
  .footer-bottom .right ul:last-child {
    padding: 36px 0 32px;
  }
  .footer-bottom .right ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .swiper-pagination .swiper-pagination-bullet {
    width: 18px;
    height: 18px;
  }
  .btn-main::after {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 499px) {
  .next-pri-inner {
    flex-direction: column;
    gap: 15px;
  }
}
