/* Custom Scrollbar, directly matching the reference theme */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #f97316, #ea580c);
  border-radius: 10px;
  border: 2px solid #f3f4f6;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ea580c, #c2410c);
  border: 2px solid #e5e7eb;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(to bottom, #c2410c, #9a3412);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #f97316 #f3f4f6;
}

/* Typing animation for hero section */
.type-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #ffffff;
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
  max-width: 100%;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #ffffff; }
}

/* Custom fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}
