/* Floating Action Bar (Right Center) */
.floating-widgets-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: none;
}

.floating-btn:hover {
    transform: scale(1.15) translateX(-5px);
    color: #fff;
}

.floating-btn .tooltip-text {
    position: absolute;
    right: 65px;
    background: #192324;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

/* Specific Colors */
.btn-whatsapp { background: #25D366; }
.btn-enquiry { background: #ce2b35; }
.btn-mail { background: #192324; }

/* Scroll to Top */
#scroll-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    background: #ce2b35;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(206, 43, 53, 0.2);
    border: none;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background: #192324;
    transform: translateY(-5px);
}

/* Popup Modal Customizations */
#onloadPopupModal .modal-content {
    border-radius: 30px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#onloadPopupModal .modal-header {
    background: #ce2b35;
    color: #fff;
    border: none;
    padding: 25px 30px;
}

#onloadPopupModal .btn-close {
    filter: brightness(0) invert(1);
}

#onloadPopupModal .modal-body {
    padding: 40px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-widgets-bar {
        right: 10px;
    }
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .floating-btn .tooltip-text {
        display: none;
    }
}
