/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-track {
    background: #333;
}

/* Animation for product cards */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

/* Delay animations for staggered effect */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Cart item fly animation */
@keyframes flyToCart {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: scale(0.2) translate(var(--tx), var(--ty));
        opacity: 0;
    }
}

.flying-item {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 100;
    pointer-events: none;
    animation: flyToCart 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* Button ripple effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}
.hire-me-highlight {
  color: #ff0000; /* Pure red */
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.3); /* Optional subtle glow */
}