/* Image Sizing Fix */
img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: 3000px 1500px
}

/* Floating Sticky Bar - Minimalist */
.floating-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    /* Hidden by default */
    background: rgba(18, 18, 20, 0.95);
    /* Deep dark background */
    backdrop-filter: blur(12px);
    /* Glassmorphism */
    color: white;
    padding: 10px 12px 10px 24px;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 99999;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    width: auto;
    max-width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-bar.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.floating-bar-text {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #e0e0e0;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.floating-bar-button {
    background-color: #3860ff;
    /* Blue accent */
    color: white !important;
    text-decoration: none !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 96, 255, 0.3);
}

.floating-bar-button:hover {
    background-color: #2b4bcf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 96, 255, 0.4);
}

@media (max-width: 768px) {
    .floating-bar {
        bottom: 20px;
        width: 92%;
        padding: 12px 16px;
        border-radius: 16px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .floating-bar-text {
        font-size: 14px;
        white-space: normal;
    }

    .floating-bar-button {
        width: 100%;
        display: block;
        text-align: center;
    }
}


/* Custom Carousel */
.custom-carousel {
    position: relative;
    width: 100%;
    max-width: 735px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    display: block;
    height: auto;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-control {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    pointer-events: auto;
    font-size: 18px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    margin-left: 10px;
}

.next-btn {
    margin-right: 10px;
}

/* Elementor Lazy Load Styles */
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
}

@media screen and (max-height: 1024px) {

    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}

@media screen and (max-height: 640px) {

    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}