/* Fallback icons using CSS and emoji/symbols for better compatibility */

/* Reset Font Awesome if it fails to load */
i[class*="fa-"]::before {
  font-family: inherit;
}

/* General icon styling */
i[class*="fa-"] {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  width: 1em;
  text-align: center;
}

/* Solid Icons (fas) */
.fas.fa-rocket::before { content: "🚀"; }
.fas.fa-eye::before { content: "👁"; }
.fas.fa-paper-plane::before { content: "✈️"; }
.fas.fa-moon::before { content: "🌙"; }
.fas.fa-sun::before { content: "☀️"; }
.fas.fa-code::before { content: "💻"; }
.fas.fa-users::before { content: "👥"; }
.fas.fa-shield-alt::before { content: "🛡️"; }
.fas.fa-mobile-alt::before, .fas.fa-mobile::before { content: "📱"; }
.fas.fa-globe::before { content: "🌐"; }
.fas.fa-server::before { content: "🖥️"; }
.fas.fa-shopping-cart::before { content: "🛒"; }
.fas.fa-chart-line::before { content: "📈"; }
.fas.fa-map-marker-alt::before { content: "📍"; }
.fas.fa-phone::before { content: "📞"; }
.fas.fa-envelope::before { content: "✉️"; }

/* Brand Icons (fab) */
.fab.fa-whatsapp::before { content: "💬"; color: #25D366; }
.fab.fa-x-twitter::before { content: "🐦"; color: #1DA1F2; }
.fab.fa-linkedin-in::before { content: "💼"; color: #0077B5; }
.fab.fa-instagram::before { content: "📷"; color: #E4405F; }
.fab.fa-github::before { content: "🔗"; color: #333; }

/* Ensure proper spacing for icons */
.btn i[class*="fa-"] {
  margin-right: 0.5em;
  flex-shrink: 0;
}

/* Dark theme adjustments for brand icons */
[data-theme="dark"] .fab.fa-github::before {
  color: #f0f6fc;
}

/* Hover effects for social media icons */
.social-link:hover .fab.fa-whatsapp::before {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.social-link:hover .fab.fa-x-twitter::before,
.social-link:hover .fab.fa-linkedin-in::before,
.social-link:hover .fab.fa-instagram::before,
.social-link:hover .fab.fa-github::before {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}