@media (min-width: 1380px) {
  .hm-service-content h2 {
    font-size: 30px;
  }
}
@media (min-width: 861px) {
  .service_item:nth-child(even) .service_image{
    order:2;
  }
}

@media (max-width: 1800px) {
  .container {
    max-width: 90%;
  }
}

@media (max-width: 1500px) {
  .main_title {
    font-size: 35px;
  }
  .tabs_content_title h3 {
    font-size: 30px;
  }
}

@media (max-width: 1200px) {
  p {
    margin-bottom: 10px;
    line-height: 23px;
  }
  body {
    font-size: 14px;
  }
  .main_title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .menu-ul > li:last-child a {
    padding: 10px 15px;
  }
  .first_section .inside {
    --space: 40px;
  }
  .first_section .inside ul {
    column-gap: 15px;
  }
  .link-fill,
  .link-outline {
    min-width: auto;
    padding-inline: 12px;
  }
  .card_list_body span {
    font-size: 40px;
  }
  .card_list {
    column-gap: 22px;
  }
  .resp-tabs-list li {
    min-width: auto;
    padding: 0 25px;
  }
  .section-five {
    padding: 80px 0;
  }
  .section-five .title {
    margin-bottom: 40px;
  }
}

@media (max-width: 860px) {
  .px-100 {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .pb-100 {
    padding-bottom: 80px;
  }
  .pt-100 {
    padding-top: 80px;
  }
  .first_section > div {
    width: 100%;
  }
  .first_section .inside {
    --space: 15px;
    max-width: 100%;
  }
  .first_section {
    padding-top: 50px;
  }
  .second_section {
    flex-direction: column-reverse;
  }
  .amenities_list {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 30px;
  }
  .section_four .title p br,
  .section-five .title p br,
  .section_third .title p br {
    display: none;
  }
  .inquire_wrap {
    margin-top: 40px;
  }
  .section_four {
    padding: 50px 0 0 0;
  }
  .section-five {
    padding: 50px 0;
  }
  .amenities_list_wrap {
    margin-top: 30px;
  }
  .section_third {
    padding: 50px 0 0 0;
  }
  .tabs_content_title h3 {
    font-size: 30px;
  }
  .footer-bottom::after {
    display: none;
  }
  .footer-bottom {
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .footer-center img {
    position: initial;
  }
  .icons {
    margin: auto;
  }
  .footer-center {
    width: 100%;
    order: 2;
  }
  .footer-center img {
    margin-bottom: 10px;
  }
  .urls {
    margin: auto;
  }
  .footer-top {
    padding-bottom: 20px;
  }
  .section-gallery {
    padding-top: 50px;
  }
  .first_section.first {
    padding-top: 50px !important;
  }
  .first_section .content {
    max-width: 90%;
    margin: auto;
  }
  .section_third .title {
    margin-bottom: 30px;
  }
  .service_list,
  .team-management,
  .our-team-list-wrap {
    margin-top: 60px;
  }

  .about-full {
    margin-top: 15px;
  }

  .our-team-list-wrap h2 {
    margin-bottom: 28px;
  }

  .side-column-content h2 {
    font-size: 26px;
    margin: 0 0 15px 0;
  }

  .hm-banner .container h1::after {
    left: -40%;
  }

  .hm-service-item:nth-child(odd) .hm-service-content-inner {
    padding-left: 0;
  }

  .hm-service-item:nth-child(even) .hm-service-content-inner {
    padding-right: 0;
  }

  .hm-service-item {
    max-width: 94%;
    margin: auto;
    overflow: hidden;
  }

  .hm-banner .container h1 {
    font-size: 28px;
    padding: 8px 0;
  }

  .hm-service-content h2 {
    margin: 10px 0 20px 0;
  }
  .service_content h4 {
    margin-bottom: 10px;
    font-size: 21px;
  }
  .service_content {
    padding: 15px 0 0 0;
  }
  .page-contact .container {
    overflow: hidden;
  }
  .hm-service-item > div {
    width: 100%;
  }
  .service_item .container {
    overflow: hidden;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .px-100 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .pb-100 {
    padding-bottom: 50px;
  }

  .pt-100 {
    padding-top: 50px;
  }

  .column-2 {
    grid-template-columns: repeat(1, 1fr);
  }

  .home-services {
    padding: 50px 0;
  }

  .hm-service-list {
    row-gap: 30px;
  }
  .hm-banner .container {
    min-height: 300px;
  }

  .hm-service-item:nth-child(odd) .hm-service-content-inner {
    padding-right: 0;
  }

  .hm-service-item:nth-child(even) .hm-service-content-inner {
    padding-left: 0;
  }

  .menu-ul > li:last-child a {
    padding: 0;
  }

  .side-column-content {
    margin-top: 30px;
  }

  .side-column
    > div:not(
      .about-full,
      .service_list,
      .our-team-list-wrap,
      .team-management,
      .our-team-list
    ) {
    width: 100%;
  }

  .service_list,
  .team-management,
  .our-team-list-wrap {
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .team-management {
    row-gap: 30px;
  }

  .team-management .image,
  .team-management .content {
    width: 100%;
  }

  .our-team-list-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .main {
    margin-top: 73px;
  }
  .container {
    padding: 0;
    max-width: 94%;
  }

  .hm-our-team .container {
    max-width: 94%;
  }
  .card_list_body {
    min-height: 120px;
  }
  .card_list_body span {
    font-size: 31px;
  }
  .card_list_body p {
    font-size: 15px;
  }
  .card_list_header {
    font-size: 14px;
  }
  .card_list_header img {
    max-width: 25px;
  }
  .first_section .content {
    max-width: 94%;
  }
  .first_section .inside-buttons {
    column-gap: 10px;
  }
  #dialog-content {
    width: 100%;
    border-radius: 15px;
  }
  .poup-inside .image {
    display: none;
  }
  .poup-inside .content {
    width: 100%;
    padding: 0;
  }
  .poup-inside .content h4 {
    font-size: 25px;
  }
  .poup-inside .content h6 {
    font-size: 16px;
  }
  .poup-inside .content button {
    min-width: 150px;
  }
  .fancybox-button {
    height: 34px;
    width: 34px;
  }
  .footer-first {
    flex-wrap: wrap;
    row-gap: 35px;
  }
  .quick-links li {
    width: auto;
  }

  .team-management {
    row-gap: 20px;
    flex-wrap: wrap;
  }

  .our-team-content {
    padding-top: 15px;
  }

  .quick-links {
    gap: 12px;
  }

  .footer-first h4 {
    margin-bottom: 17px;
    font-size: 19px;
  }
  .page-contact .container > div {
    width: 100%;
  }

  .service_item {
    padding: 50px 0;
  }

  .contact_detail_left p {
    margin-bottom: 20px;
  }

  .quick-links {
    justify-content: flex-start;
  }
  .hm-our-team h2 + p {
    margin-bottom: 28px;
  }

  /* .testmonial-item {
    padding: 22px 22px 40px 22px;
    border: 1px solid var(--color-primary);
    border-radius: 15px;
  } */

  .testmonial-user {
    margin-top: 20px;
  }
}
@media (max-width: 600px) {
  .contact_detail_form_list li:nth-child(1),
  .contact_detail_form_list li:nth-child(2),
  .contact_detail_form_list li:nth-child(3),
  .contact_detail_form_list li:nth-child(4) {
    width: 100%;
  }

  .testmonial-list {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
  }

  .contact_detail_form_list button {
    margin-top: 0;
  }
  .first_section .inside ul {
    flex-wrap: wrap;
  }
  .first_section .inside li {
    width: 100%;
  }
  .first_section .inside .link-fill-wrap {
    margin-top: 30px;
  }
  .image_gallery {
    row-gap: 10px;
  }
  .image_gallery_item {
    column-gap: 10px;
  }
  .amenities_list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .main_title {
    font-size: 24px;
  }
  .tabs_wrap > div {
    width: 100%;
  }
  .tabs_wrap {
    padding: 15px;
  }
  .resp-tabs-container {
    padding-top: 0;
  }
  .first_section .inside li .content span {
    display: block;
  }
  .tabs_content_title h3 {
    font-size: 22px;
  }
  .our-team-list-4 {
    grid-template-columns: repeat(1, 1fr);
  }
  .counter-grid {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .counter-grid .card {
    padding: 20px 20px 20px;
  }

  .counter-grid .rule {
    margin: 5px 0 12px;
  }
  .free-div {
    flex-wrap: wrap;
    gap: 35px;
  }
  .hm-service-content li {
    width: 100%;
  }
}
