/* Custom styles beyond Tailwind */

/* Smooth focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

/* Button hover effects */
a:hover, button:hover {
    transition: all 0.3s ease;
}

/* Selection color */
::selection {
    background-color: #86efac;
    color: #102a43;
}

/* Body background gradient subtle */
body {
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

/* Navbar active state */
nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.1);
}

/* Card hover glow */
.group:hover .group-hover\:bg-mint-400 {
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

/* Image hover zoom container */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
