.social-media-floating {
    position: fixed;
    right: 1rem;
    top: 80%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color, #007bff);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.social-icon:hover {
    transform: translateX(-5px);
    background-color: var(--secondary-color, #0056b3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .social-media-floating {
        right: 0.5rem;
        top: 85%;
        transform: translateY(-50%);
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon:hover {
        transform: translateX(-3px);
    }

    .social-icon i {
        font-size: 1.1rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .social-media-floating {
        right: 0.5rem;
        top: 85%;
        gap: 0.75rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        background-color: var(--primary-color, #007bff);
        opacity: 0.9;
    }

    .social-icon:hover {
        opacity: 1;
        transform: translateX(-2px);
    }
}
