/* Osypus Custom Styles */
/* Supplement TailwindCSS with custom animations and utilities */

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #0B5FA5, #43B649);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero section subtle animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Card hover lift */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
}

/* Form focus ring override for accent color */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Dark mode transition */
body, header, footer, main {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mobile menu animation */
#mobileMenu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0F7FC;
}
::-webkit-scrollbar-thumb {
    background: #0B5FA5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #084A82;
}

.dark ::-webkit-scrollbar-track {
    background: #0C1B2E;
}

/* Loading spinner for form */
.spinner {
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
