@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-eco: #1b8a4c;
    --primary-eco-hover: #136a39;
    --accent-gold: #fbbf24;
    --accent-orange: #f97316;
    --bg-soft: #f0fdf4;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --organik-color: #10b981;
    --anorganik-color: #f59e0b;
    --b3-color: #ef4444;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.font-heading {
    font-family: 'Fredoka', cursive, sans-serif;
}

/* NAVBAR */
.navbar-eco {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #e2e8f0;
}

.navbar-brand .logo-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.nav-link-eco {
    font-weight: 600;
    color: #334155;
    padding: 0.5rem 1rem !important;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-link-eco:hover, .nav-link-eco.active {
    color: var(--primary-eco);
    background-color: #dcfce7;
}

/* HERO SECTION */
.hero-banner {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    color: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 101, 52, 0.2);
}

.hero-banner::after {
    content: '♻️';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 15rem;
    opacity: 0.08;
    pointer-events: none;
}

/* CARDS */
.card-eco {
    border: none;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-eco:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* CATEGORY BADGES & CARDS */
.category-organik {
    border-top: 5px solid var(--organik-color);
}
.category-anorganik {
    border-top: 5px solid var(--anorganik-color);
}
.category-b3 {
    border-top: 5px solid var(--b3-color);
}

.icon-box-lg {
    width: 70px;
    height: 70px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

/* STEPPER */
.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-eco);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(27, 138, 76, 0.3);
}

/* QUIZ LEVEL GAMIFICATION */
.level-card {
    border-radius: 1.25rem;
    border: 2px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.level-card.unlocked:hover {
    border-color: var(--primary-eco);
    transform: scale(1.02);
}

.level-card.locked {
    background: #f1f5f9;
    opacity: 0.7;
    cursor: not-allowed;
}

.badge-level {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
}

.option-btn {
    border: 2px solid #cbd5e1;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
    width: 100%;
}

.option-btn:hover {
    border-color: var(--primary-eco);
    background: #f0fdf4;
}

.option-btn.selected-correct {
    border-color: #10b981 !important;
    background: #d1fae5 !important;
    color: #065f46 !important;
}

.option-btn.selected-wrong {
    border-color: #ef4444 !important;
    background: #fee2e2 !important;
    color: #991b1b !important;
}

/* CERTIFICATE DISPLAY */
.certificate-box {
    background: #ffffff;
    border: 10px double #15803d;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.certificate-seal {
    width: 90px;
    height: 90px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    border: 4px solid #b45309;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

/* FOOTER */
.footer-eco {
    background: #0f172a;
    color: #94a3b8;
    margin-top: auto;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary-eco);
}

.footer-eco h5, .footer-eco h6 {
    color: #ffffff;
}

.footer-eco a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-eco a:hover {
    color: #10b981;
}

.footer-eco ul li a:hover {
    padding-left: 6px;
}

.footer-eco .social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.footer-eco .social-icon-btn:hover {
    background-color: #10b981;
    transform: translateY(-3px);
}

.footer-eco .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: #cbd5e1;
    font-size: 0.88rem;
}

.footer-eco .contact-item i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 2rem 1.25rem;
    }
}

/* DROPDOWN MENU CUSTOM STYLING */
.dropdown-item {
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}
.dropdown-item:hover, .dropdown-item:active {
    color: var(--primary-eco) !important;
    background-color: #dcfce7 !important;
}
.dropdown-menu {
    border: 2px solid #e2e8f0 !important;
    padding: 0.5rem;
}
