/* Footer Social Icons Overlap Fix */

/* Reset and fix footer social icons positioning */
.foundrfuse-footer-social-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.foundrfuse-footer-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.foundrfuse-footer-social-icon:hover {
    background: #0077b5 !important;
    color: white !important;
    text-decoration: none !important;
    border-color: #0077b5 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 119, 181, 0.4) !important;
}

.foundrfuse-footer-social-icon i {
    font-size: 1.1rem !important;
    line-height: 1 !important;
    color: inherit !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 3 !important;
}

/* Ensure LinkedIn icon is properly displayed */
.foundrfuse-footer-social-icon .fab.fa-linkedin-in {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.foundrfuse-footer-social-icon .fab.fa-linkedin-in:before {
    content: "\f0e1" !important;
}

/* Fix any potential overlap with other footer elements */
.footer .contact-info {
    position: relative !important;
    z-index: 1 !important;
}

.footer .contact-info p {
    margin-bottom: 0.75rem !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .foundrfuse-footer-social-wrapper {
        gap: 0.5rem !important;
        justify-content: center !important;
        margin-top: 1rem !important;
    }
    
    .foundrfuse-footer-social-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .foundrfuse-footer-social-icon i {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .foundrfuse-footer-social-wrapper {
        gap: 0.4rem !important;
    }
    
    .foundrfuse-footer-social-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
    
    .foundrfuse-footer-social-icon i {
        font-size: 0.9rem !important;
    }
}

/* Prevent any transform or animation conflicts */
.foundrfuse-footer-social-icon * {
    transform: none !important;
    animation: none !important;
}

.foundrfuse-footer-social-icon:not(:hover) {
    transform: none !important;
}

/* Clear any floating issues */
.foundrfuse-footer-social-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Ensure proper stacking context */
.footer {
    position: relative !important;
    z-index: 0 !important;
}

.footer .container {
    position: relative !important;
    z-index: 1 !important;
}