/* Font Awesome Icons - Local CSS */
/* Core Font Awesome Icons Used in the Site */

.fa,
.fas,
.far,
.fal,
.fad,
.fab,
.fak,
.fa-solid,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone,
.fa-brands,
.fa-kit {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

/* Icon definitions - Using Unicode symbols as fallbacks */
.fa-moon::before { content: "🌙"; }
.fa-sun::before { content: "☀️"; }
.fa-robot::before { content: "🤖"; }
.fa-envelope::before { content: "✉️"; }
.fa-map-marker-alt::before { content: "📍"; }
.fa-building::before { content: "🏢"; }
.fa-clock::before { content: "🕐"; }
.fa-chevron-up::before { content: "▲"; }
.fa-rocket::before { content: "🚀"; }
.fa-shield-alt::before { content: "🛡️"; }
.fa-chart-line::before { content: "📈"; }
.fa-brain::before { content: "🧠"; }
.fa-code::before { content: "💻"; }
.fa-database::before { content: "🗄️"; }
.fa-cloud::before { content: "☁️"; }

/* Social Media Icons - Now using inline SVG instead of FontAwesome */
/* Keeping essential FontAwesome classes for other icons */

/* Force visibility for social media icons with high specificity */
.nav-social-link i.fab.fa-github,
.nav-social-link i.fab.fa-linkedin,
.nav-social-link i.fab.fa-orcid,
.social-link i.fab.fa-github,
.social-link i.fab.fa-linkedin,
.social-link i.fab.fa-orcid {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-style: normal !important;
    font-weight: bold !important;
    text-rendering: auto !important;
    display: inline-block !important;
    color: currentColor !important;
    background: none !important;
    text-indent: 0 !important;
}

/* Navigation social icon sizing */
.nav-social-link i.fab {
    font-size: 1.2rem !important;
}

/* Social link icon sizing */
.social-link i.fab {
    font-size: 1.5rem !important;
}

/* Ensure text-based fallbacks work properly */
.fa-moon,
.fa-sun,
.fa-robot,
.fa-envelope,
.fa-map-marker-alt,
.fa-building,
.fa-clock,
.fa-chevron-up,
.fa-rocket,
.fa-shield-alt,
.fa-chart-line,
.fa-brain,
.fa-code,
.fa-database,
.fa-cloud {
    font-style: normal;
    font-size: 1em;
    display: inline-block;
    width: auto;
    height: auto;
    text-indent: 0;
    background: none;
}

/* Responsive icon sizing */
@media (max-width: 768px) {
    .fa,
    .fas,
    .fab {
        font-size: 0.9em;
    }
}

/* Dark theme adjustments */
[data-theme="dark"] .fa-github,
[data-theme="dark"] .fa-linkedin,
[data-theme="dark"] .fa-orcid {
    filter: invert(1);
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .fa,
    .fas,
    .fab {
        font-weight: bold;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fa,
    .fas,
    .fab {
        transition: none !important;
    }
}