/**
 * Back to Top Button Styles
 */
.backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.backToTop.isVisible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    background: rgba(255, 255, 255, 0.2);
}

.progressRing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progressRingCircle {
    stroke: var(--primary-background);
    stroke-dasharray: 289.026;

    stroke-dashoffset: 289.026;
    transition: stroke-dashoffset 0.1s linear;
}

.backToTopIcon {
    position: relative;
    z-index: 1;
    color: var(--primary-background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.backToTopIcon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .backToTop {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .backToTopIcon svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   WhatsApp Button Styles
   ========================================================================== */

.whatsappButton {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsappButton:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: #20BA5C;
}

.whatsappButton svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}


.whatsappButton::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsappButton {
        bottom: 74px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .whatsappButton svg {
        width: 24px;
        height: 24px;
    }
}