/* Custom styles that extend Tailwind */

/* Smooth scroll behavior is handled by Tailwind's scroll-smooth class on html */

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #0f4c5c;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #092e36;
}

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

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

/* Staggered animation delays */
.card-float:nth-child(2) {
    animation-delay: 1s;
}
.card-float:nth-child(3) {
    animation-delay: 2s;
}

/* Fade in animation for sections */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Navbar transition */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-transparent {
    background-color: transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
