/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}


/* Main floating container */
.quick-access {
    position: fixed;
    bottom: 110px;
    right: 22px;
    z-index: 999;
}

/* Main button */
.quick-access-btn {
    width: 55px;
    height: 55px;
    background-color: #4361ee;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.quick-access-btn:hover {
    background-color: #3a0ca3;
    transform: scale(1.1);
}

/* Sub buttons */
.sub-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: absolute;
    right: 5px;
    bottom: 5px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.5);
    z-index: 1;
}

/* WhatsApp button */
.whatsapp-btn {
    background-color: #25D366;
    bottom: 130px;
}

/* Call button */
.call-btn {
    background-color: #4361ee;
    bottom: 190px;
}

/* YouTube button */
.email-btn {
    background-color: #FF0000;
    bottom: 70px;
}

/* Tooltips */
.tooltip {
    position: absolute;
    right: 60px;
    white-space: nowrap;
    background-color: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.sub-btn:hover .tooltip {
    opacity: 1;
}

/* Active state */
.quick-access.active .sub-btn {
    opacity: 1;
    transform: scale(1);
}

/* Animation delays */
.quick-access.active .whatsapp-btn {
    transition-delay: 0.1s;
}
.quick-access.active .call-btn {
    transition-delay: 0.2s;
}
.quick-access.active .email-btn {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .quick-access {
        bottom: 110px;
        right: 20px;
    }
}