html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

/* --- NEW: Gradient Text Animation --- */
.animated-gradient-text {
    background: linear-gradient(to right, #DC2626, #4B5563, #DC2626);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 5s linear infinite;
}

@keyframes gradient-flow {
    to {
        background-position: 200% center;
    }
}

/* --- NEW: Staggered Animation on Scroll --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for staggered items */
.fade-in-section.is-visible .stagger-item:nth-child(1) { transition-delay: 100ms; }
.fade-in-section.is-visible .stagger-item:nth-child(2) { transition-delay: 200ms; }
.fade-in-section.is-visible .stagger-item:nth-child(3) { transition-delay: 300ms; }

/* --- NEW: Interactive Glow Effect --- */
.interactive-glow {
    position: relative;
    transition: color 0.3s ease-in-out;
}

.interactive-glow::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #EF4444;
    transition: width 0.3s ease-in-out;
}

.interactive-glow:hover::before {
    width: 100%;
}

/* A subtle lift effect on hover for cards */
.transition-transform {
    transition: transform 0.3s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-5px);
}
