/* ========================================================
   Assam Welfare Authority Portal 2026–2027
   Next-Gen Edge CSS Architecture (Ultra-Lean & High Speed)
   ======================================================== */

:root {
    --brand-dark: #042f2e;
    --brand-primary: #065f46;
    --brand-accent: #059669;
    --brand-light: #ecfdf5;
    --amber-dark: #b45309;
    --amber-primary: #d97706;
    --amber-light: #fef3c7;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --border-strong: #cbd5e1;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 28px -4px rgba(4,47,46,0.12), 0 4px 12px -2px rgba(0,0,0,0.06);
    --shadow-hover: 0 18px 36px -6px rgba(4,47,46,0.18);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1240px;

    /* Legacy Theme Variable Aliases (for 11+ Static & Category Pages) */
    --primary: var(--brand-primary);
    --primary-light: var(--brand-light);
    --green: var(--brand-accent);
    --green-light: var(--brand-light);
    --text: var(--text-primary);
    --text-light: var(--text-secondary);
    --text-dark: var(--text-primary);
    --border: var(--border-light);
    --border-medium: var(--border-strong);
    --white: #ffffff;
    --bg: var(--surface-alt);
    --bg-alt: var(--surface-alt);
    --radius: var(--radius-md);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    background-color: var(--surface-alt);
    line-height: 1.65;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brand-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 1. TOP ANNOUNCEMENT TICKER ===== */
.top-ticker {
    background: linear-gradient(90deg, #042f2e 0%, #064e3b 100%);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-ticker .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ticker-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.ticker-live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.3);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.ticker-right a {
    color: var(--amber-light);
    font-weight: 600;
}

/* ===== 2. MAIN HEADER & NAV ===== */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-emblem {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.brand-text h1,
.brand-text .brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-text .brand-title a {
    color: var(--brand-dark);
    text-decoration: none;
}

.brand-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--brand-accent);
}

.header-cta-btn {
    background: var(--brand-primary);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(6,95,70,0.25);
}

.header-cta-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

/* ===== DESKTOP DROPDOWN ===== */
.nav-dropdown-wrap {
    position: relative;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: -10px;
    background: #ffffff;
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    z-index: 150;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-dropdown-menu li a:hover {
    background: #ecfdf5;
    color: var(--brand-accent);
    padding-left: 22px;
}

/* ===== MOBILE MENU BUTTON (3-BAR HAMBURGER) ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 11px 9px;
    cursor: pointer;
    z-index: 110;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: #f1f5f9;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2.5px;
    background: var(--brand-dark);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Open state for hamburger animation */
.mobile-menu-btn.active .bar-1 {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active .bar-2 {
    opacity: 0;
}
.mobile-menu-btn.active .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE OFFCANVAS DRAWER ===== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    background: var(--surface-alt);
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.mobile-drawer-close:hover {
    color: #ef4444;
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
}

.mobile-nav-group-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--brand-accent);
    margin: 18px 0 8px 0;
    text-transform: uppercase;
}

.mobile-nav-group-title:first-child {
    margin-top: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 12px;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.mobile-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    background: var(--surface-alt);
}

/* ===== 3. HERO AUTHORITY SECTION ===== */
.hero-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    padding: 44px 0 32px 0;
    border-bottom: 1px solid var(--border-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-light);
    color: var(--brand-primary);
    border: 1px solid rgba(6,95,70,0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-headline {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-headline span {
    color: var(--amber-primary);
}

/* Mojolo DNA Intro: Law 1 Problem -> Contrast -> Promise */
.hero-narrative {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.hero-narrative strong {
    color: var(--text-primary);
}

.hero-stats-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-light);
}

.stat-pill {
    background: var(--surface);
    border: 1px solid var(--border-light);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-pill-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.stat-pill-lbl {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* Hero Quick Actions Right Column */
.hero-action-deck {
    background: var(--surface);
    border: 2px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-deck-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.hero-deck-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.deck-tag {
    background: var(--amber-light);
    color: var(--amber-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.action-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.action-card:hover {
    border-color: var(--brand-accent);
    background: var(--brand-light);
    transform: translateX(4px);
}

.action-card-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.action-card-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.action-card-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.action-arrow {
    font-size: 1.1rem;
    color: var(--brand-accent);
    font-weight: 700;
}

/* ===== 4. ADSENSE CONTAINER (CTR OPTIMIZED) ===== */
.ad-slot-wrapper {
    margin: 28px auto;
    text-align: center;
    max-width: 980px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 12px;
    min-height: 100px;
}

.ad-disclaimer {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

/* ===== 5. SGE-ANSWER-BOX (PASSAGE ISOLATION) ===== */
.sge-hook-box {
    background: #ffffff;
    border-left: 4px solid var(--amber-primary);
    border-top: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}

.sge-hook-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--amber-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.sge-hook-content {
    font-size: 1.02rem;
    color: var(--text-primary);
    line-height: 1.68;
    font-weight: 500;
}

/* ===== 6. INTERACTIVE TOOLS CAROUSEL / SECTION ===== */
.section-title-wrap {
    margin-bottom: 28px;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-heading {
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
}

.section-heading span {
    color: var(--amber-primary);
}

.section-subtext {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 8px auto 0 auto;
}

/* TOOL 1: ELIGIBILITY SIMULATOR CARD */
.tool-simulator-card {
    background: var(--surface);
    border: 2px solid #a7f3d0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin-bottom: 48px;
}

.sim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.sim-control label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sim-control select, .sim-control input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--surface-alt);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.sim-control select:focus, .sim-control input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.15);
    background: #ffffff;
}

.sim-btn-wrap {
    margin-top: 24px;
    text-align: center;
}

.btn-simulate {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    color: #ffffff;
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-simulate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
}

#simulator-result {
    margin-top: 28px;
    padding: 24px;
    border-radius: var(--radius-md);
    display: none;
    animation: fadeIn 0.3s ease-out;
}

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

.result-qualified {
    background: #ecfdf5;
    border: 2px solid #34d399;
}

.result-qualified h4 {
    color: #065f46;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.scheme-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.scheme-badge-pill {
    background: #ffffff;
    border: 1px solid #10b981;
    color: #047857;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* TOOL 2: 33-DISTRICTS FINDER */
.district-finder-box {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px;
    margin: 40px 0;
}

.search-input-field {
    width: 100%;
    max-width: 520px;
    padding: 14px 20px;
    font-size: 1rem;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-full);
    margin: 0 auto 24px auto;
    display: block;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-input-field:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(5,150,105,0.15);
}

.district-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.district-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.district-table th {
    background: var(--brand-dark);
    color: #ffffff;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.district-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.district-table tr:hover {
    background-color: #f0fdf4;
}

/* TOOL 3: MERGED BANK IFSC CONVERTER */
.ifsc-tool-card {
    background: linear-gradient(135deg, #042f2e, #064e3b);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
}

.ifsc-tool-card h3 {
    color: #fef3c7;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.ifsc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
    margin-top: 20px;
}

.ifsc-grid label {
    font-size: 0.85rem;
    color: #a7f3d0;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.ifsc-grid select {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.95rem;
}

.btn-convert-ifsc {
    background: var(--amber-primary);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-convert-ifsc:hover {
    background: #b45309;
}

.ifsc-result-box {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.2);
    display: none;
}

/* ===== 7. POSTS GRID (5 SILOS) ===== */
.posts-silo-section {
    padding: 44px 0;
    border-top: 1px solid var(--border-light);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #a7f3d0;
}

.post-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
    overflow: hidden;
}

.post-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-thumb-wrap img {
    transform: scale(1.05);
}

.post-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(4,47,46,0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-category {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.post-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.38;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--text-primary);
}

.post-title a:hover {
    color: var(--brand-accent);
}

.post-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.post-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== 8. AUTHOR E-E-A-T CARD ===== */
.author-eeat-card {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 50px 0;
    display: flex;
    gap: 28px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(6,95,70,0.3);
}

.author-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.84rem;
    color: var(--brand-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== 9. ACCORDION FAQ SECTION ===== */
.faq-accordion-wrap {
    max-width: 860px;
    margin: 32px auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item details summary {
    padding: 16px 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item details summary::-webkit-details-marker {
    display: none;
}

.faq-item details summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--brand-accent);
    font-weight: 700;
    transition: transform 0.25s;
}

.faq-item details[open] summary {
    background: var(--brand-light);
    border-bottom: 1px solid var(--border-light);
    color: var(--brand-dark);
}

.faq-item details[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 18px 22px;
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.68;
    background: #ffffff;
}

/* ===== 10. FLOATING WHATSAPP BUTTON ===== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 28px rgba(37,211,102,0.5);
}

/* ===== 11. FOOTER ===== */
.site-footer {
    background: var(--brand-dark);
    color: #cbd5e1;
    padding: 48px 0 24px 0;
    font-size: 0.88rem;
    border-top: 4px solid var(--brand-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #94a3b8;
}

.footer-col ul a:hover {
    color: #ffffff;
}

.footer-disclaimer-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.82rem;
    color: #64748b;
}

/* ===== 35-DISTRICTS DIRECTORY TOOL ===== */
.district-finder-box {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    margin: 40px 0;
}

.district-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.district-search-input {
    flex: 1;
    min-width: 280px;
    padding: 13px 18px;
    font-size: 0.95rem;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--text-primary);
    transition: var(--transition);
}

.district-search-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.district-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    max-height: 520px;
    position: relative;
}

.district-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: #ffffff;
    text-align: left;
}

.district-table thead {
    background: var(--brand-dark);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.district-table th {
    padding: 14px 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.district-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: middle;
}

.district-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.district-table tbody tr:hover {
    background: #ecfdf5;
}

.btn-dc-portal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #059669;
    color: #047857;
    background: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-dc-portal:hover {
    background: #047857;
    color: #ffffff;
}

.btn-guide-pdf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--brand-accent);
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-guide-pdf:hover {
    background: var(--brand-dark);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .author-eeat-card {
        flex-direction: column;
        text-align: center;
    }
    .desktop-nav {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 1.85rem;
    }
    .ifsc-grid {
        grid-template-columns: 1fr;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .tool-simulator-card {
        padding: 20px;
    }
}

/* ===== CITIZEN TOOL ACTION BUTTONS ===== */
.tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: #ffffff !important;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    box-sizing: border-box;
}

.tool-btn-amber {
    background: #b45309 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.28);
}
.tool-btn-amber:hover {
    background: #92400e !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(180, 83, 9, 0.35);
}

.tool-btn-blue {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.28);
}
.tool-btn-blue:hover {
    background: #1e40af !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.35);
}

.tool-btn-green {
    background: #047857 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.28);
}
.tool-btn-green:hover {
    background: #065f46 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(4, 120, 87, 0.35);
}

.tool-btn-rose {
    background: #9d174d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(157, 23, 77, 0.28);
}
.tool-btn-rose:hover {
    background: #831843 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(157, 23, 77, 0.35);
}
