/* Custom styles that extend Tailwind */
:root {
    --brand-50: #f0fdf4;
    --brand-600: #16a34a;
    --cream-50: #fffbf0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream-50);
    font-family: 'Nunito', sans-serif;
}

/* Smooth fade-in animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Blob animation for background */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

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

::-webkit-scrollbar-track {
    background: var(--cream-50);
}

::-webkit-scrollbar-thumb {
    background: #bbf7d0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #86efac;
}

/* Floating animation for cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Ensure high contrast for accessibility */
.text-gray-900 {
    color: #111827;
}

.text-gray-600 {
    color: #4b5563;
}
