#gallery {
    color: #4285F4!important;
    font-weight: 800!important;
}
/* #exampleModal {
    --bs-modal-width: 550px!important;
} */
.header .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#glry .main-crd {
    box-shadow: 0px 3px 20px #4285F426;
    transition: 0.4s ease !important;
}
.third-img .img1 {
    position: absolute;
    width: 30%;
    opacity: 1;
    transition: 0.9s;
}

.third-img:hover .img1 {
    margin-left: 6rem;
    margin-top: 2rem;
    transform: rotate(10deg);
}
.sec-img .img2 {
    position: absolute;
    width: 30%;
    opacity: 1;
    transition: 0.9s;
}
.sec-img:hover .img2 {
    margin-left: 5rem;
    margin-top: 1rem;
    transform: rotate(5deg);
}
#glry .main-img {
    box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
}
#glry .content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    background-image: linear-gradient(to bottom, #00000000, #00000000, #00000000, #00000000, #807f7f);
    /* background-image: linear-gradient(to bottom, #ffffff, #ffffff, #ffffff, #ffffff, #807f7f); */
    display: flex;
    flex-direction: column;
    justify-content: end;
    /* align-items: center; */
    /* text-align: center; */
    padding: 0.5rem;
    /* mix-blend-mode: darken; */
}
#glry .content-overlay button {
    align-self: self-start;
    font-size: smaller;
}
#glry .content-overlay button a {
    color: white!important;
}
#glry .card .view-more {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s, max-height 0.8s;
}

#glry .card:hover .view-more {
    opacity: 1;
    max-height: 100px; /* Adjust the value to fit your content */
}
#glry .img3 {
    height: 450px;
}

#glry .content-overlay button img,svg {
    width: 10%;
}
#glry .content-overlay h1, .content-overlay button {
    color: white;
}

#carousel .dyn-font, #carousel .card-body p {
    font-family: "Futura MdCn BT Medium";
}
#carousel .card {
    box-shadow: 0px 3px 25px #4285F426;
    border: 1px solid #BFD6FB;
}
#carousel .card:hover, #detail-cards button:hover {
    transform: scale(1.01);
}
#carousel .card p {
    text-indent: 1rem;
}
#carousel .owl-carousel .owl-item img {
    display: inline!important;
    width: 75%!important;
    height: 180px;
}
/* #carousel .custom-nav button {
    border: none;
    background: none;
} */
#carousel .owl-nav {
    text-align: center!important;
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    /* padding: 0.5rem!important; */
    border: 1px solid #008ddf!important;
    border-radius: 50%!important;
    margin: 5px!important;
    padding: 0.5rem 1.1rem!important;
    height: 37px!important;
}
.owl-carousel .owl-nav button.owl-next span, .owl-carousel .owl-nav button.owl-prev span {
    margin: 1rem!important;
}
#about-contact .p-5 {
    padding: 0 3rem 3rem 3rem!important;
}


