@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-bg {
    background: linear-gradient(135deg, #f8f9ff, #f0f4f8, #f8f9ff);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px 0 rgba(0, 30, 64, 0.04);
}

.glass-surface {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(0, 30, 64, 0.05);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 30, 64, 0.08);
}

/* Subtle scale (zoom) effect for small badges */
.hover-scale {
    transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.24s ease;
    transform-origin: center center;
}
.hover-scale:hover {
    transform: scale(1.06);
    box-shadow: 0 22px 44px rgba(0, 30, 64, 0.09);
}

.btn-gradient {
    background: #001e40;
    transition: all 0.3s ease;
}

/* Ensure consistent pill shape and alignment across pages */
.btn-gradient {
    border-radius: 0.75rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
    padding-top: calc(0.5rem + 5px) !important;
    padding-bottom: calc(0.5rem + 5px) !important;
}

.btn-gradient:hover {
    background: #003366;
}

.animate-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
