/* Custom styles — extends Tailwind with fine-tuned details */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #6bc5b8;
    outline-offset: 2px;
}

/* Subtle hover lift on cards */
.reveal:hover {
    transform: translateY(-2px);
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background-color: rgba(107, 197, 184, 0.3);
    color: #0c2d6b;
}

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 20px rgba(12, 45, 107, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form input transitions */
input:focus,
textarea:focus {
    background-color: #f0faf7;
}

/* Button ripple effect on click */
button:active {
    transform: scale(0.98);
}

/* Decorative serif italic accent */
.font-serif em {
    font-style: italic;
}

/* Gradient text for hero */
.hero-gradient {
    background: linear-gradient(135deg, #0c2d6b 0%, #1a4a8a 30%, #2d7a6a 65%, #6bc5b8 100%);
}
