/* ===== Custom Styles for Shanto Fuhad Portfolio ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0f1a; }
::-webkit-scrollbar-thumb { background: #00e68a; border-radius: 8px; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Body base */
body {
  font-family: 'Inter', sans-serif;
  background: #0a0f1a;
  color: #e0e0e0;
  overflow-x: hidden;
}

/* Glow ring around profile */
.profile-glow {
  position: relative;
}
.profile-glow::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #00e68a, #00b377, #00e68a33, #00e68a);
  animation: spin 6s linear infinite;
  z-index: 0;
}
.profile-glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #0d1520;
  z-index: 1;
}
.profile-glow img {
  position: relative;
  z-index: 2;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

/* Fade in up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Pulse dot */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 138, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0, 230, 138, 0); }
}
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }

/* Card hover lift */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 230, 138, 0.12);
}

/* Counter animation */
@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* Nav active style */
.nav-active {
  background: #00e68a;
  color: #0a0f1a !important;
  border-radius: 9999px;
  padding: 6px 16px;
  font-weight: 600;
}

/* Social orbit animation for contact section */
@keyframes orbit1 { 0% { transform: rotate(0deg) translateX(100px) rotate(0deg); } 100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); } }
@keyframes orbit2 { 0% { transform: rotate(90deg) translateX(100px) rotate(-90deg); } 100% { transform: rotate(450deg) translateX(100px) rotate(-450deg); } }
@keyframes orbit3 { 0% { transform: rotate(180deg) translateX(100px) rotate(-180deg); } 100% { transform: rotate(540deg) translateX(100px) rotate(-540deg); } }
@keyframes orbit4 { 0% { transform: rotate(270deg) translateX(100px) rotate(-270deg); } 100% { transform: rotate(630deg) translateX(100px) rotate(-630deg); } }

.orbit-1 { animation: orbit1 12s linear infinite; }
.orbit-2 { animation: orbit2 12s linear infinite; }
.orbit-3 { animation: orbit3 12s linear infinite; }
.orbit-4 { animation: orbit4 12s linear infinite; }

/* Status badge */
.status-completed { background: rgba(0, 230, 138, 0.15); color: #00e68a; border: 1px solid rgba(0, 230, 138, 0.3); }
.status-progress { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-upcoming { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #00e68a, #00b377);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass card */
.glass-card {
  background: rgba(13, 21, 32, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Background grid pattern */
.bg-grid {
  background-image: radial-gradient(rgba(0, 230, 138, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Back to top button */
#backToTop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}
