/* Preloader */

.preloader__video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.preloader__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-overlay::after {
    position: fixed;
    content: "";
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    top: 0;
    left: 0;
    z-index: 1;
}

.preloader__wrapper-counter.display-xl.color-accent.js-preloader__wrapper-counter {
    z-index: 9;
}

.preloader__wrapper-counter {
    display: none;
}


/* Header */

.logo {
    padding: 0px !important;
}

.logo__wrapper-img img {
    width: 100px;
}

.header__bar {
    padding: 10px 0px;
}

body.home .ui-element,
body.home .pswp-custom-button,
body.home .pswp-custom-caption__content,
body.home .header__col {
    color: #fff !important;
}


/* Home */

.infinite-list__image-inner {
    padding: 30px;
}

.pg-li h2.infinite-list__heading {
    font-size: 45px;
}

img.lazy.full-height.js-parallax__inner.js-ajax-transition-element__media {
    height: 100% !important;
    width: 500px !important;
    object-fit: cover;
}

.horizontal-scroll__wrapper.row.g-0.no-hs-align-items-center.js-horizontal-scroll__wrapper {
    max-width: max-content !important;
}

img.lazy.full-height.js-parallax__inner.js-ajax-transition-element__media {
    height: 100% !important;
    width: 500px !important;
    object-fit: cover;
}

.content>*:last-child:not(.soc1al) {
    font-size: 18px;
    margin-bottom: 25px !important;
}

b,
strong {
    font-weight: 700;
}

.counter-up__number.h2.color-accent {
    font-size: 70px;
}

section.section.section-content.container-fluid-gutters.pt-large {
    padding-bottom: 100px;
}

.header__widget-content.h6 {
    font-size: 15px;
}

img.lazy.of-contain.js-parallax__inner.loaded {
    object-fit: cover;
}


/* NEW CSS */


/* Fixed submenu styles with hidden scrollbar */

.menu-overlay .sub-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: var(--header-height);
    padding-bottom: var(--header-height);
    visibility: hidden;
    /* Smooth scrolling */
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}


/* Hide scrollbar for Chrome, Safari and Opera */

.menu-overlay .sub-menu::-webkit-scrollbar {
    display: none;
}


/* When submenu is visible */

.menu-overlay .sub-menu[style*="visibility: visible"] {
    visibility: visible;
}


/* Scroll indicator at bottom */

.menu-overlay .sub-menu::after {
    content: "";
    position: fixed;
    bottom: var(--header-height, 80px);
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    animation: bounce-down 1.5s ease-in-out infinite;
}


/* Show scroll indicator when submenu has scroll */

.menu-overlay .sub-menu.has-scroll::after {
    opacity: 0.6;
}


/* Hide indicator when scrolled to bottom */

.menu-overlay .sub-menu.scrolled-to-bottom::after {
    opacity: 0;
}


/* Bounce animation for scroll indicator */

@keyframes bounce-down {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }

    50% {
        transform: translateX(-50%) translateY(8px) rotate(45deg);
    }
}


/* Fade effect at bottom to indicate more content */

.menu-overlay .sub-menu::before {
    content: "";
    position: fixed;
    bottom: var(--header-height, 80px);
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-color, #f5f5f5));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}


/* Show fade effect when there's more content to scroll */

.menu-overlay .sub-menu.has-scroll::before {
    opacity: 0.8;
}


/* Hide fade when scrolled to bottom */

.menu-overlay .sub-menu.scrolled-to-bottom::before {
    opacity: 0;
}

.menu-overlay .sub-menu {
    padding: 50px 0px;
}

header.header.opened .header__col {
    color: #000 !important;
}

.new-txt p {
    font-family: var(--h3-font-family);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    letter-spacing: var(--h3-letter-spacing);
    font-size: 18px;
    color: var(--h3-color);
}

.content-width-4 .py-xxsmall:first-child {
    padding-top: 0;
}

.pricing-table__property-item.row.mb-2.g-lg-2.g-3 {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.col-auto.pricing-table__property-value.ui-element {
    text-align: center;
    line-height: normal;
}

.col-auto.pricing-table__property-name {
    margin-top: 20px;
}

.col-auto.pricing-table__property-name.plp {
    margin: 0px !important;
}

.header__bar {
    width: 100%;
}

.h-left {
    width: 25%;
    text-align: left;
    justify-content: left;
    align-items: left;
    display: flex;
}

.h-right {
    width: 25%;
    text-align: right;
    justify-content: right;
    align-items: right;
    display: flex;
}

.h-center {
    width: 50%;
    text-align: center;
}


/* .package-btn {
    padding-left: 0px;
}

.header__border-vertical {
    display: none;
} */

.pg-li h2.infinite-list__heading {
    font-size: 30px;
}


/* .infinite-list__image-item .infinite-list__image-inner a {
    min-height: 465px;
    height: auto;
} */

.preloader__skip-button-wrapper {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
}

.preloader__skip-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.preloader__skip-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: translateY(-2px);
}

.preloader__skip-button:active {
    transform: translateY(0);
}

.preloader__skip-icon {
    transition: transform 0.3s ease;
}

.preloader__skip-button:hover .preloader__skip-icon {
    transform: translateX(3px);
}


/* Make it more prominent */

@media (max-width: 768px) {
    .preloader__skip-button-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .preloader__skip-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}


/* .preloader {
    height: 100vh !important;
} */

.video-overlay {
    position: unset !important;
}

.preloader__video {
    object-position: 50% 40% !important;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* New Custom Footer */

footer.new-footer {
    width: 100%;
    z-index: 999;
}

.lvp-footer {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lvp-footer p,
.lvp-footer a {
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: normal;
    margin: 0;
    padding: 0;
    text-transform: capitalize;
    text-decoration: none;
    color: #555;
}

.lvp-footer a {
    font-weight: 500;
    color: #000;
}

.lvp-footer a:hover {
    color: brown;
}

body.home footer.new-footer {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
}

body.home .lvp-footer p {
    color: #999;
}

body.home .lvp-footer a {
    color: #fff;
}

body.home .lvp-footer a:hover {
    color: #ffc107 !important;
}

footer.new-footer {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
}