/* Social Media Icons - Universal Fix for Visibility */

/* Ensure Font Awesome brand icons are loaded and visible */
.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

/* LinkedIn Icon Fixes */
.fa-linkedin-in:before, 
.fab.fa-linkedin-in:before {
    content: "\f0e1" !important;
}

.fa-linkedin:before, 
.fab.fa-linkedin:before {
    content: "\f08c" !important;
}

/* Only LinkedIn Icon Supported */

/* Footer Social Icons - Enhanced Visibility */
.foundrfuse-footer-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    margin: 0 4px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 10 !important;
}

.foundrfuse-footer-social-icon:hover {
    background: #007bff !important;
    color: white !important;
    text-decoration: none !important;
    border-color: #007bff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
}

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

/* Profile Social Links */
.btn-outline-primary:has(.fa-linkedin-in),
.btn-outline-success:has(.fa-globe) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .foundrfuse-footer-social-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
        margin: 0 2px !important;
    }
}

@media (max-width: 480px) {
    .foundrfuse-footer-social-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
        margin: 0 1px !important;
    }
}

/* Fallback for missing icons */
.fa-linkedin-in:not(:before),
.fa-linkedin:not(:before) {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"/></svg>') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 1em !important;
    height: 1em !important;
    display: inline-block !important;
}

/* Force visibility for LinkedIn and website links */
.social-icon, 
.footer-social-icon, 
.profile-social-link,
[class*="social"],
[href*="linkedin"] {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-flex !important;
}

/* Ensure icons are not hidden by any parent styles */
.foundrfuse-footer-social-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Bootstrap Icons fallback for LinkedIn */
.bi-linkedin:before {
    content: "\f472" !important;
}

/* Ensure all brand icons are properly loaded */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-brands-400.woff2') format('woff2');
}