/* Floating Social Media Icons */
.social-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2c5aa0, #28a745);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Platform specific hover colors */
.social-icon[data-platform="facebook"]:hover {
    background: #1877f2;
}

.social-icon[data-platform="twitter"]:hover {
    background: #1da1f2;
}

.social-icon[data-platform="youtube"]:hover {
    background: #ff0000;
}

.social-icon[data-platform="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon[data-platform="linkedin"]:hover {
    background: #0077b5;
}

/* Animation on scroll */
.social-float.animate .social-icon {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
    transform: translateX(100px);
}

.social-float.animate .social-icon:nth-child(1) {
    animation-delay: 0.1s;
}

.social-float.animate .social-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.social-float.animate .social-icon:nth-child(3) {
    animation-delay: 0.3s;
}

.social-float.animate .social-icon:nth-child(4) {
    animation-delay: 0.4s;
}

.social-float.animate .social-icon:nth-child(5) {
    animation-delay: 0.5s;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-float {
        right: 15px;
        bottom: 15px;
        gap: 8px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .social-float {
        right: 10px;
        bottom: 10px;
        gap: 6px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Hide on very small screens to avoid interference */
@media (max-width: 320px) {
    .social-float {
        display: none;
    }
}
