/* ---------------------------
   Custom Global Styles
----------------------------*/

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* Smooth fade-in animation for reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.7s ease;
}

.reveal.opacity-100 {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top Button Hover */
#backToTop:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Typing cursor style */
.typed-cursor {
  font-weight: bold;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* Optional: Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #3f51b5;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Button glow effect (for resume/contact CTA) */
.button-glow {
  box-shadow: 0 0 10px rgba(63, 81, 181, 0.5);
  transition: box-shadow 0.3s ease;
}

.button-glow:hover {
  box-shadow: 0 0 15px rgba(63, 81, 181, 0.8);
}
