@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #84cc16;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a3e635;
}

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

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section transitions */
section {
    transition: all 0.3s ease;
}

/* Custom underline for links */
.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #84cc16;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Custom shadow for cards */
.custom-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Hover effect for portfolio items */
.portfolio-item {
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #84cc16 0%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Pulse animation for CTA */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(132, 204, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-height {
        height: 80vh;
    }
}