/* Custom styles and animations that supplement Tailwind CSS */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

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

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
    animation-delay: 2s;
}

:root {
    --brand-primary: #4ccdc4;
    --brand-dark: #3dbbb3;
    --brand-light: #72e2db;
    --accent-coral: #FF6B6B;
    --bg-light: #f8fafc;
    --surface-white: #ffffff;
    --text-main: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    scroll-behavior: smooth;
}

body {
    color: var(--text-main);
    background-color: var(--bg-light);
}

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

::-webkit-scrollbar-track {
    background: #101918;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4ccdc4;
}

/* Smooth 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;
}