/* Base */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
::selection { background: #059669; color: #fefdf8; }

/* Navbar */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.06);
}
.nav-not-scrolled { background: transparent; }
.nav-not-scrolled .font-display { color: #fefdf8; }
.nav-not-scrolled .text-emerald-700 { color: #6ee7b7; }
.nav-not-scrolled a:not(.inline-flex) { color: rgba(254, 253, 248, 0.8) !important; }
.nav-not-scrolled a:not(.inline-flex):hover { color: #fefdf8 !important; }

/* Mobile menu */
.mobile-link { transition: opacity 0.2s; }
.mobile-link:hover { opacity: 0.7; }

/* Hero stat cards */
.stat-card {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    animation: floatCard 6s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -2s; }
.stat-card:nth-child(3) { animation-delay: -4s; }
.stat-card-img {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}
.stat-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    background: rgba(5, 150, 105, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #059669;
}
.stat-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #059669;
    margin-bottom: 2px;
}
.stat-card-value {
    display: block;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.15rem;
    color: #064e3b;
    line-height: 1.2;
}
.stat-card-desc {
    font-size: 0.8rem;
    color: rgba(6, 78, 59, 0.6);
    margin: 0;
    line-height: 1.4;
}
.stat-card--alt .stat-card-value,
.stat-card--alt .stat-card-desc { color: #064e3b; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf9ee; }
::-webkit-scrollbar-thumb { background: #059669; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #047857; }