.header .title {
    z-index: 9;
    position: relative;
}
#detail-cards button {
    background: none!important;
    border: none!important;
    width: 100%;
    transition: 0.3s;
}
#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 h1 {
    background-image: linear-gradient(to left, #00000000, #00000000, #00000000, #707070, #282828);
    padding: 1rem;
}
#exampleModal .owl-nav {
    justify-content: space-between;
    display: flex;
}
#exampleModal .owl-nav button.owl-next, .modal .owl-nav button.owl-prev {
    background: white!important;
}
#exampleModal .owl-nav button.owl-prev {
    z-index: 9;
    margin-left: -50px!important;
    /* margin-top: -370px!important; */
    /* margin-bottom: 269px!important; */
}
#exampleModal .owl-nav button.owl-next {
    z-index: 9;
    margin-right: -50px!important;
    /* margin-top: -370px!important; */
    /* margin-bottom: 269px!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;
}
.owl-theme .owl-nav {
    margin-top: -235px!important;
}
#carousel .image-container {
    margin-top: -50px;
}
.bulk-image {
    height: 350px;
}
.foot {
    z-index: 1;
    position: relative;
}
.btn-warning {
    --bs-btn-hover-color: #fff!important;
}
#close_button button {
    position: absolute;
    margin-left: 1rem;
    z-index: 9;
    margin-top: -1.5rem;
    background: none!important;
    border: none!important;
}
#close_button .btn-close {
    padding: 0.35em 0.35em!important;
    background: #f6f7f8 var(--bs-btn-close-bg) center/0.5em auto no-repeat!important;
}
@media (min-width: 1900px) and (max-width: 2000px){
    .header {
        height: 700px!important;
    }
    .essential-background::after {
        margin-top: 32rem!important;
        margin-bottom: -9px!important;
    }
    .third-img:hover .img1 {
        width: 32.5%;
        margin-left: 8rem;
        margin-top: 1rem;
    }
    .third-img:hover .img2 {
        width: 32%;
        margin-left: 7.5rem;
        margin-top: 1rem;
    }
    #glry .img3 {
        height: 650px;
    }    
    #exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content {
        height: 900px!important;
    }
    #exampleModal {
        --bs-modal-width: 900px!important;
    }
    .bulk-image {
        height: 450px;
    }
    .owl-theme .owl-nav {
        margin-top: -437px!important;
    }
    #exampleModal .owl-nav button.owl-prev {
        margin-left: -100px!important;
    }
    #exampleModal .owl-nav button.owl-next {
        margin-right: -100px!important;
    }
}
@media (min-width: 1700px) and (max-width: 1900px){
    #glry .third-img:hover .img1 {
        margin-left: 11rem!important;
        width: 33%;
        margin-top: 3rem;
    }
    #glry .third-img:hover .img2 {
        margin-left: 13rem!important;
        margin-top: 2rem;
    }
    #glry .img3 {
        height: 600px!important;
    }
    #exampleModal {
        --bs-modal-width: 800px!important;
    }
    .glry-dtl .header {
        height: 600px!important;
    }
    #exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content {
        height: 800px!important;
    } 
    .bulk-image {
        height: 430px;
    }
    .owl-theme .owl-nav {
        margin-top: -437px!important;
    }
    #exampleModal .owl-nav button.owl-prev {
        margin-left: -100px!important;
    }
    #exampleModal .owl-nav button.owl-next {
        margin-right: -100px!important;
    }
}
@media (min-width: 1400px) and (max-width: 1567px){
    #glry .third-img:hover .img1 {
        margin-left: 11rem!important;
    }
    #glry .third-img:hover .img2 {
        margin-left: 9rem!important;
    }
    .third-img:hover .img1, .sec-img:hover .img2 {
        margin-top: 0.9rem!important;
    }
    .third-img .img1 {
        width: 29%!important;
    }
    .header .container-fluid {
        height: 100%;
        display: flex;
        align-items: end;
        justify-content: center;
        padding-bottom: 10rem;
    }
    .header {
        height: 580px;
    }
    #exampleModal {
        --bs-modal-width: 600px!important;
    }
    #exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content {
        height: 600px!important;
    }
    .owl-theme .owl-nav {
        margin-top: -379px!important;
    }
}
@media (min-width: 900px) and (max-width: 990px){
    .header {
        height: 330px!important;
        background-repeat: no-repeat!important;
        background-size: contain!important;
    }
    #glry .third-img:hover .img1 {
        margin-left: 7rem;
    }
    #glry .img3 {
        height: 350px;
    }
    #glry .third-img:hover .img2 {
        margin-left: 6.6rem;
    }
    .essential-background::after {
        margin-top: 14rem!important;
        margin-bottom: -4px!important;
    }
    .header h1 {
        font-size: 2rem!important;
        margin-top: 3rem!important;
    }
    #detail-cards .p-4 {
        padding: 0rem!important;
    }
    #detail-cards .p-5 {
        padding: 2rem!important;
    }
    #exampleModal .owl-nav button.owl-prev {
        margin-left: -40px!important;
    }
    #exampleModal .owl-nav button.owl-next {
        margin-right: -40px!important;
    }
    #close_button button {
        margin-left: 0rem!important;
    }
}
@media (min-width: 700px) and (max-width: 900px){
    .header {
       height: 350px!important;
        background-size: contain!important;
        margin-top: 3rem;
    }
    #wave-image {
        height: 115px;
        margin-top: -75px;    
    }
    .third-img:hover .img1 {
        margin-left: 5rem;
        margin-top: 1rem;
    }
    .third-img:hover .img2 {
        margin-left: 4.4rem;
    }
    #glry .img3 {
        height: 250px!important;
    }
    .essential-background::after {
        margin-top: 14rem!important;
        margin-bottom: -4px!important;
    }
    .header h1 {
        font-size: 2rem!important;
        margin-top: 3rem!important;
        color: white!important;
    }
    #exampleModal .owl-nav button.owl-prev {
        margin-left: 10px!important;
    }
    #exampleModal .owl-nav button.owl-next {
        margin-right: 10px!important;
    }
    #detail-cards .p-4 {
        padding: 0rem!important;
    }
    #detail-cards .p-5 {
        padding: 2rem!important;
    }
    .bulk-image {
        height: 230px;
    }
    #close_button button {
        margin-left: 0rem!important;
    }
}
@media (max-width: 600px){
    #close_button button {
        margin-left: -1.5rem!important;
        margin-top: -2rem!important;
    }
    #carousel .p-5 {
        padding: 1rem!important;
    }
    #wave-image {
        height: 62px!important;
        margin-top: -45px!important;
    }
    .third-img:hover .img2 {
        width: 50%;
        margin-left: 6.5rem;
        margin-top: 0.5rem;
    }
    .third-img:hover .img1 {
        width: 50%;
        margin-left: 7rem;
        margin-top: 2rem;
    }
    #glry .img3 {
        height: 250px;
    }
        
    #glry h1 {
        font-size: 16px!important;
    }
    #glry .p-5 {
        padding: 1rem 3rem!important;
    }
    .header {
        height: 150px!important;
        background: center;
        margin-top: 3rem;
    }
    .bulk-image {
        height: 300px;
    }
    .header h1 {
        font-size: 1.5rem!important;
    }
    .glry-dtl h1 {
        color: white!important;
    }
    #detail-cards .p-5 {
        padding: 1rem!important;
    }
    #detail-cards .p-4 {
        padding: 0rem!important;
    }
    #exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content, #exampleModal .owl-carousel .owl-item img {
        width: 100%!important;
        height: 300px!important;
    }
    /* #exampleModal .owl-carousel .owl-item img, #exampleModal .modal-content {
        height: 100%!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;
    }
    #exampleModal .sld-img {
        width: 15%;
        height: 50px!important;
    }
    #exampleModal .owl-carousel h1 {
        font-size: 18px!important;
    }
    #exampleModal .content-overlay h1 {
        background-image: linear-gradient(to left, #00000000, #0000001f, #0000004d, #707070, #282828);
    }
    .owl-theme .owl-nav {
        margin-top: -42px!important;
    }
    #exampleModal .owl-nav button.owl-prev {
        margin-left: 100px!important;
        margin-top: 0px!important;
        margin-bottom: 0px!important;
        z-index: 99;
    }
    #exampleModal .owl-nav button.owl-next {
        margin-right: -150px!important;
        margin-top: 0px!important;
        margin-bottom: 0px!important;
        z-index: 99;
    }
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: #869791;
    color: #000!important;
}