/* PanchayatCore public site — after Bootstrap + theme.css */
body.pc-public {
    background: var(--pc-surface);
    color: var(--pc-text);
    overflow-x: hidden;
}

.pc-nav {
    min-height: 64px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--pc-border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(12px);
}

.pc-nav .container {
    min-height: 64px;
}

.pc-nav .navbar-brand {
    color: var(--pc-primary-dark) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pc-nav .navbar-brand span {
    font-size: 1.05rem;
}

.pc-nav .nav-link {
    color: var(--pc-text) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.7rem !important;
    border-radius: 8px;
}

.pc-nav .nav-link:hover,
.pc-nav .nav-link.active {
    color: var(--pc-primary) !important;
    background: var(--pc-primary-soft);
}

.pc-nav .navbar-toggler {
    border-color: var(--pc-border);
    padding: 0.4rem 0.55rem;
}

.pc-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 76, 129, 0.15);
}

.pc-hero {
    position: relative;
    background:
        radial-gradient(900px 320px at 8% -20%, rgba(15, 76, 129, 0.12), transparent 62%),
        radial-gradient(700px 280px at 92% 10%, rgba(15, 118, 110, 0.08), transparent 58%),
        linear-gradient(180deg, #f4f7fb 0%, #ffffff 78%);
    padding: 4.25rem 0 3.25rem;
    overflow: hidden;
}

.pc-hero h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--pc-primary-dark);
}

.pc-hero .lead {
    font-size: 1.05rem;
    color: var(--pc-text-muted);
    max-width: 38rem;
}

.pc-hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--pc-text-muted);
    font-size: 0.95rem;
}

.pc-kicker {
    color: var(--pc-secondary);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.pc-hero-visual {
    background: linear-gradient(165deg, var(--pc-primary-dark) 0%, #0f4c81 72%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: var(--pc-shadow);
    padding: 2rem 1.75rem;
    color: #fff;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pc-hero-visual .brand-logo,
.pc-hero-visual .brand-logo-lg {
    height: 72px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.pc-hero-visual h2 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.25rem;
}

.pc-hero-visual p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.pc-section {
    padding: 3.75rem 0;
}

.pc-section-muted {
    background: var(--pc-surface-muted);
}

.pc-section-head {
    margin-bottom: 1.75rem;
}

.pc-section-head h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-primary-soft);
    color: var(--pc-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pc-service-card,
.pc-transparency-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
}

.pc-service-card h3,
.pc-transparency-card h3 {
    font-weight: 700;
    color: var(--pc-text);
}

.pc-service-cta {
    margin-top: auto;
    padding-top: 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pc-primary);
}

.pc-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1.15rem 1.2rem;
    text-align: left;
    color: inherit;
}

.pc-stat .pc-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.pc-stat small {
    color: var(--pc-text-muted);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pc-stat strong {
    display: block;
    font-size: 1.85rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--pc-primary-dark);
}

.pc-stat .pc-stat-hint {
    font-size: 0.75rem;
    color: var(--pc-text-muted);
    font-weight: 400;
}

.pc-empty {
    border: 1px dashed var(--pc-border);
    border-radius: var(--pc-radius);
    padding: 2rem 1.5rem;
    color: var(--pc-text-muted);
    background: var(--pc-surface);
    text-align: center;
}

.pc-empty i {
    font-size: 1.6rem;
    color: var(--pc-primary);
    display: block;
    margin-bottom: 0.65rem;
}

.pc-cta-panel {
    background:
        radial-gradient(600px 200px at 100% 0%, rgba(15, 76, 129, 0.08), transparent 70%),
        var(--pc-surface);
    padding: 2.5rem 1.75rem;
    text-align: center;
}

.pc-footer {
    background: var(--pc-primary-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: 3rem 0 1.5rem;
}

.pc-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.pc-footer a:hover {
    color: #fff;
}

.pc-footer .product-attribution,
.pc-footer .product-attribution a {
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991.98px) {
    .pc-nav .navbar-collapse {
        padding: 0.75rem 0 1rem;
        border-top: 1px solid var(--pc-border);
        margin-top: 0.35rem;
        max-height: min(70vh, 28rem);
        overflow-y: auto;
    }

    .pc-nav .navbar-nav {
        gap: 0.15rem;
    }

    .pc-nav .nav-item .btn {
        width: 100%;
        margin-top: 0.35rem;
    }

    .pc-hero {
        padding: 2.5rem 0 2rem;
    }
}

@media (max-width: 575.98px) {
    .pc-section {
        padding: 2.5rem 0;
    }

    .pc-stat strong {
        font-size: 1.5rem;
    }

    .pc-hero-visual {
        min-height: 0;
        padding: 1.5rem;
    }
}
