/* Custom styles and animations */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-display {
    font-family: 'Outfit', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #0A192F;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #34D399;
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

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

.float-3 {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Hover effects for cards */
.group:hover .group-hover\\:rotate-12 {
    transform: rotate(12deg);
}

/* Gradient text utility */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Backdrop blur utility */
.backdrop-blur-md {
    backdrop-blur: 12px;
}

/* Custom focus styles */
*:focus-visible {
    outline: 2px solid #34D399;
    outline-offset: 2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
