/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e8449, #27ae60);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(30, 132, 73, 0.3);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 132, 73, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1e3554;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 60px;
    border: 2px solid #d0dae6;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: #1e8449;
    color: #1e8449;
    transform: translateY(-2px);
}

/* ── Nav Links ── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2ecc71;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar States ── */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* ── Focus Styles ── */
*:focus-visible {
    outline: 2px solid #2ecc71;
    outline-offset: 2px;
}

/* ── Selection ── */
::selection {
    background: #d5f5e3;
    color: #0d1828;
}

/* ── Mobile Menu Transitions ── */
.mobile-menu-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
