/* Floating Social Share Buttons */
.floating-social-share {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    padding: 12px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-social-share.scrolled {
    transform: translateY(-50%) translateX(-10px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.floating-social-share .share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-social-share .share-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.floating-social-share .share-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.floating-social-share .share-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.floating-social-share .share-btn:nth-child(4) {
    animation-delay: 0.4s;
}

.floating-social-share .share-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-social-share .share-btn.facebook {
    background: #1877f2;
}

.floating-social-share .share-btn.facebook:hover {
    background: #0d5dbf;
}

.floating-social-share .share-btn.linkedin {
    background: #0077b5;
}

.floating-social-share .share-btn.linkedin:hover {
    background: #005582;
}

.floating-social-share .share-btn.whatsapp {
    background: #25d366;
}

.floating-social-share .share-btn.whatsapp:hover {
    background: #1da851;
}

.floating-social-share .share-btn.twitter {
    background: #000000;
}

.floating-social-share .share-btn.twitter:hover {
    background: #333333;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .floating-social-share {
        right: 15px;
        padding: 10px 8px;
    }
    
    .floating-social-share .share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .floating-social-share {
        right: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        padding: 10px 15px;
        border-radius: 50px;
    }
    
    .floating-social-share.scrolled {
        transform: translateY(-5px);
    }
    
    .floating-social-share .share-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
        transform: translateY(100px);
    }
    
    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
