@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Nunito:wght@400;600;700&display=swap');

:root {
    --primary: #2D9538;
    --primary-light: #E8F5E9;
    --primary-dark: #1e6b27;
    --accent: #FFB703;
    --text-dark: #2B2D42;
    --bg-gradient: linear-gradient(135deg, #2D9538 0%, #1e6b27 100%);
    --card-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background: #F4F9F4;
    color: var(--text-dark);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: var(--bg-gradient);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.brand-logo img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #FFF;
    background: white;
    object-fit: cover;
}

.menu-icon {
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s;
}

.menu-icon:active {
    transform: scale(0.9);
}

/* Sidebar Hamburger Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 65px;
    right: 15px;
    background: white;
    min-width: 240px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    overflow: hidden;
    z-index: 1001;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Container & Cards */
.container {
    max-width: 800px;
    margin: 25px auto;
    padding: 0 15px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Buttons & Toggles */
.btn-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.toggle-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: all 0.2s ease;
}

.toggle-btn.active-btn, .toggle-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(45, 149, 56, 0.3);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(45, 149, 56, 0.3);
    transition: transform 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}
