@media only screen and (max-width: 1400px) {
  .navbar-container {
    padding: 1rem 4rem;
  }
}

@media only screen and (max-width: 1200px) {
  .navbar-container {
    padding: 1rem 2rem;
  }

  .navLinks {
    gap: 1rem;
  }
}

@media only screen and (max-width: 1080px) {
  .navbar-container {
    padding: 1rem 2rem;
    justify-content: space-between;
  }

  .menu {
    display: block;
  }

  .navLinks {
    display: none;
  }

  .custom-visible {
    display: none;
  }

  .banner_title {
    top: 20%;
    left: 7%;
  }

  .banner_title h2 {
    line-height: 50px;
  }

  .section-heading .section-title {
    font-size: 4.5vw;
  }

  .over_btn a {
    font-size: 12px;
    padding: 10px 20px;
  }

  .high_box h2 {
    font-size: 20px;
  }

  .section-heading p {
    font-size: 18px;
  }

  .config-swiper-content .config-txt span {
    font-size: 15px;
  }
}

@media only screen and (max-width: 991px) {
  .gallery-swiper-container .swiper-nav .swiper-button {
    top: 45%;
    width: 50px;
    height: 50px;
  }

  .map-content {
    margin: 3rem auto auto auto;
  }

  .location-accordion .accordion-button .acc-txt {
    font-size: 1.05rem;
  }

  .copy-right {
    text-align: center;
  }

  .footer-copyright {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1rem;
  }

  section.section-residence {
    padding: 10vw 0;
  }
}

@media only screen and (max-width: 767px) {
  .logo-img {
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    width: 250px;
    max-width: 100%;
    position: relative;
  }

  .modal-logo {
    width: 18rem;
  }

  section.main-banner {
    margin: 4.2rem 0 0 0;
  }

  .section-heading .section-title {
    font-size: 7vw;
  }

  .banner_title {
    top: 3%;
    left: 7%;
    width: 90%;
    gap: 1rem;
  }

  .banner_title h2 {
    line-height: 1.5;
    font-size: 6.3vw;
  }

  .banner_title p {
    font-size: 4vw;
  }

  .btn-contact {
    font-size: 14px;
  }

  .contact-title {
    font-size: 1.25rem;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  .fixed-button {
    display: none;
  }

  /* mobile toggle bar */

  .mobile-fixed-button {
    display: block;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 999;
    padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom)) 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    -webkit-box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .mobile-fixed-row {
    margin: 0;
  }

  .mobile-fixed-button .btn-fixed {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.55rem 0.4rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .mobile-fixed-button .btn-fixed .txt {
    white-space: nowrap;
  }

  .btn-middle-content {
    padding: 1rem;
    background-color: transparent;
    position: absolute;
    top: 10px;
    left: 50%;
    border-radius: var(--radius-full);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .btn-middle {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    border: none;
    outline: none;
    background-color: #ac883a;
  }

  .mobile-fixed-content .btn-fixed {
    width: 35%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    top: -7px;
    font-size: 1.1rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem 0.85rem;
  }

  .btn-middle img {
    width: 50px;
    height: 50px;
    -o-object-fit: cover;
    object-fit: cover;
  }

  /* mobile toggle bar */

  .high_div {
    display: grid;
    grid-template-columns: 1fr 1rem 1fr;
    gap: 2rem 1rem;
    justify-items: center;
  }

  /* .line2 {
    width: 50rem;
    max-width: 80%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.36);
  } */

  .residence-content .residence-count {
    font-size: 5vw;
    transition: all 0.5s ease;
  }

  .residence-content .residence-subtitle {
    font-size: 1.75vw;
    transition: all 0.5s ease;
  }

  .section-heading .section-desc {
    text-align: center;
  }
}

@media only screen and (max-width: 576px) {
  .navbar-container {
    padding: 1rem;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }

  .right_music {
    top: 1%;
    width: 7%;
  }

  .left_music {
    top: 1%;
    width: 7%;
  }

  .over_btn a {
    font-size: 10px;
    padding: 6px 12px;
  }

  .high_box img {
    width: 45px !important;
    height: 45px;
    object-fit: contain;
  }

  .section-heading p {
    font-size: 15px;
  }

  .config-content {
    width: 90%;
    margin: auto;
  }

  .gallery-content {
    width: 90%;
    margin: auto;
  }

  .config-swiper-content .config-txt {
    gap: 0.75rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .config-swiper-content .config-txt span {
    font-size: 0.85rem;
    padding: 0.4rem 0.5rem;
  }

  .config-swiper-container .swiper-button img {
    width: 50%;
  }

  .config-swiper-container .swiper-button.swiper-button-next-1 {
    right: -60px;
  }

  .flower {
    width: 15%;
  }

  .gallery-swiper-container .swiper-nav .swiper-button {
    width: 45px;
    height: 45px;
  }

  .contact-logo {
    width: 14rem;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  .contact-title {
    font-size: 1.15rem;
    margin: 3rem auto auto auto;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  .footer-qr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2rem 1fr 2rem 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .qr-content .qr-txt {
    font-size: 0.85rem;
  }

  /* mobile toggle bar */

  .btn-middle {
    width: 70px;
    height: 70px;
  }

  .mobile-fixed-content .btn-fixed {
    /* width: auto; */
    top: -7px;
    font-size: 0.9rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
  }

  .btn-middle-content {
    top: 16px;
  }

  .residence-content .residence-count {
    font-size: 7vw;
    transition: all 0.5s ease;
  }

  .residence-content .residence-subtitle {
    font-size: 2.5vw;
    transition: all 0.5s ease;
  }

  .line2 {
    height: 15vw;
  }

  section.section-residence {
    padding: 15vw 0;
  }

  /* mobile toggle bar */
}

@media only screen and (max-width: 450px) {
  .btn-middle {
    width: 55px;
    height: 55px;
  }

  .mobile-fixed-content .btn-fixed {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    top: -7px;
    font-size: 0.825rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.4rem 0.5rem;
  }

  .mobile-fixed-content {
    width: 88%;
  }

  .btn-middle img {
    width: 32px;
    height: 32px;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .btn-middle-content {
    top: 16px;
  }

  .btn-fixed span.icon {
    width: 18px;
    height: 18px;
  }

  .btn-fixed span.icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
  }
}

@media only screen and (max-width: 350px) {
  .footer-qr {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1rem 1fr 1rem 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .qr-content .qr-img {
    width: 60px;
    height: 60px;
  }

  .qr-content .qr-txt {
    font-size: 0.785rem;
  }

  .mobile-fixed-content .btn-fixed {
    font-size: 0.725rem;
  }

  .btn-fixed span.icon {
    width: 15px;
    height: 15px;
  }
}