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

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

body {
    font-family: 'DM Sans', sans-serif;
    background: #F5F3EF;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:root {
    --primary-orange: #F59E0B;
    --primary-orange-light: rgba(255, 165, 0, 0.15);
    --dark-slate: #0F172A;
    --bg-light: #F5F3EF;
}

/* ========== TOP BAR ========== */
.topbar {
    background: #1B2A4A;
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    padding: 6px 0;
}

.topbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-pill {
    background: rgba(255,255,255,0.95);
    color: #0F172A;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
}
.lang-pill option {
    color: #0F172A;
    background: #fff;
}

/* ========== NAVBAR ========== */
.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.gp-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.nav-logo { height: 100%; width: auto; }

/* Desktop Hidden elements */
.mobile-menu-btn, .lang-selector-mobile { display: none; }


.nav-brand-text { display: flex; flex-direction: column; }

.nav-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: #1B2A4A;
    line-height: 1.1;
    margin: 0;
}

.nav-sub {
    font-size: 0.75rem;
    color: #4b5563; /* Darker gray for better visibility */
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover { background: #F0EDE8; color: #1B2A4A; }
.nav-link.active { background: #1B2A4A; color: white; }

.nav-seal { height: 48px; flex-shrink: 0; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #1B2A4A;
}

/* ========== HERO BANNER ========== */
.hero-banner {
    background: linear-gradient(135deg, #1B2A4A 0%, #2D4A7A 40%, #1B2A4A 100%);
    position: relative;
    padding: 80px 24px 70px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212,175,55,0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.02) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.hero-badge {
    display: inline-block;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.3);
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 3.2rem;
    color: white;
    margin-bottom: 12px;
    line-height: 1.15;
}

.hero-tagline {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-ids { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-id-chip {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ========== STATS STRIP ========== */
.stats-strip {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-pill {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.stat-pill:hover { transform: translateY(-3px); }
.stat-emoji { font-size: 2rem; }
.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 1.5rem; font-weight: 800; color: #1B2A4A; line-height: 1; }
.stat-label { font-size: 0.75rem; color: #8B8680; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ========== SECTION BLOCKS ========== */
.section-block {
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-label {
    text-align: center;
    margin-bottom: 40px;
}

.section-label .section-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.section-label h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #1B2A4A;
    margin-bottom: 6px;
}

.section-label p {
    color: #8B8680;
    font-size: 1rem;
}

.section-label.light h2 { color: white; }
.section-label.light p { color: rgba(255,255,255,0.6); }
.section-label.light .section-icon { filter: brightness(10); }

/* ========== LEADER CAROUSEL ========== */
.leader-scroll-track {
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #D4AF37 transparent;
}

.leader-scroll-track::-webkit-scrollbar { height: 6px; }
.leader-scroll-track::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 10px; }

.leader-scroll {
    display: flex;
    gap: 20px;
    padding: 4px 4px 8px;
    width: max-content;
}

.leader-card {
    background: white;
    border-radius: 20px;
    padding: 24px 20px;
    width: 180px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #EDE9E3;
    transition: all 0.25s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #D4AF37;
    opacity: 0;
    transition: opacity 0.2s;
}

.leader-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.leader-card:hover::before { opacity: 1; }

.leader-featured { width: 200px; border-color: #D4AF37; }
.leader-featured::before { opacity: 1; background: linear-gradient(90deg, #D4AF37, #F0D060); }

.leader-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 3px solid #EDE9E3;
    transition: border-color 0.2s;
}

.leader-featured .leader-img-wrap { border-color: #D4AF37; }
.leader-card:hover .leader-img-wrap { border-color: #D4AF37; }

.leader-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-fb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0EDE8;
    color: #1B2A4A;
    font-weight: 800;
    font-size: 1.1rem;
}

.leader-meta h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1B2A4A;
    line-height: 1.2;
    margin-bottom: 6px;
}

.leader-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.leader-tag.national { background: #FFF3E0; color: #E65100; }
.leader-tag.state { background: #E8F5E9; color: #2E7D32; }
.leader-tag.minister { background: #EDE7F6; color: #5E35B1; }
.leader-tag.admin { background: #E3F2FD; color: #1565C0; }



/* ========== SCHEMES SECTION ========== */
.schemes-bg {
    background: linear-gradient(135deg, #1B2A4A, #2D4A7A);
    max-width: 100%;
    padding: 60px 24px;
}

.scheme-row {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.scheme-tile {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.25s ease;
}

.scheme-tile:hover { transform: translateY(-6px); }

.scheme-top {
    padding: 28px;
    text-align: center;
}

.scheme-emoji { 
    font-size: 3.5rem; 
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    display: inline-block;
}

.scheme-body {
    padding: 20px;
}

.scheme-body h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: #1B2A4A;
    margin-bottom: 8px;
}

.scheme-body p {
    font-size: 0.85rem;
    color: #8B8680;
    line-height: 1.5;
    margin-bottom: 14px;
}

.scheme-btn {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1B2A4A;
    text-decoration: none;
    border-bottom: 2px solid #D4AF37;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.scheme-btn:hover { color: #D4AF37; }

/* ========== CENSUS GRID ========== */
.census-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.census-card {
    background: rgba(27, 42, 74, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.census-card:hover { 
    transform: translateY(-5px); 
    background: rgba(27, 42, 74, 0.95);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.card-icon { 
    font-size: 2.2rem; 
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.card-label { 
    font-size: 0.7rem; 
    color: rgba(255, 255, 255, 0.6); 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.card-value { 
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem; 
    color: #FFFFFF; 
    margin-bottom: 2px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-desc { 
    font-size: 0.78rem; 
    color: rgba(255, 255, 255, 0.5); 
    line-height: 1.3;
    font-weight: 500;
}

/* ========== LEADERSHIP GRID (2 ROWS) ========== */
.leader-scroll-track {
    overflow: visible; /* Remove scroll */
}

.leader-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns = 2 rows for 10 cards */
    gap: 20px;
    padding: 10px 0;
    width: 100%;
}

.leader-card {
    background: white;
    border-radius: 20px;
    padding: 24px 20px;
    width: 100%; /* Fill grid cell */
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #EDE9E3;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #D4AF37;
    opacity: 0;
    transition: opacity 0.2s;
}

.leader-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.leader-card:hover::before { opacity: 1; }

.leader-featured { border-color: #D4AF37; }
.leader-featured::before { opacity: 1; background: linear-gradient(90deg, #D4AF37, #F0D060); }

@media (max-width: 1024px) {
    .census-grid { grid-template-columns: repeat(2, 1fr); }
    .leader-scroll { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .leader-scroll { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .census-grid { grid-template-columns: 1fr; }
    .leader-scroll { grid-template-columns: 1fr; }
}

/* ========== FOOTER ========== */
.footer {
    background: #1B2A4A;
    color: rgba(255,255,255,0.8);
    padding: 48px 24px 0;
}

.footer-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.footer-logo { height: 100%; width: auto; }

.footer-block h3 {
    color: white;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.footer-block h4 {
    color: #D4AF37;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}

.footer-block p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-block a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.footer-block a:hover { color: #D4AF37; padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.disclaimer { font-size: 0.72rem; margin-top: 4px; opacity: 0.7; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        padding: 16px;
        z-index: 999;
        gap: 4px;
        transition: all 0.3s ease;
    }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .scheme-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-heading { font-size: 2.2rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .leader-card { width: 160px; }
}

@media (max-width: 480px) {
    .hero-heading { font-size: 1.8rem; }
    .hero-tagline { font-size: 1rem; }
    .stats-inner { grid-template-columns: 1fr; }
    .scheme-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-inner { flex-direction: column; gap: 4px; text-align: center; }
    .nav-title { font-size: 1.1rem; }
}

/* ========== SUB-PAGE & BENTO STYLES ========== */
.section-title-premium {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title-premium::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #0F766E;
    border-radius: 2px;
}

/* Premium GP Members Page - Namespaced Design */
.pg-members-page {
    background: radial-gradient(at 0% 0%, #ffffff 0, transparent 50%), 
                radial-gradient(at 50% 0%, #fff7ed 0, transparent 50%), 
                radial-gradient(at 100% 0%, #fff1f2 0, transparent 50%), 
                radial-gradient(at 0% 100%, #eff6ff 0, transparent 50%), 
                radial-gradient(at 100% 100%, #ffffff 0, transparent 50%);
    background-color: #f8fafc;
    padding: 80px 40px;
    border-radius: 45px;
    margin-top: 30px;
    box-shadow: inset 0 0 100px rgba(255,255,255,0.4);
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pg-members-header {
    text-align: center;
    margin-bottom: 70px;
}

.pg-section-title-premium {
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    color: #0F172A;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.pg-hero-subtitle {
    font-size: 1.2rem;
    color: #475569;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 35px;
    border-radius: 60px;
    border: 1px solid white;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.pg-members-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for better name fitting */
    gap: 35px;
    grid-auto-rows: minmax(300px, auto);
}

.pg-bento-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 35px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: 2px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pg-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0D9488, #14B8A6, #F59E0B);
    border-radius: 20px 20px 0 0;
}

.pg-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.15);
    border-color: #14B8A6;
}

.pg-member-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.pg-member-img-container {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
    border: 3px solid #0D9488;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.pg-bento-card:hover .pg-member-img-container {
    transform: scale(1.1);
}

.pg-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pg-member-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
}

.pg-member-info {
    position: relative;
    z-index: 2;
}

.pg-member-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0D9488;
    background: rgba(13, 148, 136, 0.08);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.pg-member-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.pg-member-ward {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.pg-member-ward svg {
    color: #F59E0B;
    width: 18px;
    height: 18px;
}

/* Scheme Page Wrapper */
.scheme-page-wrapper {
    padding: 60px 0;
    max-width: 1050px;
    margin: 0 auto;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.scheme-hero {
    text-align: center;
    margin-bottom: 60px;
}

.scheme-hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 3.8rem;
    color: #0F172A;
    margin-bottom: 15px;
    text-shadow: 0px 4px 15px rgba(255,255,255,0.8);
    letter-spacing: -0.02em;
}

.scheme-hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Advanced Glassmorphism Bento Grid for Schemes */
.scheme-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 60px;
}

.scheme-info-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-radius: 35px;
    padding: 45px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.scheme-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.12);
    background: rgba(255, 255, 255, 0.55);
}

.scheme-info-card.full-width {
    grid-column: span 2;
}

.scheme-info-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.scheme-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
    backdrop-filter: blur(10px);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #0284C7;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.8);
}

.scheme-info-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.02em;
}

.detail-desc {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

.detail-desc strong, .detail-desc b {
    color: #0284C7;
    font-weight: 800;
    background: linear-gradient(120deg, rgba(2, 132, 199, 0.1) 0%, rgba(2, 132, 199, 0) 100%);
    padding: 0 4px;
    border-radius: 4px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-list li {
    padding: 18px 20px 18px 60px;
    position: relative;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    color: #475569;
    line-height: 1.6;
    font-weight: 500;
    font-size: 1.05rem;
    border: 1px solid rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.detail-list li:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    color: #0F172A;
}

.detail-list li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #0284C7;
    background: rgba(255,255,255,0.9);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.numbered-list {
    counter-reset: scheme-list;
}

.numbered-list li::before {
    content: counter(scheme-list);
    counter-increment: scheme-list;
    font-size: 1rem;
}

.scheme-cta-box {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: 40px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
    border-top: 1px solid rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.scheme-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.4), transparent 30%);
    animation: rotateShine 8s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotateShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.scheme-link-external {
    background: linear-gradient(135deg,rgba(255,255,255,0.9) 0%, rgba(255,255,255,1) 100%);
    color: #0284C7;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.1);
    position: relative;
    z-index: 1;
}

.scheme-link-external:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.2);
    color: white;
    background: linear-gradient(135deg, #0284C7, #38BDF8);
    border-color: transparent;
}

/* Responsive Members Adjustment - Namespaced */
@media (max-width: 1024px) {
    .pg-forms-bento-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .pg-members-bento-grid, .pg-forms-bento-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .scheme-hero-title { font-size: 1.8rem; }
    .header-logo-container { flex-direction: column; }
    .doc-header { padding: 20px; }
    .title-main { font-size: 1.5rem; }
    .section, .doc-body { padding: 20px; }
    .doc-footer, .mahsul-footer { flex-direction: column; text-align: center; gap: 15px; padding: 20px; display: flex; align-items: center;}
}

@media (max-width: 480px) {
    .pg-members-bento-grid { grid-template-columns: 1fr; }
    .pg-card-featured { grid-column: span 1; }
    .pg-bento-card { padding: 30px; }
}

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

/* ========== DOCUMENT PAGES (GP & Mahsul Services) ========== */
.document-container, .preview-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    margin: 40px auto;
    max-width: 1000px;
    animation: fadeIn 0.5s ease;
}

.doc-header {
    background: linear-gradient(135deg, #1B2A4A, #2D4A7A);
    color: white;
    padding: 30px 40px;
    text-align: center;
    position: relative;
}

.header-logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mh_gov_logo, .lokseva_hakka {
    height: 80px;
    width: auto;
    border-radius: 50%;
    background: white;
    padding: 4px;
}

.doc-header-text {
    flex-grow: 1;
}

.title-main {
    font-size: 2rem;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1.2;
}

.title-top, .title-sub {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.section, .doc-body {
    padding: 30px 40px;
    border-bottom: 1px solid #f3f4f6;
}

.section:last-child {
    border-bottom: none;
}

.section-title-table, .section-title-list, .section-title-wrapper .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 3px solid #0F766E;
    padding-bottom: 8px;
}

.service-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    text-align: left;
}

.doc-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 700;
    padding: 16px;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.doc-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.doc-table tbody tr:hover {
    background: #fdfdfe;
}

.ref-list, .doc-instruction-list, .doc-list {
    padding-left: 20px;
    color: #4b5563;
    line-height: 1.8;
}

.doc-list { margin-bottom: 15px; }
.doc-list li::marker { color: #0F766E; font-weight: bold; }
.ref-list li::marker { color: #0F766E; }

.doc-footer, .mahsul-footer {
    background: #f0fdfa;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccfbf1;
    color: #0F766E;
    font-weight: 600;
}

.mahsul-footer {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.mahsul-footer .contact {
    text-align: left;
}

.mahsul-footer .contact h4 {
    margin: 0 0 10px 0;
    color: #111827;
}

.mahsul-footer .contact p {
    margin: 5px 0;
    color: #4b5563;
    font-weight: normal;
}

.aaple_sarkar {
    height: 60px;
    width: auto;
}

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

/* Self Declaration (Forms) Premium Styles - Namespaced */
.pg-forms-page {
    padding: 60px 5%;
    background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.1), transparent 40%);
    min-height: 80vh;
}

.pg-forms-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pg-form-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 2px solid #E2E8F0;
    border-radius: 35px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    animation: fadeIn 0.8s ease-out both;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pg-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0D9488, #14B8A6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pg-form-card:hover {
    transform: translateY(-10px);
    border-color: #14B8A6;
    box-shadow: 0 40px 80px -15px rgba(20, 184, 166, 0.15);
}

.pg-form-card:hover::before {
    opacity: 1;
}

.pg-form-icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.25);
    transition: all 0.5s ease;
}

.pg-form-card:hover .pg-form-icon-wrap {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.35);
}

.pg-form-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.pg-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0F172A; /* Dark Slate for better reading on light background */
    line-height: 1.4;
    margin-bottom: 25px;
    flex-grow: 1;
}

.pg-form-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Darker border for contrast */
}

.pg-form-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155; /* Darker gray/slate */
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pg-form-card:hover .pg-form-download-btn {
    color: #0D9488; /* Dark Teal on hover */
    transform: translateX(5px);
}

/* Confirmation Overlay (Download Alert) - Premium Design */
.confirmation-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirmation-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.confirmation-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 35px;
    padding: 45px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #E2E8F0;
}

.confirmation-overlay.visible .confirmation-box {
    transform: scale(1) translateY(0);
}

.confirmation-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
}

.confirmation-title svg {
    color: #0D9488;
    margin-right: 15px;
}

.confirmation-message {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 35px;
    white-space: pre-wrap;
}

.confirmation-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cancel, .btn-confirm {
    padding: 16px 32px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #F1F5F9;
    color: #475569;
    border: 2px solid #CBD5E1;
}

.btn-confirm {
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    color: white;
    box-shadow: 0 10px 25px rgba(13, 110, 136, 0.2);
    border: 2px solid #0F766E;
}

.btn-cancel:hover { background: #E2E8F0; transform: translateY(-3px); }
.btn-confirm:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(13, 110, 136, 0.3); }



/* ========== PREMIUM CONTACT CARDS ========== */
.pg-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.pg-contact-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    border: 2px solid #E2E8F0;
    padding: 35px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.pg-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0D9488, #14B8A6, #F59E0B);
    border-radius: 20px 20px 0 0;
}
.pg-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.15);
    border-color: #14B8A6;
}
.pg-contact-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
    transition: transform 0.3s ease;
}
.pg-contact-card:hover .pg-contact-icon-wrap {
    transform: scale(1.1);
}
.pg-contact-role {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0D9488;
    background: rgba(13, 148, 136, 0.08);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.pg-contact-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 18px;
    line-height: 1.3;
}
.pg-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.25);
}
.pg-contact-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.pg-member-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 148, 136, 0.08);
    color: #0D9488;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 148, 136, 0.2);
}
.pg-member-mobile:hover {
    background: #0D9488;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}
/* ============ MOBILE RESPONSIVENESS ============ */
@media (max-width: 768px) {
    .topbar { display: none; }
    
    .navbar {
        height: auto;
        padding: 8px 0;
    }
    
    .navbar-inner {
        height: auto;
        min-height: 60px;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Header Order: [Menu] [Brand] [Seal] [Lang] */
    .mobile-menu-btn {
        display: flex;
        order: 1;
        padding: 5px;
        background: #F8FAFC;
        border-radius: 8px;
        color: #1B2A4A;
    }

    .nav-brand {
        order: 2;
        gap: 6px;
        flex-shrink: 1;
    }
    
    .nav-seal {
        display: block;
        order: 3;
        height: 38px;
        margin-left: auto;
    }
    
    .lang-selector-mobile {
        display: block;
        order: 4;
    }
    
    .lang-pill {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .logo-circle {
        width: 42px;
        height: 42px;
    }
    
    .nav-brand-text {
        max-width: 120px;
    }
    
    .nav-title {
        font-size: 0.95rem;
    }
    
    .nav-sub {
        display: none;
    }

    /* Nav Links Dropdown (Half Width) */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 50%;
        right: auto;
        background: white;
        flex-direction: column;
        padding: 15px;
        box-shadow: 5px 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        gap: 5px;
        border-top: 1px solid #F1F5F9;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.9rem;
        border-bottom: 1px solid #F8FAFC;
    }

    /* Hero Section */
    .hero-banner {
        padding: 60px 20px 40px;
    }
    
    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-ids {
        flex-direction: column;
        gap: 8px;
    }

    /* Stats Strip */
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    /* Leadership Grid */
    .leader-scroll {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
        overflow: visible;
    }
    
    .leader-card {
        width: 100%;
        margin-bottom: 0;
    }

    /* Sections */
    .section-block {
        padding: 40px 15px;
    }
    
    .section-label h2 {
        font-size: 1.8rem;
    }

    /* Grids */
    .scheme-row, .pg-contact-grid, .youtube-grid, .pg-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Service Tables to Cards */
    .doc-table, .doc-table thead, .doc-table tbody, .doc-table tr, .doc-table td {
        display: block;
        width: 100%;
    }
    
    .doc-table thead {
        display: none;
    }
    
    .doc-table tbody {
        padding: 5px;
    }
    
    .doc-table tr {
        background: white;
        border-radius: 16px;
        padding: 15px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        border: 1px solid #F1F5F9;
        position: relative;
        overflow: hidden;
    }
    
    .doc-table td {
        padding: 12px 0;
        border: none;
        text-align: left;
        position: relative;
        padding-left: 42%;
        font-size: 0.95rem;
        min-height: 36px;
        display: flex;
        align-items: flex-start;
        line-height: 1.4;
        border-bottom: 1px solid #f1f5f9;
        color: #111827; /* Dark black for better clarity */
    }
    
    .doc-table td:last-child { border-bottom: none; }
    
    .doc-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 38%;
        font-weight: 700;
        color: #4b5563; /* Darker label for context */
        font-size: 0.8rem;
        text-transform: none; /* Marathi labels don't need uppercase */
        letter-spacing: normal;
    }
    
    /* Index/No as a badge - targeting first child if data-label-key missing */
    .doc-table td:first-child {
        position: absolute;
        top: 15px;
        right: 15px;
        width: auto;
        padding: 4px 12px;
        background: #f1f5f9;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 800;
        color: #1e293b;
        padding-left: 12px;
        border-bottom: none;
    }
    .doc-table td:first-child:before { display: none; }
    
    /* Title/Name as Header - targeting second child */
    .doc-table td:nth-child(2) {
        padding-left: 0;
        font-size: 1.15rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 12px;
        padding-bottom: 15px;
        border-bottom: 2px solid #f1f5f9;
        width: 85%;
        display: block;
    }
    .doc-table td:nth-child(2):before { display: none; }

    /* Self Declaration Forms Mobile */
    .pg-forms-bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
        margin-top: 30px;
    }
    
    .pg-form-card {
        padding: 20px;
        border-radius: 24px;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        min-height: auto;
        text-align: left;
    }
    
    .pg-form-icon-wrap {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .pg-form-icon {
        font-size: 1.5rem;
    }
    
    .pg-form-content {
        margin-top: 0;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .pg-form-title {
        font-size: 1rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .pg-form-footer {
        margin-top: 0;
    }
    
    .pg-form-download-btn {
        padding: 4px 0;
        font-size: 0.8rem;
    }
}