html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

/* Remove click/focus outlines and box-shadows globally */
*:focus,
*:active,
*:focus-visible,
a:focus,
a:active,
a:focus-visible,
button:focus,
button:active,
button:focus-visible,
.btn:focus,
.btn:active,
.btn:focus-visible,
.btn-square:focus,
.btn-square:active {
    outline: none !important;
    box-shadow: none !important;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** M, P, Fonts ***/
.mt-6 {
    margin-top: 6rem;
}

.mb-6 {
    margin-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.pt-6 {
    padding-top: 6rem;
}

.pb-6 {
    padding-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 991.98px) {
    .mt-6 {
        margin-top: 3rem;
    }

    .mb-6 {
        margin-bottom: 3rem;
    }

    .my-6 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .pt-6 {
        padding-top: 3rem;
    }

    .pb-6 {
        padding-bottom: 3rem;
    }

    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


/*** Button Refinements ***/
.btn.btn-dark,
.btn.btn-primary {
    position: relative;
    font-family: 'Yeseva One', serif;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    font-size: 14px;
    padding: 9px 20px;
    transition: all .3s ease-in-out;
}

.btn.py-3.px-4 {
    padding: 11px 22px !important;
    font-size: 15px !important;
}

.btn.py-3.px-5 {
    padding: 12px 26px !important;
    font-size: 15px !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    transition: all .4s ease;
    background: rgba(14, 42, 74, .45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.position-fixed.bg-dark {
    background: rgba(14, 42, 74, .92) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.navbar .navbar-nav .nav-link {
    margin-right: 22px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: .3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        position: absolute;
        right: 15px;
        top: 100%;
        width: 220px !important;
        max-width: 240px;
        background: rgba(14, 42, 74, .95) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        margin-top: 10px;
        z-index: 1000;
    }

    .navbar .navbar-nav {
        margin-top: 0;
        border-top: none;
        padding: 15px !important;
    }

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 12px !important;
        text-align: right;
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 18px 0;
    }
}

.navbar .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 42, 74, .5);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 1200px) {
    .carousel-caption .display-1 {
        font-size: 6rem;
    }
}

@media (max-width: 992px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 700px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/*** Fact ***/
.fact-counter {
    background: linear-gradient(rgba(14, 42, 74, .5), rgba(14, 42, 74, .5)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Room ***/
.room-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
    -webkit-tap-highlight-color: transparent;
}

.room-item.touch-active {
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.room-item .room-detail img {
    transition: .5s;
}

.room-item.touch-active .room-detail img {
    transform: scale(1.15);
}

.room-item .room-detail .position-absolute {
    background: rgba(14, 42, 74, .5);
}


/*** Service ***/
.service-item {
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
    -webkit-tap-highlight-color: transparent;
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-primary);
    border-radius: 4px;
    z-index: 1;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item.touch-active::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 3;
}

.service-item.touch-active * {
    color: #FFFFFF !important;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Blog ***/
.blog-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
    -webkit-tap-highlight-color: transparent;
}

.blog-item.touch-active {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

/*** Desktop Mouse Hover Only ***/
@media (hover: hover) and (pointer: fine) {
    .room-item:hover {
        box-shadow: 0 0 30px rgba(0, 0, 0, .15);
    }

    .room-item:hover .room-detail img {
        transform: scale(1.15);
    }

    .service-item:hover::after {
        width: 0;
        left: auto;
        right: 0;
    }

    .service-item:hover * {
        color: #FFFFFF !important;
    }

    .blog-item:hover {
        box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }
}

.blog-item .blog-img {
    position: relative;
    margin-bottom: 3.5rem;
}

.blog-item .blog-meta {
    position: absolute;
    left: 0;
    bottom: -35px;
    width: 100%;
    height: 70px;
    z-index: 1;
}


/*** Gallery ***/
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.touch-active img {
    transform: scale(1.1);
}


/*** Contact ***/
@media (max-width: 991.98px) {
    #contact .contact-text {
        padding-bottom: 1.5rem !important;
    }

    #contact {
        padding-bottom: 3.5rem !important;
    }

    #contact .col-lg-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #contact .col-lg-4 .position-relative {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
}

@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--bs-primary);
}

.footer .copyright a:hover {
    color: var(--bs-light);
}