@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .gallery_contents {
    height: 180px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .testimonial_card {
    padding: 30px 20px;
  }
  .testimonial_nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .amenities {
    grid-template-columns: repeat(3, 1fr);
  }
  .visit-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hero h1 {
    font-size: 36px;
  }
  /* .cards {
    grid-template-columns: 1fr;
  } */
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .amenities {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    flex-direction: column;
    align-items: center;
    position: absolute;
    background-color: #ffffff;
    top: 87px;
    border-top: 1px solid #0b1324;
    width: 100%;
    left: 0;
    padding: 10px 0;
    gap: 0;
  }
  .main-nav a {
    padding: 15px 20px;
    width: 100%;
    /* background-color: #f1f5f9; */
  }
  .main-nav a:hover {
    background-color: #0b1324;
    color: #fff;
  }
  .main-nav a:last-child {
    width: 95%;
    padding: 12px 0;
    text-align: center;
  }
  .nav-toggle {
    display: block;
  }
  .site-header .header-inner {
    height: auto;
    padding: 10px 0;
  }
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .card button {
    width: 100%;
  }
  .amenities {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  section {
    padding: 20px 0;
  }
  .testimonial_main_container .testimonial_head_desc h1 {
    font-size: 44px;
    line-height: 45px;
    padding: 0 10px;
  }
  .footer-brand {
    grid-template-columns: 0;
    text-align: left;
  }
}
@media screen and (max-width: 1024px) {
  .gallery_popup_img {
    max-width: 85%;
    max-height: 85vh;
  }

  .gallery_popup_close {
    font-size: 22px;
    top: 15px;
    right: 15px;
  }
}

@media screen and (max-width: 721px) {
  .gallery_popup {
    padding: 10px;
  }

  .gallery_popup_img {
    width: 95%;
    max-height: 80vh;
  }

  .gallery_popup_close {
    font-size: 20px;
    top: 10px;
    right: 10px;
  }
  .control_indicates .controler {
    display: none;
  }
  .testimonial_slider_container {
    width: 90%;
    margin: 0 auto;
  }
  .testimonial_dots {
    transform: translateY(180px);
  }
}
@media screen and (max-width: 500px) {
  .gallery_popup_img {
    max-width: 100%;
    max-height: 75vh;
  }

  .gallery_popup_close {
    font-size: 18px;
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 32px 0 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-brand {
    grid-template-columns: auto 1fr;
    width: 100%;
    gap: 8px;
  }
  .footer-copy {
    margin: 8px 0;
  }
  .socials {
    margin-top: 8px;
  }
  .footer-links li {
    margin: 8px 0;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 24px 0 12px;
  }
  .footer-brand {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .socials {
    justify-content: left;
  }
  .footer-links {
    text-align: left;
  }
  .footer_contact ul li {
    text-align: left;
  }
  .footer_contact ul li i {
    padding-right: 8px;
  }
  .container.tiny {
    text-align: left;
  }
}
@media (max-width: 768px) {
  .gallery_popup_img {
    max-width: 95%;
    max-height: 80vh;
  }

  .gallery_popup_close {
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery_popup_img {
    max-width: 98%;
    max-height: 75vh;
  }

  .gallery_popup_close {
    font-size: 1.2rem;
  }
}
