:root {
    --oren: #f49827;
    --oren-dark: #d97706;
    --oren-light: #fff7ed;
    --ijo: #009d66;
    --ijo-dark: #006b3c;
    --ijo-mid: #00874c;
    --ijo-light: #e8f5ee;
    --bg: #f5f7fa;
    --text: #111827;
    --muted: #6b7280;
    --border: #e4e9f2;
    --white: #ffffff;
}
* {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #f7f9fc;
    color: var(--text);
}

/* Global alert animations */
.alert-slide {
    animation: alertSlide 0.25s ease both;
}
@keyframes alertSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── TICKER ── */
.ticker-bar {
    background: var(--ijo-dark);
    padding: 7px 0;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.65);
    overflow: hidden;
    white-space: nowrap;
}
.ticker-inner {
    display: inline-block;
    animation: ticker 30s linear infinite;
}
@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.ticker-inner span {
    margin: 0 36px;
}

/* ── NAVBAR ── */
.main-nav {
    background: #fff;
    border-bottom: 2px solid var(--oren);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-brand img {
    height: 46px;
}
.nav-brand-text strong {
    display: block;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.nav-brand-text span {
    font-size: 12px;
    color: var(--oren);
    font-weight: 600;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 10px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s;
}
.nav-link:hover {
    background: var(--bg);
    color: var(--text);
}
.nav-link.active {
    background: var(--ijo-light);
    color: var(--ijo-dark);
    font-weight: 600;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--oren);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.18s;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-cta:hover {
    background: var(--oren-dark);
}
.nav-cta svg {
    width: 16px;
    height: 16px;
}

/* ── HAMBURGER ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.nav-hamburger:hover {
    border-color: var(--oren);
}
.nav-hamburger span {
    display: block;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition:
        transform 0.25s,
        opacity 0.25s;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 48;
    opacity: 0;
    transition: opacity 0.25s;
}
.mobile-nav-overlay.open {
    opacity: 1;
}

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
    position: fixed;
    top: 68px; /* tinggi navbar */
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 49;
    padding: 12px 16px 20px;
    display: none;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}
.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
}
.mobile-nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 11px 14px;
    border-radius: 10px;
    transition:
        background 0.15s,
        color 0.15s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--ijo-light);
    color: var(--ijo-dark);
    font-weight: 600;
}
.mobile-nav-cta {
    margin-top: 8px;
    justify-content: center;
}
