#banner {
    background: linear-gradient(90deg, #FFF2C9 0%, #FFFFFF 100%);
    .w-50 {
        justify-self: center;
    }
    hr {
        color: #D4AF37;
        height: 3px;
        background: #D4AF37;
        border-radius: 9px;
        opacity: 0.8;
        width: 21%;
        justify-self: center;
        margin: 0 0 1rem 0;
    }
    @media (max-width: 1025px) {
        .w-50 {
            width: 90%!important;
        }
        hr {
            width: 30%;
        }
    }
}
.vd_crd {
    height: 300px;
    justify-content: center;
}
.vd_crd .card {
    width: 50px;
    height: 50px;
    align-self: center;
    align-items: center;
}
.grand_care_blu {
        background: #FFF2C9;
        width: 40%;
        justify-self: center;
        .card {
            cursor: pointer;
        }
    }
    .grand_care_blu .active {
        background: #D4AF37!important;
        color: black!important;
        font-weight: 600;
    }
  .gallery {
    column-count: 3;
    column-gap: 15px;
  }
  @media (max-width: 992px) {
    .gallery { column-count: 2; }
  }
  @media (max-width: 576px) {
    .gallery { column-count: 1; }
  }
  .gallery-item {
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .gallery-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  .gallery-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  }



#exampleModal .owl-carousel {
    margin: 0 auto;
    /* width: 400px; */
    width: 100%;
}
#exampleModal .carousel-thumbs .current {
    border: 2px solid #639;
    box-sizing: border-box;
}
#exampleModal .carousel-thumbs .current img {
    transform-style: flat !important;
}
#exampleModal .carousel-thumbs .owl-nav {
    text-align: center;
}
#exampleModal .carousel-thumbs .owl-nav > * {
    display: inline-block;
    margin: 5px
}
#exampleModal .btm-sld {
    overflow: scroll;
}
#exampleModal .sld-img {
    width: 15%;
    height: 100px;
}
#exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content {
    height: 500px;
}
#exampleModal .content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    display: flex;
    flex-direction: column;
    justify-content: end;
    mix-blend-mode: luminosity;
    transition: 0.5s;
    text-wrap: nowrap!important;
}
h1 {
    margin-bottom: 0rem!important;
}
#bulk_img {
    position: relative;
    width: 100%;
    /* height: 100%; Adjust this as per your requirement */
    overflow: hidden;
}
#bulk_img img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    /* height: 100%; */
}
#exampleModal .content-overlay h5 {
    background: #FFFFFF80;
    backdrop-filter: blur(5px);
    margin: 0 8rem 2rem !important;
    padding: 1rem;
    border-radius: 10px;
}
#exampleModal .owl-nav {
    justify-content: space-between;
    display: flex;
}
#exampleModal .owl-nav button.owl-next, .modal .owl-nav button.owl-prev {
    background: white!important;
    height: 35px;
    width: 35px;
    border-radius: 50%;
}
#exampleModal .owl-nav button.owl-prev {
    z-index: 9;
    margin-left: -50px!important;
}
#exampleModal .owl-nav button.owl-next {
    z-index: 9;
    margin-right: -50px!important;
}
.item {
    text-align: -webkit-center!important;
}
.owl-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.owl-carousel .owl-item img {
    object-position: center;
    width: 100% !important;
    object-fit: contain;
    cursor: pointer;
}
.owl-theme .owl-nav {
    margin-top: -235px!important;
}
#carousel .image-container {
    margin-top: -50px;
}
#close_button button {
    position: absolute;
    margin-left: 1rem;
    z-index: 9;
    margin-top: -1.5rem;
    background:#5a5555a6!important;
    border: none!important;
}


.about_dync, .contact_dync, .dync, .facilities_dync, .properties_dync {
    display: none;
}
.gallery_dync {
    display: block;
    height: 400px;
    align-content: center;
}

@media (max-width: 600px){
    .gallery_dync {
        height: fit-content;
    }
    .grand_care_blu {
        width: 85%;
    }
}
@media (max-width: 1024px){
    #banner {
      height: auto !important;
      background-repeat: no-repeat !important;
      background-size: cover !important;
    }
    #exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content {
      height: 400px;
    }
    .modal {
      align-content: center;
    }
    #exampleModal .content-overlay h5 {
      margin: 0 3rem 2rem !important;
    }
}
@media (max-width: 600px){
    #banner {
      h1 {
          font-size: 30px !important;
      }
    }
    #exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content {
      height: 300px;
    }
    #exampleModal .content-overlay h5 {
    margin: 2rem !important;
    }
    #exampleModal .owl-nav button.owl-prev {
        margin-left: 0px!important;
    }
    #exampleModal .owl-nav button.owl-next {
        margin-right: 0px!important;
    }
    #exampleModal .owl-nav {
        justify-content: center!important;
    }
    .owl-theme .owl-nav {
        margin-top: 10px!important;
    }
    #close_button {
      width: 90%!important;
  }
  #close_button button {
    margin-top: -3rem;
    margin-left: 0!important;
  }
}
