﻿
:root {
    --primary: #d97706;
    --primary-dark: #b45309;
    --accent: #ea580c;
    --bg: #FFFDF9;
    --card-bg: #ffffff;
    --text: #1c1917;
    --muted: #78716c;
    --border: #e7e5e4;
    --emerald: #059669;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.topbar {
    background: #451a03;
    color: #fef3c7;
    font-size: 12px;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.topbar-badge {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d97706, #ea580c);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

    .logo-badge span:first-child {
        font-family: 'Rozha One', serif;
        font-size: 20px;
        line-height: 1;
    }

    .logo-badge span:last-child {
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

.brand-title {
    font-size: 18px;
    font-weight: 800;
    color: #1c1917;
    line-height: 1.2;
}

.brand-sub {
    font-size: 11px;
    color: #78716c;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

    .nav-links a {
        color: #44403c;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        transition: color 0.2s;
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--primary);
        }

.nav-donate-pill {
    background: linear-gradient(135deg, #d97706, #ea580c);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    font-size: 20px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        align-items: flex-start;
        gap: 12px;
    }

        .nav-links.show {
            display: flex;
        }
}

.hero {
    background: linear-gradient(135deg, #78350f, #9a3412);
    color: #fff;
    padding: 55px 24px;
    text-align: center;
}

.hero-tag {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fde68a;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
    color: #fed7aa;
    max-width: 700px;
    margin: 0 auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Category Filter Buttons */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-btn {
    background: #ffffff;
    border: 1.5px solid var(--border);
    color: #57534e;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

    .filter-btn:hover, .filter-btn.active {
        background: #d97706;
        border-color: #d97706;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
    }

/* Program Detailed Cards */
.programs-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.prog-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.03);
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (max-width: 820px) {
    .prog-card {
        grid-template-columns: 1fr;
    }
}

.prog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.prog-img-wrap {
    position: relative;
    min-height: 280px;
}

    .prog-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.prog-cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(17, 24, 39, 0.85);
    color: #fef08a;
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.prog-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .prog-content h3 {
        font-size: 22px;
        font-weight: 800;
        color: #1c1917;
        margin-bottom: 6px;
    }

    .prog-content .hindi-title {
        font-size: 15px;
        color: #d97706;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .prog-content p {
        color: #57534e;
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

.highlights-list {
    list-style: none;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 580px) {
    .highlights-list {
        grid-template-columns: 1fr;
    }
}

.highlights-list li {
    font-size: 12px;
    color: #44403c;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .highlights-list li::before {
        content: "✓";
        color: #059669;
        font-weight: 900;
    }

.prog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #f5f5f4;
}

.beneficiary-pill {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.prog-donate-btn {
    background: linear-gradient(135deg, #d97706, #ea580c);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

    .prog-donate-btn:hover {
        box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
        transform: translateY(-1px);
    }

.footer {
    background: #1c1917;
    color: #d6d3d1;
    padding: 50px 24px 24px;
    font-size: 13px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer ul {
    list-style: none;
}

    .footer ul li {
        margin-bottom: 8px;
    }

        .footer ul li a {
            color: #a8a29e;
            text-decoration: none;
            transition: color 0.2s;
        }

            .footer ul li a:hover {
                color: #f59e0b;
            }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #292524;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #78716c;
}